outside_bbox is working properly? #1163
Closed
jicastillow
started this conversation in
Ask for help with specific PDFs
Replies: 2 comments
-
Hi @jicastillow, you're not doing anything wrong at all. The method For your goal, the first block of code you have should work, with one tweak: im.draw_rects(map(lambda table: table.bbox, tables), fill="white") ... replacing |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @jsvine, thanks for your quick response, worked perfectly! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to use Page.outside_bbox to get the original PDF without the tables detected. I do something like this:
Showing the detected table in the PDF:
However then I try to use Page.outside_bbox to exclude the objects inside the table BBox,
page.outside_bbox(tables[0].bbox).to_image()
but none is excluded, aparently:
Can you please help me to know if I'm doing something wrong?
The idea is to get the same document but without the table on it.
Beta Was this translation helpful? Give feedback.
All reactions