安装git:Git - Downloading Packagehttps://git-scm.com/download/win
1.pip install keras_ocr
2.通过pip从Git或中央仓库进行安装:
pip install git+https://github.com/faustomorales/keras-ocr.git#egg=keras-ocr
3.安装依赖库(不安装会报错):
pip install tensorflow (-i 源) *2022-04-20 下载437.9M
4.python 运行以下程序,继续下载部分
-
import keras_ocr
-
pipeline = keras_ocr.pipeline.Pipeline()
*其他正在测试中
完整案例转载自他出:https://www.jb51.net/article/242486.htm
注:现在国内比较有名的镜像库有:
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/
山东理工大学:http://pypi.sdutlinux.org/
豆瓣:http://pypi.douban.com/simple/



