基于python的数字印刷体识别_利用卷积神经网络识别印刷体中文
KGNN
利用卷積神經網絡識別印刷體中文
項目初衷
之前我有開源過一個iOS的項目 ChineseIDCardOCR, 利用FFNN識別身份證信息,可是在識別中文的時候效果不佳。所以就有了這個項目利用CNN識別印刷體中文(訓練好網絡參數以后,會應用到另外一個項目)。由于訓練調試神經網絡需要一定的硬件支撐,現在將代碼開源出來希望有資源的同學可以幫忙訓練。 好的廢話不多少來看這么 run 這個項目。
PS. 我寫python不多,如果在代碼組織或者書寫風格方面有什么不對的地方, 希望大家批評指正。
Step1
安裝 python3.x 本項目基于Python 3.5.2
Step2
安裝深度學習框架 keras
Step3
生成訓練數據 python3 dataset.py
Step4
訓練神經網絡 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.
總結
以上是生活随笔為你收集整理的基于python的数字印刷体识别_利用卷积神经网络识别印刷体中文的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 美赛小队集训-2019年D题O奖讨论
- 下一篇: python图片ocr识别手写印刷体中英