detectAsync method
Detect keypoints in an image using AKAZE.
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 ret = calloc<cvg.VecKeyPoint>();
return cvRunAsync0<VecKeyPoint>(
(callback) => cfeatures2d.cv_AKAZE_detect(ref, src.ref, ret, callback),
(c) {
return c.complete(VecKeyPoint.fromPointer(ret));
},
);
}