Need help with SpikeFlow?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

129 Stars 51 Forks MIT License 10 Commits 2 Opened issues


Chinese OCR with TensorFlow

Services available


Need anything else?

Contributors list

# 345,440
10 commits


A Chinese OCR with TensorFlow

*** Warning: The source codes in this repository may not work well with the latest version of Tensorflow. ***

To play around, follow these steps:

1/ Use Ocropy to generate Chinese character images. linegen is the tool used. You will need a font file. Put the images under folder

2/ Run to generate the labels on images.

3/ Run tf/ to convert the images and labels in Tensorflow format.

4/ Modify the tf/ for the characters you want to recognise.

5/ Run tf/ to train a model. The training will save a checkpoint on a regular interval.

6/ In receipt, run the to generate the images which may contain Chinese characters. You will have a "bw" folder containing all images. Run: python {image filename}

7/ Test the model by running: python {the name of your model} {the image to be recognised}




We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.