alignCropAsync method
Implementation
Future<Mat> alignCropAsync(Mat srcImg, Mat faceBox) async {
final rval = cvRunAsync<Mat>(
(callback) => cffi.FaceRecognizerSF_AlignCrop_Async(
ref,
srcImg.ref,
faceBox.ref,
callback,
), (c, p) {
return c.complete(Mat.fromPointer(p.cast<cvg.Mat>()));
});
return rval;
}