如何在 vscode 中正确执行 pytesseract?

问题描述 投票:0回答:0

来自 PIL 导入图像 导入 pytesseract

print(pytesseract.image_to_string(Image.open('sample.png')))


以上是我使用pytesseract识别文本的代码 但它显示错误作为附加图像 我该怎么办?enter image description here


python python-tesseract
© www.soinside.com 2019 - 2024. All rights reserved.