The first parameter to Init is the path to tessdata folder; the second 
indicates the language.

On Thursday, April 4, 2013 9:48:31 AM UTC-5, Renato Forti wrote:
>
>
> Hi all,
>
> My language file is in:
>
> /tesseract/ocr_default_engine/tessdata
>
> for sample:
> tesseract/ocr_default_engine/tessdata$ ls
> eng.traineddata  por.traineddata 
>
> I want pass it to Init! Have Any way?
>
> I have this:
>
> if (myOCR->Init(NULL, “por”))
>
> I want something like this:
>
> if (myOCR->Init(NULL, 
> “/tesseract/ocr_default_engine/tessdata/por.traineddata”))
>
>
> Have Any way?
>
> Thanks
>
>

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