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.

