MATLAB File Help: cv.Utils.setNumThreads | Index |
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 it's functions with specified threads number, but some behaviour differs from framework:
threads == 1
, OpenCV will disable
threading optimizations and run it's functions
sequentially.Access | public |
Sealed | false |
Static | true |