yangheng111 / darknet-ocr

darknet text detect and darknet cnn ocr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

实现功能

  • CPU版本最短边608时,检测速度小于1秒;
  • 支持GPU
  • 支持darknet直接训练CTPN(整理中);
  • 支持darknet直接训练CNN+CTC ocr(整理中);

下载text.weights模型文件

模型文件地址:

拷贝text.weights文件到models目录

编译对GPU的支持

sh make-gpu.sh

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

cd darknet-ocr
python3 app.py 8080

访问服务

http://127.0.0.1:8080/text

识别结果展示

参考

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

About

darknet text detect and darknet cnn ocr


Languages

Language:C 43.2%Language:Python 36.5%Language:JavaScript 10.6%Language:Makefile 4.3%Language:HTML 4.2%Language:CSS 1.0%Language:Shell 0.2%