diff --git a/owocr/run.py b/owocr/run.py index 4e0c724..c82ccd0 100644 --- a/owocr/run.py +++ b/owocr/run.py @@ -641,7 +641,7 @@ class TextFiltering: for j in range(len(current_lines_ocr)): if i == j: continue - if not current_lines[j].replace('\n', ''): + if not current_lines[j]: continue other_line_text = current_lines[j]