识别图片中的文本信息报错
已经通过pip install pytesseract安装了相应库
import pytesseract
from PIL import Image
# 读取图片
im = Image.open("test.png")
# 识别文字
string = pytesseract.image_to_string(im)
print(string)
报错信息:
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'tesseract'
During handling of the above exception, another exception occurred: