At first I thought your problem is that you left a frame around the words - that IS a problem often - but I ran Tesseract on both images and got perfect results both times. However, the app I am using (ScanBizCards) resizes small images such as yours to around 1,024 x 768 and that's the test I ran. Try upsizing your image with resampling to a larger size.
Patrick On Tue, Sep 17, 2013 at 11:34 AM, Malcolm Poole <[email protected]> wrote: > > > On Monday, September 16, 2013 4:27:22 PM UTC+1, Abhishek Mitruka wrote: >> >> I have attached a colored image and its gray version with with this topic. >> I wrote this command in the command prompt. >> *tesseract images.jpg output* >> >> It gave an error: *Empty page!!* >> >> >> But then I converted this coloured image to a gray image and the again >> run tesseract on it. >> Then this is the output I got. >> >> *'rwI:N'rYslx* >> * >> * >> *GASOLINE* >> * >> * >> *STATIONS* >> >> I want to know how to use tesseract for colored images and whether I was >> making any mistake while using it. >> > >> >> I wrote this command in the command prompt. >> *tesseract images.jpg output* >> >> It gave an error: *Empty page!!* >> >> >> But then I converted this coloured image to a gray image and the again >> run tesseract on it. >> Then this is the output I got. >> >> *'rwI:N'rYslx* >> * >> * >> *GASOLINE* >> * >> * >> *STATIONS* >> >> I want to know how to use tesseract for colored images and whether I was >> making any mistake while using it. >> > > I get the same result with the colour image and a slightly better result > with the gray image: > > 'rwENTYslx > > GASOLINE > > STATIONS > > The letters are quite small and I was surprised that tesseract was so > successful: a resolution of 300dpi is normally recommended for input. > > I made a test file using a red font and larger text and tesseract was able > to read it but not very well. The short answer seems to be: Tesseract works > better with grayscale images. > > -- > -- > 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. > -- Patrick Questembert, *ScanBizCards* +1-917-250-4177 | www.scanbizcards.com twitter.com/ScanBizCards | www.facebook.com/ScanBizCards Just released: Power Contacts - http://itunes.apple.com/us/app/power-contacts/id476986356?mt=8 -- -- 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.

