table-transformer icon indicating copy to clipboard operation
table-transformer copied to clipboard

Why did the row/column dilation get removed?

Open wandering-walrus opened this issue 3 years ago • 1 comments

The paper talks about doing row/column bounding box dilation to align the rows and columns and remove gaps. I see in the postprocessing.py code that this code has been commented out and removed.

    # Dilate rows and columns before final extraction
    #dilated_columns = fill_column_gaps(columns, table_bbox)
    dilated_columns = columns
    #dilated_rows = fill_row_gaps(rows, table_bbox)
    dilated_rows = rows

Is there a reason for this? Or is the bounding box dilation happening elsewhere in the code that I've missed?

wandering-walrus avatar Jan 05 '23 22:01 wandering-walrus

hi there 2 years later😅 did you happen to find anything about this that you happen to remember?

mohamedsaeed8223 avatar Mar 20 '25 15:03 mohamedsaeed8223