我试图在Python中使用PyteSeract,但最终总是出现以下错误:
raise TesseractNotFoundError()
pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it's not in your path
但是,我的系统上安装了PyteSeract和Tesseract。
产生此错误的示例代码:
import cv2
import pytesseract
img = cv2.imread('1d.png')
print(pytesseract.image_to_string(img))
如何解决此TesseRactNotFound错误?