Python Forum

Full Version: OCR in python to this image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i try to do OCR in python to this image (the number inside can change)
i try everything
tesseract
EasyOCR
but every method doing a lot of mistake

imge = cv2.imread('2233.png', 0)
imge = cv2.resize(imge, None, fx=0.5, fy=0.5)
config = "--psm 7"
imge = pytesseract.image_to_string(imge, config=config)
print(imge)