I’m using pytesseract
to do some text recognitions in Raspbian for Robots of dexter industries.
I’ve installed tesseract
as can be seen in the screenshot using sudo apt-get tesseract-ocr
.
The tesseract-ocr
version
>>> tesseract 3.04.01
libgif 5.1.4 : libjpeg 6b (libjpeg-turbo 1.5.1) : libpng 1.6.28 : libtiff 4.0.8 : zlib 1.2.8 : libwebp 0.5.2 : libopenjp2 2.1.2
But pytesseract
of python3
isn’t recognizing. and keep getting
Traceback (most recent call last):
File "textRecognition.py", line 1, in <module>
import pytesseract
File "/home/pi/.local/lib/python3.5/site-packages/pytesseract/__init__.py", line 2, in <module>
from .pytesseract import ALTONotSupported
File "/home/pi/.local/lib/python3.5/site-packages/pytesseract/pytesseract.py", line 89
f"{tesseract_cmd} is not installed or it's not in your PATH."