Default number of threads in an OpenCV application [closed]
Dear All,
Number of threads in my application jumps from 9 to 39 when I start my threads using OpenCV libraries. I am firing 3 threads inside the my class that uses Opencv. How many threads OpenCV uses/fires by default?
Regards,
It depends on the implementation of the function you are using.
Anyway, having many parallel threads in image processing is a good thing, so you shouldn't worry about that. OpenCV fires often a different thread for every processed line, or for sub-blocks of different sizes. The number of threads can be even higher on OpenCV/CUDA implementations (as GPGPUs contain thousands of cores).