/OCR-CNN-LSTM-CTC

ocr, cnn+lstm+ctc, crnn, recognition model, tensorflow

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

OCR-CRNN-CTC

cnn + lstm/gru + ctc (CRNN) for image text recognition

example results

aaa_recog_test_results

decription

To run this repo:

1, python data_generator.py 0       # to generate validation data

2, python data_generator.py 1       # to generate training data

3, python script_recog.py       # to train and validate

reference

The model is mainly based on the method described in the article:

An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition

Baoguang Shi, Xiang Bai, Cong Yao

https://arxiv.org/abs/1507.05717


We thank Jerod Weinman for make his code available: https://github.com/weinman/cnn_lstm_ctc_ocr