-
gdb) set args sub.PFYB2U0256.tif hee
(gdb) run
Starting program: /usr/bin/tesseract sub.PFYB2U0256.tif hee
[Thread debugging using libthread_db enabled]
Tesseract Open Source OCR Engine
Program received signal SIGSEGV, Segmentation fault.
edge_char_of (dawg=0x7ffff7d89010, node=247836, character=45, word_end=0)
at dawg.cpp:63
63 if (edge_occupied (dawg, edge)) {
(gdb) bt...
2009-11-01 14:40:08 UTC by jcaldwel
-
Program received signal SIGSEGV, Segmentation fault.
edge_char_of (dawg=0x7ffff7d89010, node=247836, character=45, word_end=0)
at dawg.cpp:63
63 if (edge_occupied (dawg, edge)) {
I'll attach files if I can.
2009-11-01 14:36:41 UTC by jcaldwel
-
Yes psfales suggestion works perfectly.
I made the follwing change in tessedit.cpp
/* Code start here */
#if 0
int bytes_per_line = (image_width*bpp + 7)/8;
UINT8* dest_buf = image->get_buffer() + bytes_per_line*image_height;
#else
uint32 bytes_per_line = (image_width*bpp + 7)/8;
UINT8* dest_buf = image->get_buffer();
#endif
// This will go badly wrong with one of the...
2008-04-03 09:29:08 UTC by nobody
-
Same problem here.
[root@PCDEVLIN tesseract-1.03]# ./tesseract phototest.tif new
Tesseract Open Source OCR Engine
[root@PCDEVLIN tesseract-1.03]# cat new.txt
pmorvxu qo6 jnwbeq oAeL we gas?` ;ox~
]F1LUbGq OAGL QJG {SEA {OX` j_}.IG dF1!C}(
OAGL [{16 {SEA J`OX~ j_}JG ClI'1!C}( pLOMU qo6
gas?` ;ox~ ipe dngcg pkorvxu qod jnuabeq
j_}JG ClI'1!C}( pLOMU qo6 ]f1!JJbGq OAGL HJG
0% HIS...
2008-04-03 09:05:21 UTC by nobody
-
I use Fedora 8. Tried the same. Commented out and compiled it successfully. But tesseract doesn't recognize the phototest.tif !
2008-04-03 09:04:17 UTC by nobody
-
Using this information, it compiles on Suse 10.3, but fails to convert the phototest.tif.
2007-11-12 21:37:03 UTC by dglenn99
-
I'd like international support too. Otherwise, tess is not very useful here ;)
2007-07-16 22:27:38 UTC by sosonok
-
Compiling svn rev 72 on Mandriva 2007.1 I encountered the some "previous declaration of ‘char* optarg’ with ‘C++’ linkage"/"conflicts with new declaration with ‘C’ linkage" type errors.
I (perhaps naively, I'm not an expert in this) commented out one of the conflicting declarations until I got it to compile and successfully ran the program on a test page.
The compiler is...
2007-06-22 16:40:44 UTC by sblandford
-
That patch didn't quite work for me (it caused tesseract to crash), but it gave me the clue to get a fix that worked for me. The original code was reading lines from the tiff file one at a time filling the buffer from the "bottom" to the "top." This resulted in trying to recognize characters that are upside down and which is the reason for the garbage in the scan results. The patch reverses...
2007-06-15 11:41:19 UTC by psfales
-
It has not been fixed on CentOS 5.
make[2]: Entering directory `/home/src/OCR/tesseract-1.04/wordrec'
make[3]: Entering directory `/home/src/OCR/tesseract-1.04/wordrec'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../ccstruct -I../ccutil -I../cutil -I../classify -I../image -I../dict -I../viewer -g -O2 -MT tface.o -MD -MP -MF ".deps/tface.Tpo" -c -o tface.o tface.cpp; \
then mv -f...
2007-05-18 08:55:55 UTC by nobody