记 tesseract is not installed or it's not in your path解决办法

没穿底裤 2021年1月20日02:42:44评论135 views字数 421阅读1分24秒阅读模式
摘要

tesseract 提示pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your path

tesseract

python 使用pytesseract出现的问题

提示pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your path

解决

找到pytesseract库里的pytesseract.py文件

找到:tesseract_cmd = 'tesseract'  改成:tesseract_cmd = r'D:/Program Files (x86)/Tesseract-OCR/tesseract.exe' 

也就是tesseract_cmd = r'Tesseract安装路径'

来源:http://www.safe6.cn/

本文由 safe6 创作,著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

记 tesseract is not installed or it's not in your path解决办法

本站的所有程序和文章,仅限用于学习和研究目的;不得用于商业或者非法用途,否则,一切后果请用户自负!! 最后编辑时间为: 2019-09-01

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
没穿底裤
  • 本文由 发表于 2021年1月20日02:42:44
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   记 tesseract is not installed or it's not in your path解决办法http://cn-sec.com/archives/247534.html

发表评论

匿名网友 填写信息