Code Monkey home page Code Monkey logo

zhilu_ocr's Introduction

zhilu_ocr

代码结构

读取本地表格图片,将其按单元格拆解开来

read_picture 外层执行函数,将图片读取并执行拆解全过程

select_cell_conrours 内层函数,将各单元格的轮廓一一框选出来

text_contours 内层函数,将单元格中的文本内容框选出来,并切割存入本地

split_text 将文本切割成单字符

zhilu_ocr 使用训练所得的字库(如命名为yhj的字库),用来识别待识别文字

程序执行方式

执行test_read_picture.py中的test_read_picture函数即可在out_path中观察到结果

ocr识别教程

参见该链接内容:https://www.jianshu.com/p/8b4d789f234c

zhilu_ocr's People

Contributors

sidyph avatar

Watchers

James Cloos 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.