-
Notifications
You must be signed in to change notification settings - Fork 235
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
Inference individual Image for table detection #17
Comments
Is there any update on that? |
How can we extract data in rows/column format from the table image from the trained model? |
In the current version of the code, you can find the function that takes the model output and processes it into a table representation here: table-transformer/src/grits.py Line 727 in 3e1dd0c
|
hello ,I want to know if I used the Functiuon objects_to_cells ,How can I get the page_tokens if I will use a new Image input |
Right now the code is written to be used with the PubTables-1M dataset or any dataset in the same format. For each table image in PubTables-1M, there is also a JSON file with a list of words in the image, which is read in as You can have a look at the dataset to see examples of the format for At a minimum you'll need to fill in the |
@bsmock , Can you please add at least one example image with all the required data structures to make a working inference example? It would help to understand the format without downloading 110Gb of data. |
You can find some samples from here: |
Thank you, @suonbo , but in this location I can only see the .jpg images (and they are cropped tables, not whole pages). I am looking for example with data required in the inference example: python main.py --mode eval --data_type structure --config_file structure_config.json --data_root_dir /path/to/pascal_voc_structure_data --model_load_path /path/to/structure_model --table_words_dir /path/to/json_table_words_data specifically, I need the config file (not in the repo!), pascal_voc_structure, table_words_dir (what's there?), json_table_words_data ... |
To anyone interested, I uploaded an example of the table structure recognition files here. It holds the annotation (pascal voc), the words (json) and the table image (.jpg) |
Has anyone figured how to run table detection alone ? |
NielsRogge made a notebook with examples |
Can you share some tutorial where the table is converted to csv or html? |
Hello, thank you for providing a simple case study. |
Hi, See #158 with updated notebooks and demos |
Hi authors,
I would like to visualize the result table detection for an specific Image. Which output in the code should I take out and modify in order to have coordianates of predicted bouding box to visualize it on the infered image?
The text was updated successfully, but these errors were encountered: