getDefaultPeopleDetector static method

VecF32 getDefaultPeopleDetector()

HOGDefaultPeopleDetector returns a new Mat with the HOG DefaultPeopleDetector.

For further details, please see: https://docs.opencv.org/master/d5/d33/structcv_1_1HOGDescriptor.html#a660e5cd036fd5ddf0f5767b352acd948

Implementation

static VecF32 getDefaultPeopleDetector() {
  final v = calloc<cvg.VecF32>();
  cvRun(() => cffi.HOG_GetDefaultPeopleDetector(v));
  return VecF32.fromPointer(v);
}