Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mismatching of table headers #14

Open
vikas-singh16 opened this issue Jun 10, 2024 · 4 comments
Open

Mismatching of table headers #14

vikas-singh16 opened this issue Jun 10, 2024 · 4 comments

Comments

@vikas-singh16
Copy link

hi, thanks for making such a good repo for such a challenging problem.

I am encountering a constant issue of mismatching of table columns header. while exploring this issue in depth, I can across a fucntion called "build_table_from_html_and_cell".

I don`t know whether it is due to this function or something else.

Please can u tell me how is it you are merging the html output and cell output. What logic you are using?

For your reference
Input Image
Advent_Tool_ATM_38A6PV_Catalog_0tb_0

Output
Screenshot from 2024-06-10 12-02-13

There are some cases where the result is much worse than this.

@yumikim381
Copy link

yumikim381 commented Jun 11, 2024

If i understood correctly there are as many cell output (text) as bounding boxes. So given a list of cell outputs and bounding boxes, the function just goes through the lists and pop one element each from both list. Maybe reading their paper helps to understand better.

@vikas-singh16
Copy link
Author

Thanxs for the reply. but what i mean to say is if you look at the input image header and output image header, you will notice a mismatch of headers. Is there a way to fix it?

@yumikim381
Copy link

I m testing out this repo for next days as well, if i find anything that could help resolving this issue, i ll let you know :)

@gjgjh
Copy link

gjgjh commented Nov 6, 2024

Although the number of cell output text and bbox are the same, the number of cells in the html structure output does not necessarily match the other two, which may result in the bad result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants