Answer the question
In order to leave comments, you need to log in
Why doesn't Pytesseract recognize the simplest black and white number?
It is necessary to recognize the number from the picture, processed the picture as much as possible, the result:
From this:
Got this:
With these configurations (changed oem, psm, lang, removed and added whitelist):
num1 = pytesseract.image_to_string(black_white, lang=None, config=' --psm 10 --oem 3 -c tessedit_char_whitelist=0123456789')
required number was not output
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question