This is fork from this repository.
This software implements the Convolutional Recurrent Neural Network (CRNN) in tensorflow.Origin software could be found in crnn
A demo program can be found in inference.sh
. Before running the demo,you should change paths.
The demo reads an example image and recognizes its text content.
- Create .txt file with
path_to_jpg_image path_to_txt_file_iwth_label_for_image
contents(see dataset/train_list.txt
example). Each image contains 1 word and text file with label contains 1 string.
-
Use
dataset/create_dataset.py
to convert your dataset to tfrecord (dont forget change alphabet) -
Change model parameters in
train.py
-
Train your model with
train.py
-
Use
export_model.sh
to freeze your graph.