detect method

VecKeyPoint detect(
  1. Mat src
)

Detect keypoints in an image using KAZE.

For further details, please see: https://docs.opencv.org/master/d0/d13/classcv_1_1Feature2D.html#aa4e9a7082ec61ebc108806704fbd7887

Implementation

VecKeyPoint detect(Mat src) {
  final ret = calloc<cfeatures2d.VecKeyPoint>();
  cvRun(() => cfeatures2d.KAZE_Detect(ptr.ref, src.ref, ret));
  return VecKeyPoint.fromPointer(ret);
}