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 -- 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 tesseract-ocr+unsubscr...@googlegroups.com. To post to this group, send email to tesseract-ocr@googlegroups.com. 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/7cc7f8fe-e886-4ed1-8116-ac6e870d9fd1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.