Hi, > I try to get tesseract reading numbers (1 digit) from single png files. > > It's working pretty well for 5, 6, etc. but for 8, it gives me : instead... > which make sense. So I want to tell it what is the background color. That way > it will know what is the number, what is the background.
The first thing to do would be to tell Tesseract you're only interested in digits: https://code.google.com/p/tesseract-ocr/wiki/FAQ#How_do_I_recognize_only_digits? > I tried to revert the background and the foreground of the picture but got the > same result. The background should be white, the foreground black. But from the attached image it looks like it already is, so there's no need to change that. Nick -- -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en --- 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]. For more options, visit https://groups.google.com/groups/opt_out.

