Convert page.get_drawings() lines to rect #2513
Unanswered
maimaik05
asked this question in
Looking for help
Replies: 1 comment 1 reply
-
The dictionaries returned by |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I have a pdf that I am trying to extract the coordinates of the outline out of, to get the coordinates of the outer rectangle if possible. When I use page.get_drawings(), I mostly get path['items'] that are lines, not rects or quads, which doesn't exactly help with what I need. The shapes are not exact rectangles and squares (imagine the outlines of rooms on a floorplan) so I'm wondering if this is even possible? Even just a rectangle overlapping the outlines would do. Unfortunately I'm not able to provide an example, so if you need more information please let me know. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions