EAST: An Efficient and Accurate Scene Text Detector安装

来源:互联网 发布:如何使用广电网络电视 编辑:程序博客网 时间:2024/06/08 03:35

code地址:https://github.com/argman/EAST

1、python3下安转opencv

2、安装tensorflow

pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0-cp34-cp34m-linux_x86_64.whl#或者,使用源pip install -i https://pypi.mirrors.ustc.edu.cn/simple/ --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0-cp34-cp34m-linux_x86_64.whl

2、运行

python eval.py --test_data_path=/home/ly/EAST-master/demo_images/ --checkpoint_path=/home/ly/EAST-master/resnet_v1_50.ckpt --output_path=/out/

报错,没有shapely

pip install shapely

报错,没有scipy

pip install scipy
error: library dfftpack has Fortran sources but no Fortran compiler found

参考http://www.cnblogs.com/cj695/p/5216028.html

sudo apt-get install gfortran

再次

pip install scipy

等好久安装OK..
再次python eval.py
报错,没有matplotlib

pip install -i https://pypi.mirrors.ustc.edu.cn/simple/ matplotlib
阅读全文
0 0
原创粉丝点击