Giter Site home page Giter Site logo

oreco's Introduction

一个基于caffe和OpenCV,高效、精确的OCR(图片文字识别)工具,支持多图片并发处理。

环境要求 Python 2.7 Caffe latest redis 3.x OpenCV3.x

1、基础配置

修改config.py,最起码你要修改CAFFE_ROOT和REDIS配置

2、开关服务

python2.7 bin/rec-ctl.py start|stop|restart

3、调用方式

命令行直接调用(你可以把recognizer放到任何你想要的地方)

python2.7 recognizer.py img1 img2 img3 ...

api调用

import sys
sys.path.insert(0, 'recognizer path')
from recognizer import get_text

image_path_list = [...]
ret = get_text(image_path_list)
print ret

4、使用效果

单图片识别效果

多图片识别效果

oreco's People

Contributors

yxt714245005 avatar

Watchers

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