How do I resolve a TesseractNotFoundError?

前端 未结 22 2099
情话喂你
情话喂你 2020-11-28 05:14

I am trying to use pytesseract in Python but I always end up with the following error:

    raise TesseractNotFoundError()
pytesseract.pytesseract.TesseractNo         


        
22条回答
  •  -上瘾入骨i
    2020-11-28 05:31

    You can download tesseract-ocr setup using the following link,

    Tesseract for windows

    Then add new variable with name tesseract in environment variables with value C:\Program Files (x86)\Tesseract-OCR\tesseract.exe

提交回复
热议问题