Skip to content Skip to sidebar Skip to footer

Pytesseract Struggling To Recognize Clean Black And White Pictures With Font Numbers And 7 Seg Digits(python)

I've been trying to get tesseract to recognize the numbers on this image: but when running the script the output is empty meaning it can't Any idea how to make it work? it doesn'

Solution 1:

Tesseract is very sensitive to the image borders, so adding about 20 pix border around your filtered image will solve the issue.

Regarding 7-segment font as stated in tesseract issue - LSTM (tess 4.*) might not be the best approach and there are different libraries which can handle this better. You can try this tessdata for tesseract 3.4;

Post a Comment for "Pytesseract Struggling To Recognize Clean Black And White Pictures With Font Numbers And 7 Seg Digits(python)"