Thanks, Quan
I tried that, and it doesn't seem to work. I still got that output.
I googled the "debug_file" option you mentioned and it said " file to send
tprintf output to ".
But i don't know why it doesn't work the way it is supposed to here.
On Wednesday, September 3, 2014 11:49:07 AM UTC+8, Quan Nguyen wrote:
>
> 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/ea8ee8b7-856d-41f5-91dd-e8c5aeb555e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.