outside_bbox is working properly? #1163
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.
-
Hi @jsvine, thanks for your quick response, worked perfectly! |
Beta Was this translation helpful? Give feedback.
-
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