Hi All;

I have been using "ocroscript rec-ltess source.png out.txt" to convert
my images to text. Everything works as expected.

Next up I launch 5 different instances of ocroscript rec-ltess on the
same server via 5 different threads in my c++ application. I just
launch a shell script which further launches the ocroscript command.

Now, suppose one image takes 30 seconds to be OCR'd, I expected that
the 5 different copies of the same image would take much faster if
processed simultaneously, as compared to serially processing each of
them.

What I am seeing is that in case of 5 different instances of
ocroscript, it takes 5*30=150 seconds for EACH image to be OCR'd.
Which is same as serially processing each image.

Is ocroscript meant to be used in multi threaded setup? It looks like
it is sharing some resources internally and hence not giving good
preformance in case of multi threaded setup.

Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocropus" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to