Just to provide a feedback, option proposed is working well for my current needs.
Thanks. JM On Monday, January 27, 2014 10:17:09 AM UTC-5, [email protected] wrote: > > Hi Nick, > > Thanks for your prompt reply. > > I also need to get /, but lucky I am, I don't need : yet. > > The question is, what if I need to get : later? > > I will try the option with the you sent. For now it might be all good for > me. > > Regarding the picture I attached, I tried with the black on white and > white on black. But based on your reply I will keep the black on white. > > Thanks again! > > JM > > On Monday, January 27, 2014 10:11:13 AM UTC-5, Nick White wrote: >> >> 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.

