feature method
Extracts face feature from aligned image.
alignedImg
input aligned image
clone
the default implementation of opencv won't clone the returned Mat
set clone
to true will return a clone of returned Mat
Implementation
Mat feature(Mat alignedImg, {bool clone = false}) {
final ret = Mat.empty();
cvRun(() => cobjdetect.cv_FaceRecognizerSF_feature(ref, alignedImg.ref, clone, ret.ptr, ffi.nullptr));
return ret;
}