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

  • A+
所属分类:安全博客
摘要

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

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: