EasyOCR
EasyOCR copied to clipboard
It does not see the upper most line of text.
If I OCR the attached image it does not see or orc the top line. It just ignores it. Maybe there is a "margin" problem?
Can you send your code?
Working for me:
import easyocr
reader = easyocr.Reader(['en'], verbose=False, gpu=False) # this needs to run only once to load the model into memory
result = reader.readtext('doesnt_see_margin_text.png', detail=0)
print(result)
Output:
['Birgit Pfitzmann, Christoph Auer; Michele Dolli, Ahmed $ Nassar; and Peter', 'Staar: 2022. DocLayNet: A Large Human-Annotated Dataset for Document-', 'Layout Analysis', 'Proceedings of the 28th ACM SIGKDD Conference on', 'Knowledge Discovery and Data', "(KDD '22), August 14-18, 2022,", 'Wash', 'ington, DC; USA ACM, New York', 'NY', 'USA,', 'pages https:/ /doi.org/10.1145', '3534678.3539043', "Mining'"]