I installed Tesseract OCR through Linux terminal, but when I tried to import it in Python, the error appeared:
/usr/bin/python2.7 /home/web/Documents/pnt/ocr.py
Traceback (most recent call last):
File "/home/web/Documents/pnt/ocr.py", line 1, in
import tesseract
ImportError: No module named tesseract
To check if you properly installed tesseract-ocr on the system. First try entering into your command line:
and/or
Now for the next step you need a wrapper for tesserect, such as pytesseract or python-tesseract, to import and use the ocr in python.