tesseract crashes on windows for this image

91 views
Skip to first unread message

George Papadopoulos

unread,
Sep 8, 2016, 6:38:47 AM9/8/16
to tesseract-ocr
Hello,

I am using the following version of tesseract on Windows 7. I have also tried Windows Server 2012 with the same results.

tesseract 3.04.01dev
 leptonica-1.71 (Jul 30 2015, 00:21:29) [MSC v.1800 DLL Release x86]
  libgif 4.1.6(?) : libjpeg 8c : libpng 1.4.3 : libtiff 3.9.4 : zlib 1.2.8

I am trying the attached image with:
tesseract.exe 1.tiff stdout -l eng

The result is that tessract crashes and the windows dialog "Tesseract engine has stopped working" appears. Other images seem to work fine. What is the problem with this specific image?

Thank you in advance

1.tif

Ashish Goel

unread,
Sep 9, 2016, 1:16:27 AM9/9/16
to tesseract-ocr
Size is the problem. I reduced its size (using imagemagick) and the error went away.

convert 1.tif -resize 70% 2.tif
Reply all
Reply to author
Forward
0 new messages