大家好,我刚刚安装了tesseract-ocr。但是当我开始使用它时。显示这种错误。我不知道该如何解决。请帮助我。
tesseract test.png test.txt
Tesseract Open Source OCR Engine v4.1.1 with Leptonica
Warning: Invalid resolution 0 dpi. Using 70 instead.
tesseract: symbol lookup error: /usr/local/lib/libtesseract.so.4: undefined symbol: pixGenerateHalftoneMask
您的leptonica版本已经过时(例如,更新leptonica)。