Support Batch Conversion - #449
Merged
Merged
Conversation
This is a major change covering multiple topics: Support Batch Conversion: Convert multiple files to MD, Text or JSON Support multiple versions of RapidOCR Support of HTML table output for MD and JSON conversion. Multiple unrelated fixes. Various fixes * Fixes #447 * Fixes #446 * Fixes #445 * Fixes #444 * Fixes #443 Support marina's convert to PDF: If we run under Office, convert Office documents to PDF before processing. Update setup.py to require psutil
JorjMcKie
force-pushed
the
batch-converter-extended
branch
from
July 25, 2026 12:40
6c0d602 to
de84a31
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a major change covering multiple topics:
Support Batch Conversion:
Convert multiple files to MD, Text or JSON, via either Python functions or in CLI mode.
Support multiple versions of RapidOCR:
RapidOCR-ONNXRuntime and RapidOCR version 3.9.x
Support of HTML table output for MD and JSON conversion.
Unrelated fixes
get_raw_linessplits and reorders physical lines that contain a superscript #446fallback_text_to_textcrashes on unrecognized tables with >100 spans in a row (maxcolwidths=0) #445tesseract_api.exec_ocrdestroys the electronic text layer on mixed pages #444get_culled_pixmap.get_pixmapreturns a pixmap with wrong DPI metadata; tesseract picks wrong columns #443Support marina's conversion to PDF:
If we run under PyMuPDF-Office, convert Office documents to PDF before processing.
This will enable OCR for these files.