getNumThreads function

int getNumThreads()

Get the number of threads for OpenCV.

Implementation

int getNumThreads() {
  return cvRunArena<int>((arena) {
    final p = arena<ffi.Int>();
    cvRun(() => cffi.GetNumThreads(p));
    return p.value;
  });
}