It look like there are problems with either reading tif image with tesseract or in image conversion process with ImageMagick. The image is generated from pdf file and is cropped. I changed from tif to png format and it looks like the problem is solved.
On Oct 18, 7:45 pm, zdenko podobny <[email protected]> wrote: > unsupported image type. > On windows only debug version of Leptonica library produces error messages > to terminal (e.g. you should build tesseract against debug version of > leptonica if you want to see error messages produced by leptonica). Have a > look at [1]. > > On linux I see this: > > Tesseract Open Source OCR Engine v3.01 with Leptonica > Error in pixReadFromTiffStream: spp not in set {1,3,4} > Error in pixReadStreamTiff: pix not read > Error in pixReadStream: tiff: no pix returned > Error in pixRead: pix not read > Unsupported image type. > > [1]http://code.google.com/p/leptonica/issues/detail?id=42&can=1 > > On Tue, Oct 18, 2011 at 5:28 PM, Kristaps <[email protected]>wrote: > > > > > > > > > Can someone please tell me if there is anything wrong with this > > particular image? > >http://www.mediafire.com/?nol2h4oppycii0p > > Ive installed tesseract 3.01 on win7 machine. First i tried to read > > phototest.tif from tessdata folder and got result txt file. But when i > > am trying to read my a.tif i get "tesseract has stopped working" > > message. > > The command i am using is: tesseract a.tif aresult -l eng > > > Any help will be apriciated. > > > -- > > 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 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

