Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.23 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.23 KB

本项目基于yolo3crnn 实现中文自然场景文字检测及识别

环境部署

python=3.6 pytorch=0.2.0

git clone https://github.com/pjreddie/darknet.git
cd darknet
make 
cd ..
git clone https://github.com/chineseocr/chineseocr.git
cd chineseocr
sh setup.sh(cpu sh setpu-cpu.sh)

下载模型文件

将近期更新

mv models.zip  chineseocr
unzip models.zip 

web服务启动

cd chineseocr## 进入chineseocr目录
ipython app.py 8080 ##8080端口号,可以设置任意端口

识别结果展示

访问服务

http://127.0.0.1:8080/ocr

参考

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