Add basic PDF parsing support (convert PDF pages to images)#20
Open
DoyoDia wants to merge 16 commits into
Open
Add basic PDF parsing support (convert PDF pages to images)#20DoyoDia wants to merge 16 commits into
DoyoDia wants to merge 16 commits into
Conversation
Co-authored-by: DoyoDia <79502694+DoyoDia@users.noreply.github.com>
Co-authored-by: DoyoDia <79502694+DoyoDia@users.noreply.github.com>
Co-authored-by: DoyoDia <79502694+DoyoDia@users.noreply.github.com>
Co-authored-by: DoyoDia <79502694+DoyoDia@users.noreply.github.com>
Co-authored-by: DoyoDia <79502694+DoyoDia@users.noreply.github.com>
Co-authored-by: DoyoDia <79502694+DoyoDia@users.noreply.github.com>
Co-authored-by: DoyoDia <79502694+DoyoDia@users.noreply.github.com>
…ity-again Add PDF parsing support with PyMuPDF
Co-authored-by: DoyoDia <79502694+DoyoDia@users.noreply.github.com>
…uality Co-authored-by: DoyoDia <79502694+DoyoDia@users.noreply.github.com>
…ersion Add multi-threaded PDF to image conversion with configurable worker pool
Add PDF parsing support with multi-page OCR processing
|
that's great,should be multi pdfs support. |
Owner
|
Thank you so much for this! I didn't see it though - I'm an idiot! I got claude to add PDF support - I think it works quite well anyway! |
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 PR adds a very simple PDF parsing feature.
It just converts PDF pages into images and sends them to the existing image OCR endpoint.
The implementation is quite basic — no optimization or advanced handling — but it works for simple cases.
Mainly a small extension to make PDF files usable without big changes.