You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your work!
I tried to look at the document to find APIs to extract text bounding boxes but I could not. So I wonder do we support extracting text bounding boxes or not.
But it returns a tuple (int, int) (Start character index and count of the next occurrence) instead of a list of bounding boxes of the form (left, bottom, right, top) that is mentioned in README.
The text was updated successfully, but these errors were encountered:
So I wonder do we support extracting text bounding boxes or not.
Yes we do.
You'll want the PdfTextPage API, notably count_rects() and get_rect().
Sorry about the outdated readme comment, that API changed with v4. I'll fix that.
I guess you only looked at the readme and missed the docs on RTD, right?
Thanks for your work!
I tried to look at the document to find APIs to extract text bounding boxes but I could not. So I wonder do we support extracting text bounding boxes or not.
I tried with:
But it returns a tuple (int, int) (
Start character index and count of the next occurrence
) instead ofa list of bounding boxes of the form (left, bottom, right, top)
that is mentioned in README.The text was updated successfully, but these errors were encountered: