RaghavBhardwaj / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 1 forks source link

Tesseract does not decode sample image #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build tesseract on OS X (intel)
2. Try to decode the sample image
3. View the sample image

I expected to see the decoded text, but tesseract did not recognize any
characters.  Here is my output:

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

This is using version 1.03 on OS X 10.4(intel).

[aaron@amac tesseract-1.03]$ uname -a
Darwin amac.local 8.9.1 Darwin Kernel Version 8.9.1: Thu Feb 22 20:55:00
PST 2007; root:xnu-792.18.15~1/RELEASE_I386 i386 i386

Original issue reported on code.google.com by aaron.pa...@gmail.com on 10 May 2007 at 6:48

Attachments:

GoogleCodeExporter commented 9 years ago
This is becoming a FAQ. Something is broken in libtiff so just exclude it from
compilation and tesseract will use its internal TIFF decoder:

./configure --without-libtiff
make

Ref: http://code.google.com/p/tesseract-ocr/issues/detail?id=17&can=2&q=#c3

Original comment by fil...@repairfaq.org on 11 May 2007 at 3:55

GoogleCodeExporter commented 9 years ago
I would really like to get to the bottom of this. Prior to 1.03, there was a 
bug in
the libtiff tiff reader that left images upside-down, but I fixed it in (a 
second
push of ) the 1.03 release. When I try it on my redhat system it works fine. 
So, can
somebody that sees this problem please insert the following into 
tesseractmain.cpp,
line 101 in v1.04 (after the TesseractRect)
TessBaseAPI::DumpPGM("internalimage.pgm");
and send me the pgm file that you get when you run it on phototest.tif.
Ray.

Original comment by theraysm...@gmail.com on 17 May 2007 at 8:55

GoogleCodeExporter commented 9 years ago

Original comment by theraysm...@gmail.com on 13 Jul 2007 at 2:10