Closed GoogleCodeExporter closed 9 years ago
Can you please provide testing image? I can try it in tesseract from svn.
Original comment by zde...@gmail.com
on 2 Mar 2012 at 7:25
I've attached the image, which is causing segfault.
Original comment by easternc...@gmail.com
on 2 Mar 2012 at 9:06
Attachments:
I can not reproduce problem. I tried it on Windows XP SP3 and it was without
problem. I tried it on Centos 5.7 (I do not have CentOS 6.2) with tesseract
3.01 and 3.00 and it worked...
So it does not seem to be tesseract problem.
Did you build tesseract by yourself or did you installed it from some package?
Can you send 'ldd /usr/local/bin/tesseract'?
Original comment by zde...@gmail.com
on 2 Mar 2012 at 1:45
Yes, I compiled it.
Following is the output from ldd:
$ ldd /usr/local/bin/tesseract
linux-gate.so.1 => (0x00c3d000)
libtesseract.so.3 => /usr/local/lib/libtesseract.so.3 (0x00292000)
liblept.so.2 => /usr/local/lib/liblept.so.2 (0x00110000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00ad0000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x007bb000)
libm.so.6 => /lib/libm.so.6 (0x00560000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0058a000)
libc.so.6 => /lib/libc.so.6 (0x005a8000)
libtiff.so.3 => /usr/lib/libtiff.so.3 (0x00738000)
/lib/ld-linux.so.2 (0x00f5c000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00ba6000)
libz.so.1 => /lib/libz.so.1 (0x0079a000)
Original comment by easternc...@gmail.com
on 2 Mar 2012 at 8:38
Just to confirm: have you installed the required language data files (which
were updated for v3.01)? I can reproduce this exact error (i.e., a SEGFAULT in
ComputeIntCharNormArray) if the "XXX.traineddata" (and associated files) aren't
present (or aren't readable in the expected location). The language-specific
training files are available from the downloads page.
Original comment by courtney...@gmail.com
on 18 Mar 2012 at 4:48
Hi,
Thanks, works like a charm after installing the language pack.
Can you please tell me how can I install all the languages pack?
Original comment by easternc...@gmail.com
on 18 Mar 2012 at 10:47
[deleted comment]
If you downloaded/used tesseract-3.01.tar.gz, than you have to download all
relevant files manually and install them manually.
Or you can use svn version: install svn and than run:
$ svn checkout http://tesseract-ocr.googlecode.com/svn/trunk/ tesseract-ocr
$ cd tesseract-ocr
and follow instruction in INSTALL.svn[1] But be aware: language data files are
more than 600MB!
[1] http://code.google.com/p/tesseract-ocr/source/browse/trunk/INSTALL.SVN
Original comment by zde...@gmail.com
on 18 Mar 2012 at 8:03
Original issue reported on code.google.com by
easternc...@gmail.com
on 1 Mar 2012 at 9:04