alignCrop method
Aligns detected face with the source input image and crops it.
srcImg
input image
faceBox
the detected face result from the input image
Implementation
Mat alignCrop(Mat srcImg, Mat faceBox) {
final p = calloc<cvg.Mat>();
cvRun(() => cffi.FaceRecognizerSF_AlignCrop(ref, srcImg.ref, faceBox.ref, p));
return Mat.fromPointer(p);
}