Hi,
Solaris 9, sparc64, gcc 4.1.2
tesseract-1.03 build fine, but cannot recognize phototest.tif:
$ tesseract phototest.tif text
Tesseract Open Source OCR Engine
$ cat text.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 J=OHiJ9I~
OCL COqG *3Uq 266 QJG ![ MOLK2 OU *3}} []xbG2
J.!J!e !e 9 lot 0% JS bO!U{ IGXI to [Gel {IJG
Thanks!
Logged In: NO
On FreeBSD 5.3 i386 Tesseract 1.03 work fine:
$ ./tesseract phototest.tif 1
Tesseract Open Source OCR Engine
Image has 1 bit per pixel and size (640,480)
Resolution=200
$ cat 1.txt
This is a lot of 12 point text to test the
ocr code and see if it works on all types
of file format.
The quick brown dog jumped over the
lazy fox. The quick brown dog jumped
over the lazy fox. The quick brown dog
jumped over the lazy fox. The quick
brown dog jumped over the lazy fox.
64-bit or BIG endian problem ?
Logged In: NO
tesseract-1.03 work on Solaris sparc only in 32-bit mode (gcc -m32).
Logged In: YES
user_id=1750999
Originator: NO
I found workaround. Please review patch.
Logged In: YES
user_id=1750999
Originator: NO
Patch: http://sourceforge.net/tracker/index.php?func=detail&aid=1686607&group_id=158586&atid=808426
Logged In: NO
Same problem on 64bit Linux.
Logged In: NO
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 J=OHiJ9I~
OCL COqG *3Uq 266 QJG ![ MOLK2 OU *3}} []xbG2
J.!J!e !e 9 lot 0% JS bO!U{ IGXI to [Gel {IJG
Linux PCDEVLIN 2.6.24.3-50.fc8 #1 SMP Thu Mar 20 14:47:10 EDT 2008 i686 athlon i386 GNU/Linux