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