我是新来extraction.when文字我尝试使用pytesseract来提取PNG图像文本pytesseract,WindowsError:[错误2]系统找不到指定的文件
from PIL import Image
import pytesseract
s=Image.open('d:\\test.png')
print(pytesseract.image_to_string(s))
我得到错误的 这是图像问题(test.png)。test.png是号牌的图像。我是否需要安装其他任何东西。
你可以单独从image_to_string调用Image.open()调用,看看哪里错误发生? – tobspr
@tobspr尝试过,但仍然相同错误 – Emmanu
多数民众赞成在预期,问题是哪一行导致错误 – tobspr