Hello, Tesseract 4 isn't designed for digit recognition, Tesseract 4 identifies relationship between digits and then predicts the word/ sentence as a whole
Regards Ajinkya Creator of AI Scanner https://imagescanner-online.com/ On Thursday, 15 July 2021 at 18:48:29 UTC+5:30 [email protected] wrote: > Hi, > > I'm n00b for tesseract and wondering how I can solve my issue. > > I'm trying to capture digits on gaming screenshots to track damages in a > game and here is an example image of the digits. > > [image: sample.png] > > Then I did `preprocess` the image (remove noises by thresholding) as > follows: > > [image: processed-res.png] > > Then I pass it to tesseract (tesseract 4.1.1-rc2-25-g9707) but it doesn't > recognize as 115 but as `ns` > > $ tesseract -l eng --psm 6 --dpi 300 -c > tessedit_char_whitelist="0123456789" processed-res.png - > > $ tesseract -l eng --psm 6 --dpi 300 processed-res.png - > nS > > Anyone can advise me how to recognize digits? I don't have a font file for > digits so wondering what else I can take.... > > Thanks! > -- 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/55e34379-a4c0-4aeb-aae4-95de4e1abaf4n%40googlegroups.com.

