Giter VIP home page Giter VIP logo

table-ocr's Introduction

运用unet实现对文档表格的自动检测,表格重建

实现功能

  • 支持GPU,CPU(opencv dnn加速);
  • 整合darknet-ocr完成对表格的重建,输出json\excel

编译对GPU的支持

git clone https://github.com/pjreddie/darknet.git ../darknet cp Makefile ../darknet cd ../darknet && make

下载text.weights模型文件

模型文件地址: http://www.chineseocr.com:9990/static/models/table-ocr/table.weights

拷贝table.weights文件到models目录

测试

python3 table.py -jpgPath test/dd.jpg 

识别结果展示

### 横线竖线检测

### 单元格输出

参考

  1. darket https://github.com/pjreddie/darknet.git
  2. darknet-ocr https://github.com/chineseocr/darknet-ocr.git
  3. chineseocr https://github.com/chineseocr/chineseocr.git

table-ocr's People

Contributors

wenlihaoyu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.