基于python的数字印刷体识别_利用卷积神经网络识别印刷体中文
KGNN
利用卷積神經(jīng)網(wǎng)絡(luò)識別印刷體中文
項目初衷
之前我有開源過一個iOS的項目 ChineseIDCardOCR, 利用FFNN識別身份證信息,可是在識別中文的時候效果不佳。所以就有了這個項目利用CNN識別印刷體中文(訓(xùn)練好網(wǎng)絡(luò)參數(shù)以后,會應(yīng)用到另外一個項目)。由于訓(xùn)練調(diào)試神經(jīng)網(wǎng)絡(luò)需要一定的硬件支撐,現(xiàn)在將代碼開源出來希望有資源的同學(xué)可以幫忙訓(xùn)練。 好的廢話不多少來看這么 run 這個項目。
PS. 我寫python不多,如果在代碼組織或者書寫風(fēng)格方面有什么不對的地方, 希望大家批評指正。
Step1
安裝 python3.x 本項目基于Python 3.5.2
Step2
安裝深度學(xué)習(xí)框架 keras
Step3
生成訓(xùn)練數(shù)據(jù) python3 dataset.py
Step4
訓(xùn)練神經(jīng)網(wǎng)絡(luò) python3 training.py
Step5
測試識別 python3 predict.py
License
The code in this repository is licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
NOTE: This software depends on other packages that may be licensed under different open source licenses.
總結(jié)
以上是生活随笔為你收集整理的基于python的数字印刷体识别_利用卷积神经网络识别印刷体中文的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 美赛小队集训-2019年D题O奖讨论
- 下一篇: websocket python爬虫_p