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

Add scale as an optional parameter for get_text_in_rect call #25

Closed
maxmnemonic opened this issue Aug 7, 2024 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@maxmnemonic
Copy link
Contributor

Backends pypdfium and docling_parse expose method - get_text_in_rect.
By given bbox user can receive programmatic PDF text.
We have page scale parameter that can be changed, and we need to introduce it as an optional parameter to get_text_in_rect, so that bbox coordinates can be correctly re-computed for text extraction in case scale is not 1.

@maxmnemonic maxmnemonic added the enhancement New feature or request label Aug 7, 2024
@PeterStaar-IBM
Copy link
Contributor

As discussed with @maxmnemonic @cau-git , not needed anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants