项目作者: Mignet

项目描述 :
汉字手写识别
高级语言: Python
项目地址: git://github.com/Mignet/chinese-write-handling-char-recognition.git


handwritten chinese recognition

汉字手写识别

数据集

数据集来自于中科院自动化研究所,具体下载地址:
http://www.nlpr.ia.ac.cn/databases/download/feature_data/HWDB1.1trn_gnt.zip
http://www.nlpr.ia.ac.cn/databases/download/feature_data/HWDB1.1tst_gnt.zip

这个训练集和测试集是经过压缩的图片,需要解压出来转换图片,这里是转换好的文件包:https://pan.baidu.com/s/1o84jIrg
数据集

构建神经网络

网络

训练

run the command python chinese_rec.py --mode=train --max_steps=16002 --eval_steps=100 --save_steps=500

模型评估

run the command python chinese_rec.py --mode=validation
accuracy

测试

把要识别的图像丢到tmp目录下就行了
run the command python chinese_rec.py --mode=inference
result