Actually, I dumped the UIImage that goes into tesseract, thinking the same 
thing. 

It looks like this: http://d.pr/i/RYGi

To my mind, that looks very clean, which I was able to confirm by giving 
that image to the command line version and observing that the output was 
good.

So I was thinking of fetching the latest version of tesseract and 
rebuilding, in case the version that was checked in was garbage.

Rob. 

On Friday, January 3, 2014 12:20:10 PM UTC-5, Aleksander Grzyb wrote:
>
> I noticed the same problem on my project. Difference between recognised 
> text in iOS vs tesseract is huge like you have. Firstly I though that the 
> problem is with version of Tesseract. In this github project you put link, 
> the Tesseract library is of version 3.01, so I installed 3.02.02 version on 
> iOS and the problem is the same. So I think there could be problem with 
> UIImage* conversion by I don't have any other idea.
>
> W dniu piątek, 3 stycznia 2014 01:20:32 UTC+1 użytkownik Robert Mathews 
> napisał:
>>
>> Hi All: 
>>
>>
>> I'm evaluating tesseract for use in my project, and am puzzled by a 
>> discrepancy. This file http://d.pr/i/7PNC  gives different answers on 
>> IOS vs regular tesseract. I'm using the IOS Sample program from here: 
>> https://github.com/mstrchrstphr/OCR-iOS-Example<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fmstrchrstphr%2FOCR-iOS-Example&sa=D&sntz=1&usg=AFQjCNH_ELKFen-2ISRYt1mJKLe_fHgrbg>
>>
>>
>> Does anyone know why? (and yes, the iOS accuracy is lousy)
>>
>> Examples: 
>>
>> Same input image, first few lines of result displayed. The tesseract 
>> binary from brew install gets nearly 100% accuracy, the iOS versions not so 
>> much.
>>
>>
>> *IOS device:*
>>
>> H Nutrition Facts W1t a r lyar 2
>>
>>
>>
>> $A Vv Cul 3 NSF
>>
>>
>>  u servgngsuze 113 cu p Dry mgy yp 9
>>
>>
>> *IOS simulator:*
>>
>> E15 Nutrition Facts H
>>
>>
>>
>> 37g et t V T31 Servjing Size 1|3 Cup Dry
>>
>> 849 1 QJT 7 t ffile
>>
>> it J Servmgs Per Container10 u Jf3tQTe M
>>
>>
>>
>>
>>
>> *tesseract:*
>>
>>
>> Nutrition Facts
>>
>>
>>
>> Serving Size W3 Cup Dry i3--lgi
>>
>> Servings Per Container 10
>>
>>
>>
>> Thanks, 
>> Rob.
>>
>>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to