安装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