createAsync static method

Implementation

static Future<SimpleBlobDetector> createAsync(
  SimpleBlobDetectorParams params,
) async =>
    cvRunAsync(
      (callback) => cffi.SimpleBlobDetector_Create_WithParams_Async(
        params.ref,
        callback,
      ),
      (c, p) => c.complete(
        SimpleBlobDetector.fromPointer(p.cast<cvg.SimpleBlobDetector>()),
      ),
    );