Skip to content Skip to sidebar Skip to footer

No Module Named Tesseract

Working on an OCR. I can import pytesseract and use image_to_string but I want to work on this: api = tesseract.TessBaseAPI() api.SetVariable('tessedit_char_whitelist', '0123456789

Solution 1:

I ran into this problem while trying to run pytesseract in Pycharm. Make sure you have an environmental path var to the Tesseract folder. This way the program knows to use the tesseract.exe from the installed location.

This is what my path looks like:

Solution 2:

You can install tesseract by using below command

pip install tesseract

Post a Comment for "No Module Named Tesseract"