atlanhq / camelot

Camelot: PDF Table Extraction for Humans
https://camelot-py.readthedocs.io
Other
3.65k stars 357 forks source link

Is there any way to get the coordinates of full table ? #309

Closed rhlr closed 5 years ago

rhlr commented 5 years ago

As per the documentation,I can get the coordinates of each cell. But is it possible to readily get the coordinate of the full table without interpreting it from the cells ?

anakin87 commented 5 years ago

You can get table boundaries from the attribute _bbox.

For example: tables[0]._bbox

returns: (26.752468604, 327.1792077589937, 583.23248451184, 702.5663924296314)

vinayak-mehta commented 5 years ago

Correct!