sometime it takes a long time to run OCRso how to get the progress during OCR?thanks !I'm using Tesseract3.02 win7 b4bit VS2010--
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to tesser...@googlegroups.com
To unsubscribe from this group, send email to
tesseract-oc...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en
Patrickthanks. your idea is sort of good so far.I roughly looked through the source code and found nothing .it seems that there's no event or callback function relative to OCR progress .
Did you try using int Recognize(ETEXT_DESC* monitor) with a non-NULL monitor? It updates monitor->progress in some way. And I suspect there is no more elegant way to know about the updates except polling this memory location periodically (e.g once in a second) from another thread.