pytesseract为什么无法识别我的图像?

时间:2020-06-26 20:31:21

标签: python image-processing python-tesseract

我目前面临pytesseract问题,该软件无法在此图像中检测到数字:

text not detected

它可以检测到该图像中的文本:

text detected

这是我的代码:

pytesseract.pytesseract.tesseract_cmd=r"C:\Program Files (x86)\Tesseract-OCR\tesseract.exe"
img=Image.open('f_test.png')
text=pytesseract.image_to_string(img)
print(text)

0 个答案:

没有答案
相关问题