roi = cv2.resize(roi, None, fx=2, fy=2) _, roi = cv2.threshold(roi, 128+64, 255, cv2.THRESH_BINARY) roi = cv2.GaussianBlur(roi, (3,3), 0) text_detected = image_to_string(roi, config="--psm 10 --oem 3 tessedit_char_whitelist=0123456789", )
-- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/2ca084e4-aae6-423e-b359-a472e00579e6%40googlegroups.com.

