GithubHelp home page GithubHelp logo

ocr's Introduction

This is a glue project, which combine the project ctpn and crnn, actually, it is a pipe , the ctpn first detects the text zone for an image,then it will extract the small fragments, which contains all texts, then these fragments will send to crnn network, it will populate all texts.

The project use flask as its web server, and run with gunicorn gateway, here some issues when startup. There will be a exception to tell you tensorflow flags arguments error, the error is caused by gunicorn's argument will be parsed by tensorflow, too. The solutions is add them in tensorflow tf.app.flags.

The ocr can support you to send your image to us by 2 ways: base64 or http post, the result will be a picture drawn by all detected zones, and also texts recognized by crrn.

crnn json format

request json: [ {"img":"GHJKFGHJKFGHJKGHJKGHJK"}, {"img":"GHJKFGHJKFGHJKGHJKGHJK"}, {"img":"GHJKFGHJKFGHJKGHJKGHJK"}, {"img":"GHJKFGHJKFGHJKGHJKGHJK"}, {"img":"GHJKFGHJKFGHJKGHJKGHJK"}, ]

response json: { "sid":"6c8f999fe94", "prism_wordsInfo":[ {"word":"供审核使用1"}, {"word":"核实图片1"}, {"word":"供审核使用1"}, {"word":"核实图片1"}, {"word":"供审核使用1"}
] }

ocr's People

Contributors

piginzoo 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.