wushilian / CRNN_Attention_OCR_Chinese

CRNN with attention to do OCR,add Chinese recognition
334 stars 114 forks source link
attention crnn lstm ocr seq2seq-attn

CRNN_Attention_OCR

CRNN with attention to do OCR,Chinese ocr in Chinese branch

network model

CRNN is base CNN,and BiLSTM with 256 hidden_units is encode network ,GRU with 256 hidden_units is decode network

how to use

put your image in 'train' dir,and image name should be like "xx_label_xx.jpg",Parameters are set in config.py,
and then just run the train.py

Dependency Library

TensorFlow >=1.2
opencv