solivr / tf-crnn

TensorFlow convolutional recurrent neural network (CRNN) for text recognition
GNU General Public License v3.0
292 stars 98 forks source link

How to apply the code to Chinese #3

Closed WenmuZhou closed 7 years ago

WenmuZhou commented 7 years ago

if I want to apply the code to Chinese, how to modify the python script?

solivr commented 7 years ago

You need to change the alphabet. Create your own Alphabet in config.Alphabet (don't forget to add blank symbol as last character) and then initialise Params in train.py with your new Alphabet

WenmuZhou commented 7 years ago

I will try,thank you