I found the problem is the tif image. The following conversion solves the problem
convert test.tif new_test.pbm convert new_test.pbm new_test.tif It is described here : https://groups.google.com/forum/#!topic/tesseract-ocr/JDTwntGAwJI Thanks Murat On Mon, Jul 7, 2014 at 7:37 PM, zdenko podobny <[email protected]> wrote: > Please provide testing image that cause error. > > Zdenko > > > On Mon, Jul 7, 2014 at 10:24 AM, Murat Sabuncu <[email protected]> > wrote: > >> I have the same problem although everything seem to be ok. >> >> Tesseract -v output is : >> >> tesseract 3.02 >> leptonica-1.68 (Mar 14 2011, 10:43:03) [MSC v.1500 LIB Release 32 bit] >> libgif 4.1.6 : libjpeg 8c : libpng 1.4.3 : libtiff 3.9.4 : zlib 1.2.5 >> >> What might be the reason? >> >> 7 Mart 2012 Çarşamba 20:09:51 UTC+2 tarihinde Ivan Mushketik yazdı: >>> >>> Thank you very much. >>> I've installed devel packages and used this tutorial: >>> http://ubuntuforums.org/showthread.php?t=1647350 >>> >>> to install tesseract. >>> >>> 2012/3/7 zdenko podobny <[email protected]> >>> >>>> >>>> On Tue, Mar 6, 2012 at 6:20 PM, Ivan Mushketik <[email protected]> >>>> wrote: >>>> >>>>> Here is my output: >>>>> $ tesseract -v >>>>> tesseract 3.02 >>>>> leptonica-1.68 >>>>> >>>>> This means your leptonica have no support for image files. For good >>>> installation of leptonica you would see something like this: >>>> tesseract 3.02 >>>> leptonica-1.68 (Mar 14 2011, 10:43:03) [MSC v.1500 LIB Release 32 bit] >>>> libgif 4.1.6 : libjpeg 8c : libpng 1.4.3 : libtiff 3.9.4 : zlib 1.2.5 >>>> >>>> You must re-install leptonica (and probably before that you have to >>>> install devel packages of image libraries) >>>> >>>> >>>> >>>>> >>>>> 2012/3/6 Zdenko Podobný <[email protected]> >>>>> >>>>>> This is leptonica error message that indicate problem with image >>>>>> support. >>>>>> If you have version from today, please send output of: >>>>>> tesseract -v >>>>>> >>>>>> Zdenko >>>>>> >>>>>> Dňa 06.03.2012 15:42, Ivan Mushketik wrote / napísal(a): >>>>>> > Hello. >>>>>> > >>>>>> > I tried to run tesseract-ocr v 3.02 with the following params: >>>>>> > tesseract phototest.tif output >>>>>> > >>>>>> > but received: >>>>>> > Tesseract Open Source OCR Engine v3.02 with Leptonica >>>>>> > Error in findTiffCompression: function not present >>>>>> > Error in pixReadStreamTiff: function not present >>>>>> > Error in pixReadStream: tiff: no pix returned >>>>>> > Error in pixRead: pix not read >>>>>> > Unsupported image type. >>>>>> > >>>>>> > I also tried to use png file, but received similar output. >>>>>> > >>>>>> > Leptonica and libtiff are libraries installed. >>>>>> > How can I fix this problem? >>>>>> > >>>>>> > I am using Ubuntu 11.10 >>>>>> > >>>>>> > Thank you in advance. >>>>>> > >>>>>> >>>>>> -- >>>>>> 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 >>>>> >>>> >>>> -- >>>> 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]. >> >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/tesseract-ocr. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tesseract-ocr/5df9939d-8a33-4057-99a9-4736669058b9%40googlegroups.com >> <https://groups.google.com/d/msgid/tesseract-ocr/5df9939d-8a33-4057-99a9-4736669058b9%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "tesseract-ocr" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tesseract-ocr/UEjyyg_j8Xc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/tesseract-ocr. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xyuCep%3D8wCckfTJ9et5RKC2U4UYjeMCbHJqH0_B7U_Yw%40mail.gmail.com > <https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xyuCep%3D8wCckfTJ9et5RKC2U4UYjeMCbHJqH0_B7U_Yw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAED8zSFro4zVdA81gsxkBGfiogLeBMLQsYT5qHfxopoYP727YA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

