get a more "general" bbox #2407
Unanswered
houda-w
asked this question in
Looking for help
Replies: 1 comment 6 replies
-
It seems your reading of the documentation is incomplete - understandable as this is a 500 Letter pages PDF document 😉😎.
You only included an image of some page - not the PDF page itself, so I cannot decide what we are looking at: standard text, text within images, vector graphics, a mixture of things, or what. You can extract bboxes for all of these object types as mentioned. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I recently discovered the pymupdf library and I am still struggling to wrap my head around some concepts. Yesterday I tried to get the layout of my pdf page (aka bounding boxes of text) however I can't seem to get where I want. the default bbox option clearly only concerns each text line and not a text box. To explain myself better , the picture below , the green boxes, are the result of drawing rects over each "block" , however what I would like to achieve is the red boxes.
is this achievable using pymupdf ? if so how?
(the last pic is the original doc)


Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions