setNumThreads (cv.Utils) - MATLAB File Help |
Sets number of threads used by OpenCV for parallel regions
cv.Utils.setNumThreads(n)
OpenCV will try to set the number of threads for the next parallel region.
OpenCV will try to run its functions with specified threads number, but some behaviour differs from framework:
threads == 1
, OpenCV will disable
threading optimizations and run its functions sequentially.Access | public |
Sealed | false |
Static | true |