On Sunday, July 10, 2016 at 2:01:59 PM UTC-4, [email protected] wrote: > > Hi, > is there any way how could be calculated an image OCR duration time before > the recognation itself will start? I would like to make some kind of time > status bar showing how long will it take to process the image. I tried to > find dependence between image size or volume but there is no any dependence > in it. Maybe pixels calculation before the OCR start will get some result? >
There's no such linear relation between number of pixels and computation time. Noisier images take longer to process, as do those with ambiguities which require extra processing to resolve. Unfortunately, until you finish, you're not going to know how much processing is required -- and by then it's too late for a progress bar. If you wanted to put some effort into it, perhaps you could sample a bunch of images with different characteristics and see what the processing time correlates to extract a model for the processing time, but I have my doubts. Tess has an internal pipeline which should give more and more accurate estimates about how much work there is to do, but you'd need to dig into it a little bit to see whether you could leverage it for your purposes. Tom -- 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/c99016d0-e064-437c-9448-0586baef863b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

