Closed asmiy closed 5 years ago
@asmiy Yes, this is the expected behavior for the Stream flavor. It doesn't take into account any lines that may separate table rows, and forms rows based on how the text is organized to form a table, leading to different text rows being treated as different table rows.
@vinayak-mehta is there any option so it can take into account table lines?
Currently, there isn't an option which takes into account only horizontal lines with stream
. You can add a post-extraction step where you merge two rows together if the second row contains a string only in the first column, as seen here.
Please close this if your issue was solved.
@vinayak-mehta could you pls write a sample code for that "post extraction step" you mention many thanks
When I try to extract table from pdf, camelot transforms rows with multiple lines to multiple rows. The pdf file : 8.pdf
I'm using stream as flavor and table_areas to detect the table.