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

get_text_blocks bbox does not match the reality #142

Closed
homeant opened this issue May 26, 2024 · 2 comments
Closed

get_text_blocks bbox does not match the reality #142

homeant opened this issue May 26, 2024 · 2 comments

Comments

@homeant
Copy link

homeant commented May 26, 2024

page bbox:
[0, 0, 596, 842]

blocks:
[0.08315436472028694, 0.02482144679706057, 0.4591443362652055, 0.04149600502430968]
[0.7733221374102087, 0.9284518824054057, 0.9277516819486682, 0.9649548677820491]

@homeant
Copy link
Author

homeant commented May 27, 2024

Resolved the issue where the bounding box (bbox) could not be modified because a new dictionary was being recreated due to a block.

fix: VikParuchuri/pdftext#4

@VikParuchuri
Copy link
Owner

Thank you for raising this issue - I've fixed it in pdftext and marker. Will release the marker update soon. (thanks for the pdftext fix, but I ended up fixing it a slightly different way).

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

No branches or pull requests

2 participants