Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mh update pillow 2024 - Fix tests and extraction of invalid bboxes #42

Open
wants to merge 3 commits into
base: mh-update-pillow-2024
Choose a base branch
from

Conversation

kreuzberger
Copy link
Contributor

To get the update branch running, handling of bboxes from annotations should be improved.
If invalid bboxes are recognized, the bboxes are NOT used to extract text from annotations.
This would lead to expected exceptions in the used libraries.
Instead, ignore those boxes.
This had some issues with the tests, invalid bboxes could not be tested cause they are not extracted.
The internal structure of pdfplumber changed, figures are now images. Therefore tests must be adapted.

kreuzberger and others added 3 commits March 15, 2024 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant