Skip to content

ChunhuiWang-China/darknet-ocr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python版本(3.6)

实现功能

  • 文字检测;
  • 文字识别;
  • 支持GPU/CPU,CPU优化(opencv dnn);
  • 文字方向检测(4分类模型);
  • 支持PDF文档识别;
  • 文字检测训练;
  • CNN+CTC ocr训练;
  • 多语言( 藏语、蒙古语、 朝鲜语、 日本语、 韩语);

模型文件(参考models目录)

下载地址:http://www.chineseocr.com:9990/static/models/darknet-ocr/

编译对GPU的支持

## cpu 
cd darknet && cp  Makefile-cpu Makefile && make
## GPU
cd darknet && cp  Makefile-GPU Makefile && make

web服务启动(支持文件上传及URL图像)

cd darknet-ocr
python3 app.py 8080

访问服务

http://127.0.0.1:8080/text

识别结果展示

参考

  1. darknet https://github.com/pjreddie/darknet.git
  2. ctpn https://github.com/eragonruan/text-detection-ctpn
  3. CTPN https://github.com/tianzhi0549/CTPN
  4. chineseocr https://github.com/chineseocr/chineseocr

技术支持合作

mail:chineseocr@hotmail.com

About

darknet text detect and darknet cnn ocr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 89.7%
  • Cuda 5.7%
  • Python 2.9%
  • JavaScript 0.6%
  • C++ 0.5%
  • HTML 0.3%
  • Other 0.3%