kekkok
kekkok

Reputation: 11

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?

Upvotes: 0

Views: 1279

Answers (2)

kekkok
kekkok

Reputation: 11

Thank you for the suggestion. I solved it by changing the environment variables.

Upvotes: 0

Akib Khan
Akib Khan

Reputation: 126

  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'

Upvotes: 1

Related Questions