标签: 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)