featureAsync method

Future<Mat> featureAsync(
  1. Mat alignedImg, {
  2. bool clone = false,
})

Implementation

Future<Mat> featureAsync(Mat alignedImg, {bool clone = false}) async {
  final p = calloc<cvg.Mat>();
  return cvRunAsync0(
    (callback) => cobjdetect.cv_FaceRecognizerSF_feature(ref, alignedImg.ref, clone, p, callback),
    (c) {
      return c.complete(Mat.fromPointer(p));
    },
  );
}