You need to install osd.traineddata. It's available from 
http://code.google.com/p/tesseract-ocr/downloads/list as Orientation & 
Script Detection Data for Tesseract 3.01.

On Sunday, March 2, 2014 4:15:37 PM UTC-6, Clark Knøsen wrote:
>
> # tesseract -l dan out.png out hocr
>
> Just found out that this returns a similar error
>
> root@dyntest-amd-3700-2gb ~/ocr_test # tesseract -l dan out.png out hocr
> Tesseract Open Source OCR Engine v3.03 with Leptonica
> Error opening data file /usr/local/share/tessdata/osd.traineddata
> Please make sure the TESSDATA_PREFIX environment variable is set to the 
> parent directory of your "tessdata" directory.
> Failed loading language 'osd'
> Tesseract couldn't load any languages!
> Warning: Auto orientation and script detection requested, but osd language 
> failed to load
>
>

-- 
-- 
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