> Show us your images, full code snippet, config files, etc. Then maybe you'll
> get the answer.
Below, i have tried to gather the logic executed on a typical workflow of my
application (The C++ code is generated dynamically by a tool of mine⦠There may
be some typos when i reorganized it):
_tessApi = new
tesseract::TessBaseAPI();
_tessApi->Init ("./", "cst");
_tessApi->SetPageSegMode (tesseract::PSM_SINGLE_LINE);
_tessApi->SetVariable ("tessedit_char_whitelist", "><0123456789");
_tessApi->SetImage (pipelineBottom.data(),
pipelineBottom.width(), pipelineBottom.height(), 1,
pipelineBottom.emulatedBPL());
char *text = _tessApi->GetUTF8Text();
// However at this point, text contains some characters which are NOT in the
whitelist!
_tessApi->Clear ();
i hope this would help understanding my problem.
Thanks,
Pierre.
--
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