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