Skip to content

Recognize tables from images and restore them into word.

Notifications You must be signed in to change notification settings

DamonYangyang/Table-OCR

 
 

Repository files navigation

TableRecognition

Recognize tables from images and restore them into word.

How to run

  1. python server.py
    Load the unet model to extract table lines from the input image
  2. python test.py
    Feed the input image
  3. python image2word.py
    Restore table use opencv & python-docx

Tips

Step 1 & 2 are not necessary if you have quite neat PDF images, meanwhile this project can't deal with some complex samples like tortuous and colorful receipts, I am still working on it.

To do

I am handling table recognition like this image, struggling with the dataset. Optimistically, there could be a radical change in weeks. If you are researching page layout and table recognition, please contact me.[email protected]

Reference and some useful projects

  1. https://github.com/chineseocr/table-ocr.git
  2. https://github.com/weidafeng/TableCell.git
  3. 腾讯表格识别方案简述
  4. OpenCV-检测并提取表格

About

Recognize tables from images and restore them into word.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%