getNumThreads (cv.Utils) - MATLAB File Help |
Returns number of threads used by OpenCV for parallel regions
n = cv.Utils.getNumThreads()
The exact meaning of the return value depends on the threading framework used by OpenCV library:
tbb::thread_scheduler_init
in user code conflicting with OpenCV, then function returns
default number of threads used by TBB library.setNumThreads
with
threads > 0
, otherwise returns the number of logical CPUs,
available for the process.Access | public |
Sealed | false |
Static | true |