0

我以前在Raspbian 中为dexter 行业的机器人pytesseract做一些文本识别。

如屏幕截图tesseract所示,我已经使用.sudo apt-get tesseract-ocr

tesseract-ocr版本_

>>> 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

pytesseractpython3承认。并不断获得

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."

4

0 回答 0