alignCropAsync method

Future<Mat> alignCropAsync(
  1. Mat srcImg,
  2. Mat faceBox
)

Implementation

Future<Mat> alignCropAsync(Mat srcImg, Mat faceBox) async {
  final p = calloc<cvg.Mat>();
  return cvRunAsync0(
    (callback) => cobjdetect.cv_FaceRecognizerSF_alignCrop(ref, srcImg.ref, faceBox.ref, p, callback),
    (c) {
      return c.complete(Mat.fromPointer(p));
    },
  );
}