【发布时间】:2019-12-20 23:45:05
【问题描述】:
也许有人可以帮助我!当我运行以下代码时
导入 pytesseract 从 pytesseract 导入 image_to_string 从 PIL 导入图像 导入PIL
file = Image.open('/usr/local/Cellar/tesseract/4.1.0/share/tessdata/cap.png')
we_will = pytesseract.image_to_string(file)
print(we_will)
所有输出的是:
Process finished with exit code 0
这无济于事。我做错了什么?
【问题讨论】:
标签: python image-processing tesseract python-tesseract