You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
markitdown-ocr process non-text layer PDFs generate an MD document containing only page numbers #1863
markitdown-ocr process non-text layer PDFs, such as those converted from images or generated through scanning,It will generate an MD document containing only page numbers
the reason is , In the file "pdf_converter_with_ocr.py",first, by "markdown_content.append(f"\n"## Page{page_num}\n)" set a page Message,
but In the subsequent code logic, whether to perform full-page OCR based on whether the content is empty。
Due to the page number information in markdown_content, markdown_content is not empty, so it will skip OCR,finally,generate an MD document containing only page numbers
Reacted by Oleg Butovich, 宋翰星, jasonchrion, stone926 and Aayush D C Dangi
Activity