From 10d52b6e3925f6b92a748f0cede1fd29379af152 Mon Sep 17 00:00:00 2001 From: hiroi-sora <2230247019@qq.com> Date: Tue, 21 Nov 2023 08:55:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UmiOCR-data/py_src/ocr/tbpu/merge_para.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/UmiOCR-data/py_src/ocr/tbpu/merge_para.py b/UmiOCR-data/py_src/ocr/tbpu/merge_para.py index 24c5f96c..56f7ea05 100644 --- a/UmiOCR-data/py_src/ocr/tbpu/merge_para.py +++ b/UmiOCR-data/py_src/ocr/tbpu/merge_para.py @@ -34,8 +34,6 @@ def isSamePara(self, A, B): # 两个文块属于同一段落时,返回 True a, b = A["box"], B["box"] ay, by = a[3][1], b[0][1] if by < ay - ly or by > ay + lLine: - print("垂大", A["text"][:3], B["text"][:3]) - print(ay, by, ly, lLine) return False # 垂直距离过大 # 判断水平距离 lx = ah * self.mllhX