What version of Tesseract are you testing? I believe the issue has been 
corrected for 3.03.

https://code.google.com/p/tesseract-ocr/issues/detail?id=938

On Monday, April 7, 2014 5:14:21 PM UTC-5, Hsrt wrote:
>
> Hello,
>
> I use this code 
>
>  
>
>> if (api->Init("../Tesseract-OCR/", "tur")) {
>
>         errorStr = "Could not initialize tesseract.";
>
>         showError();
>
>         exit(1);
>
>     }
>
>
> But when I run this code , I get an error 
>
>  Error opening data file C:\Program Files 
> (x86)\Tesseract-OCR\tessdata/tur.traineddata
>
> Please make sure the TESSDATA_PREFIX environment variable is set to the 
> parent directory of your "tessdata" directory.
>
> Failed loading language 'tur'
>
> Tesseract couldn't load any languages!
>
>
>
> I write a path but it don't use it. It use default path "C:\Program Files 
> (x86)\Tesseract-OCR\tessdata/tur.traineddata"
>

-- 
-- 
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/d/optout.

Reply via email to