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