Try api.setVariable("debug_file", "tesseract.log");

On Tuesday, September 2, 2014 10:01:38 AM UTC-5, Derry Pei wrote:
>
> Hi all,
>
> I am currently building my own application with Tesseract C++ API in 
> Windows 7, and when i called recognition function:
>
> *char * text = api.GetUTF8Text();*
>
> I got the following output in the command line window:
>
> *Too many unichars in ambiguity on line XXXX*
>
> Is there any way i can turn off the debug info output?
>
> I know i can turn it off if i'm using it in command line, 
>
>
> https://code.google.com/p/tesseract-ocr/wiki/FAQ#How_can_I_supress_tesseract_info_line?
>
> but how can i do this in my application when calling the API?  like 
> *api.setVaribles()*
>
>
> Thanks!
>

-- 
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 http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/baf1a610-28d7-470d-b841-30cf02815b08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to