On Thursday, March 10, 2016 at 12:55:59 PM UTC+5:30, Pixxe wrote:
>
> Hi all,
>
> I would like to use tesseract for extracting french language. and i hope 
> it is possible to do it with existing tesseract and available french 
> dictionary.
>
> *For English:*
>
> tesseract::TessBaseAPI *tess = new tesseract::TessBaseAPI();
>
> if (tess->Init(NULL, "eng"))
> {
>  fprintf(stderr, "Could not initialize tesseract.\n");
>  exit(1);
> }
> tess->SetVariable("tessedit_char_whitelist", 
> "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789&`.,-%/():*'@#"
> );
>
>
> *---  Changes what i did:*
>
> tesseract::TessBaseAPI *tess = new tesseract::TessBaseAPI();
>
> if (tess->Init(NULL, "fra"))
> {
>  fprintf(stderr, "Could not initialize tesseract.\n");
>  exit(1);
> }
> tess->SetVariable("tessedit_char_whitelist", 
> "abécédéeeffegéacheijikaelleemmeenneopéquerreessetéuvé 
> double véixeigreczède ");
>
>
> What is best practice to use french dictionary ?
>
> Thanks in advance
>
> Awaiting for suggestions
>
>
>
> I found the solution! here 
> <http://stackoverflow.com/questions/9976592/tesseract-does-not-recognize-russian>
>  
>
 

-- 
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].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/6efa7ca7-7195-4a00-a1ac-bc4dfcd1715d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to