解決pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your path問題


解決方案:

  1. 找到python的安裝路徑下的pytesseract:   例如我的是  C:\develop\Python\Lib\site-packages\pytesseract
  2. .用文本編輯器打開,查找tesseract_cmd
  3. 將原來的   tesseract_cmd = 'tesseract' 改為:  tesseract_cmd = 'OCR的安裝路徑下的tessract.exe'

注意:有的地方需要轉義 ,重新進入項目,運行即可


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM