我用andconda 安装的是Python3.8的,安装Tesseract-OCR V4.0.0版本一直出现错误,后改用Tesseract-OCR V4.1.0 即可。
pytesseract.pytesseract.TesseractNotFoundError: C:\Program Files (x86)\Tesseract-OCR\tesseract.exe is not installed or it’s not in your PATH。

python 3.8版本和Tesseract-OCR V4.1.0版本安装
附上Tesseract-OCR 下载链接 :https://digi.bib.uni-mannheim.de/tesseract/
我下载的是这个
python 3.8版本和Tesseract-OCR V4.1.0版本安装

安装过程可参考其他博主,注意记住自己的安装路径。环境搭建下图所示
python 3.8版本和Tesseract-OCR V4.1.0版本安装
如果没有安装pytesseract模块 先安装黑窗口输入 pip install pytesseract
就是这个玩意
python 3.8版本和Tesseract-OCR V4.1.0版本安装
然后将pytesseract 程序里面的 tesseract_cmd 路径改为绝对路径。步骤如下,修改完就能在pycharm 上运行了。
python 3.8版本和Tesseract-OCR V4.1.0版本安装
python 3.8版本和Tesseract-OCR V4.1.0版本安装
python 3.8版本和Tesseract-OCR V4.1.0版本安装

相关文章:

  • 2022-01-12
  • 2021-06-21
  • 2021-11-28
  • 2022-02-09
  • 2021-04-25
  • 2022-01-06
猜你喜欢
  • 2021-06-21
  • 2022-03-15
  • 2021-05-24
  • 2021-10-21
  • 2021-06-24
  • 2021-10-31
相关资源
相似解决方案