python 手把手教你解决 TesseractNotFoundError: tesseract is not installed or it‘s not in your path

1. 错误原因

下载安装的 tesseract 的环境变量和pytesseract源文件中的相关路径没有配置好

2. 解决方案

2.1 添加环境变量

打开设置,搜索环境变量,点击新建,将安装好的 tesseract -OCR 的路径复制粘贴过来

python 手把手教你解决 TesseractNotFoundError: tesseract is not installed or it‘s not in your path

python 手把手教你解决 TesseractNotFoundError: tesseract is not installed or it‘s not in your path

2.2 修改pytesseract.py文件中的 tesseract_cmd 路径

python 手把手教你解决 TesseractNotFoundError: tesseract is not installed or it‘s not in your path
python 手把手教你解决 TesseractNotFoundError: tesseract is not installed or it‘s not in your path

3. 资源链接补充

tesseract – OCR下载地址:https://digi.bib.uni-mannheim.de/tesseract/

Original: https://blog.51cto.com/coderusher/5487615
Author: Coderusher
Title: python 手把手教你解决 TesseractNotFoundError: tesseract is not installed or it‘s not in your path

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/513385/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球