Skip to content

chinese+english+numbers ocr algorithm based on ctpn+crnn especially on Windows

Notifications You must be signed in to change notification settings

weidacn/ocr_ctpn_crnn_windows

 
 

Repository files navigation

ocr_ctpn_crnn_windows

Chinese+English+Numbers text-detection and text-recognization algorithms based on CTPN+CRNN especially on Windows

前言

我在github上找了半天关于中文ocr的代码,大部分都是linux环境下的,windows下运行的几乎没有。
费了好大功夫才将文本检测ctpn算法和文字识别crnn算法在windows运行,并将两者集合起来,形成一个
对一张照片的ocr识别。

运行环境

请阅读requirement.txt,其中tf和torch都需要,tf的版本要1.7.0不能安装最新的

测试

ctpn部分测试 --> crnn_test.py
crnn部分测试 --> ctpn_test.py
整体测试 --> test.py
“互联网+”比赛 --> for_internet.py 修改其中的单张测试部分的im_path,然后命令行运行即可

预训练模型

链接:https://pan.baidu.com/s/1Yjf3qMi82Qmy2vGTTuHZmA 提取码:i753

最终

如果有问题或者对ocr算法有改进建议,邮箱[email protected]

About

chinese+english+numbers ocr algorithm based on ctpn+crnn especially on Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.1%
  • Cuda 1.8%
  • Other 0.1%