GithubHelp home page GithubHelp logo

chinese_ocr_cnn-rnn-ctc's Introduction

CRNN(CNN+RNN+CTCLoss)

Text recognition

如何去测试

1.加载模型,将模型放入./model/中

download the model from https://pan.baidu.com/s/1yCxzZE0qugHL-FZRHeW3CA

2.向test_img_list中添加需要测试的图片列表

test_img_list = ['/home/tony/ocr/test_data/00023.jpg']

3.运行模型

python3 test_crnn.py

如何去train

1.处理train 数据集

python3 ./utils/make_data.py

2.训练网络

python3 train.py   
Prediction Image
忆王子山 1
李重元 2
萋萋芳草忆王孙。柳楼空断魂,未字声昏不无闲。欲黄昏,雨打我花 3
“闲门】 4
剑熊近 5
袁去华 6
夜来雨,赖倚得东风吹住。海棠正娥绕处,且留取。悄庭户,试细听莺啼 7
燕,分明共人愁绪,怕春去。佳树翠阴初转年。 8
重帘未卷,乍睡起,寂寞看风絮。偷弹清泪寄烟波,欲头故,为言憔 9
悴如许。彩笺无数,去却寒腰,到了深无是携。断月落日山暮。 10

chinese_ocr_cnn-rnn-ctc's People

Contributors

chizhanyuefeng avatar

Watchers

Allen avatar  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.