I use this to extract tables. I also extract text from non-table areas by creating a mask of the non-table areas using the bounding boxes of the tables.
for some images, Image.extract_tables does not seem to detect tables properly.
Here is an example image:
and this is the image after creating a mask of the non-table areas for regular text extraction
it is not detecting the first rows of both tables and the last row of the first table in the image.
I use this to extract tables. I also extract text from non-table areas by creating a mask of the non-table areas using the bounding boxes of the tables. for some images, Image.extract_tables does not seem to detect tables properly. Here is an example image:
and this is the image after creating a mask of the non-table areas for regular text extraction
it is not detecting the first rows of both tables and the last row of the first table in the image.