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)
模型文件地址:https://pan.baidu.com/s/1dEopm8VkFLuDDfVkpuzHqQ
或者可将yolo3模型转换为keras版本,详细参考https://github.com/qqwweee/keras-yolo3.git
mv models chineseocr
cd chineseocr## 进入chineseocr目录
ipython app.py 8080 ##8080端口号,可以设置任意端口