Skip to content
Advertisement

Error in the installation of tesseract ( pycharm python)

I have installed open-cv, jupyter … But i have problems with tesseract. I have installed tesseract application but i can’t install this on pycharm. Someone can help me?

Advertisement

Answer

  1. First you need to install the executable file. The link of downloading executable file on windows: https://github.com/UB-Mannheim/tesseract/wiki
  2. If you have already installed the executable file of tesseract then you can install it from the terminal of pycharm via pip.

pip install pytesseract

When running the program you need to specify the executable file location where you installed it for tesseract_cmd variable. For example:

pytesseract.pytesseract.tesseract_cmd = r'C:\Program Files\Tesseract-OCR\tesseract.exe'

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement