This commit is contained in:
AuroraWright
2025-10-22 21:31:19 +02:00
parent c98fb181e3
commit 5f52de4627
2 changed files with 2 additions and 2 deletions

View File

@@ -640,7 +640,7 @@ class TextFiltering:
for j in range(len(current_lines_ocr)):
if i == j:
continue
if not current_lines[j]:
if not current_lines[j].replace('\n', ''):
continue
other_line_bbox = current_lines_ocr[j].bounding_box

View File

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "owocr"
version = "1.19.1"
version = "1.19.2"
description = "Japanese OCR"
readme = "README.md"
requires-python = ">=3.11"