On Fri, Mar 25, 2011 at 5:40 PM, Lutz, Michael <[email protected]> wrote:
> Hi,
>
> I just ran your tif file, I get no results, it must have something to do
> with the size of the image. If I try to run a portion of tiff something
> smaller than 1000x1000 then I get results.
>
> Can somebody explain why a tif size (2480x3508 @ 8BPP) is not processed?
>
This is not tesseract but leptonica issue (library used for image handling).
When I run it on linux I got error message comming from leptonica (1.67 -> I
did not try 1.68 on linux yet):
Error in pixReadFromTiffStream: spp not in set {1,3,4}
Error in pixReadStreamTiff: pix not read
Error in pixReadTiff: pix not read
On Windows leptonica "release version" library did not show error/warning
messages because of compile option "NO_CONSOLE_IO" (see
http://code.google.com/p/leptonica/issues/detail?id=42).
It looks like leptonica did not support lzw compression for tiff ( see
http://www.leptonica.com/source/README.html "9. Image I/O" - lzw is
mentioned in png and gif section, but not with tif). I change
tif compression from lzw to zip (BTW: this will cause smaller image),
tesseract will produce ouput (on XP SP3).
Zdenko
Mike
>
>
>
> *Von:* Richard Genthner [mailto:[email protected]]
> *Gesendet:* Freitag, 25. März 2011 17:04
> *An:* Lutz, Michael
> *Cc:* [email protected]
>
> *Betreff:* Re: tesseract.exe has stopped working on win2008 r2
>
>
>
> Here is the screenshot and the tif file. Dmitri if you rename the .exe that
> should work. I'm trying to get the traning data up.
>
> ------------------------------
> This message is confidential and intended only for the addressee. If you
> have received this message in error, please immediately notify the
> [email protected] and delete it from your system as well as any copies.
> The content of e-mails as well as traffic data may be monitored by NDS for
> employment and security purposes.
> To protect the environment please do not print this e-mail unless
> necessary.
>
> An NDS Group Limited company. www.nds.com
>
> --
> 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.