detectAndCompute method
DetectAndCompute keypoints and compute in an image using KAZE.
For further details, please see: https://docs.opencv.org/master/d0/d13/classcv_1_1Feature2D.html#a8be0d1c20b08eb867184b8d74c15a677
Implementation
(VecKeyPoint, Mat) detectAndCompute(Mat src, Mat mask) {
final desc = Mat.empty();
final ret = calloc<cfeatures2d.VecKeyPoint>();
cvRun(
() => cfeatures2d.KAZE_DetectAndCompute(ptr.ref, src.ref, mask.ref, desc.ref, ret),
);
return (VecKeyPoint.fromPointer(ret), desc);
}