detectAsync method

Future<VecKeyPoint> detectAsync(
  1. Mat src
)

Detect keypoints in an image using MSER.

For further details, please see: https://docs.opencv.org/master/d0/d13/classcv_1_1Feature2D.html#aa4e9a7082ec61ebc108806704fbd7887

Implementation

Future<VecKeyPoint> detectAsync(Mat src) async {
  final rval = cvRunAsync<VecKeyPoint>(
    (callback) => cfeatures2d.MSER_Detect_Async(ref, src.ref, callback),
    (c, ret) => c.complete(VecKeyPoint.fromPointer(ret.cast<cfeatures2d.VecKeyPoint>())),
  );
  return rval;
}