The way I have been using tesseract so far is 
p_ocr_obj = new tesseract::TessBaseAPI();
 p_ocr_obj->Init(...);
p_ocr_obj->SetImage( ... );
p_ocr_obj->GetUTF8Text();

For some images, tesseract takes more than a minute to give a result. Not 
sure why but I was thinking that maybe I can set a timeout when calling the 
tesseract api. 
I see the function ProcessPage where I can give a timeout value. 
So my question is, what what does ProcessPage actually do? Is the 
functionality different from what I already have?

Is there any other way to set a timeout for tesseract?

-- 
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/d15502e8-b2fa-4d49-964f-68d03a2c635e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to