Skip to content

hainan89/TableGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TableGraph

Background

This is the prototype model and dataset of the TableGraph work. TableGraph is designed to automatically interpret and understand table data with parsing table images to table cell graphs. We believe graph would be the best representation style for all kind of table data. (Including Common Situation with Uniform Row and Column Indexes or Nested Situation with Uneven Row and Column Indexes)

Contribution

The key contribution of TableGraph is transforming table data interpretation to be a semantic segmentation issue. With that the complexity of table structure variation can be eliminated. Since no matter how complex of the table structure (especially for the nested situation), there would be three semantic classes (borderline, content, background).

Also, a comprehensive dataset is crucial to train such a semantic segmentation model. In addition of employing DeepLabv3+ as the backbone model to construct a robust interpretation model. A table image generation algorithm is designed, thus theoretically we can obtain unlimited training data. What interesting is that with doing so we do not need to annotate these table image data, since the semantic annotation mask can be simultaneously generated.

Content introduction

Here we publish our first try, now it includes three core parts:

(1) A table image and corresponding annotation mask image generation algorithm (./table-generation).

(2) A DeepLabv3+ based table image semantic segmentation model (./pytorch-deeplab-xception).

(3) A table image dataset (Due to the data upload limitation, the image dataset need to be generated by run ./table-generation/TableGeneration-V3.ipynb).

Note

We have to admit that this is very intuitive work. Although we have established some tests and obtained good results, there are limitations, and we are going to conduct further investigation. We hope it can be a systematic work in the near future.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published