On 03-05-10 17:44, varnikat t wrote: > > Hi, > How to check if OCR engine like cuneiform,ocropus,ocrad OCRing an > image has completed the job if running it from a python program? > > I am using a progress bar on the front end to show the OCRing progress > happening in background but how to stop progress bar automatically > when OCRing is done. This is actually a Python question, not PyGTK. You need to have a return code when the OCR thing finishes. How do you start it?
> > As of now, I am just running the timer for a few seconds (considering > the maximum time taken by ocropus and for high resolution image) but > then the OCRing time varies for different engines and different > images.Some take less and some take more. That ofcourse is very bad, since you are letting your users wait for nothing. Cheers, Timo > > Any solutions? > > Regards > Varnika Tewari > (UMIT,SNDT University) > > > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
