c++ - Is OpenCv already threaded? -
I want to use to record a video and send it as a stream. I am starting a new one and I need to know whether the OpenCV blocks the main thread or is it threaded itself?
I read OpenCV documentation (2.4.9) and I could not find any answer.
Thanks for reading.
When you call a function, OpenCVI can generate threads. However, All work is returned to the calling thread before control For many reasons, asynchronous processing will add an extra bit of complexity (for example, for example: when calculating your program How would you know?) If the program does not need to be asynchronous, it will also present some unwanted overhead. You can do asynchronous procedures with you though with minimal effort.
Comments
Post a Comment