detect method
Performs object detection without a multi-scale window.
https://docs.opencv.org/4.x/d5/d33/structcv_1_1HOGDescriptor.html#a309829908ffaf4645755729d7aa90627
Implementation
(VecPoint foundLocations, VecPoint searchLocations) detect(
  InputArray img, {
  double hitThreshold = 0,
  (int, int) winStride = (0, 0),
  (int, int) padding = (0, 0),
}) {
  final foundLocations = calloc<cvg.VecPoint>();
  final searchLocations = calloc<cvg.VecPoint>();
  cvRun(
    () => cobjdetect.cv_HOGDescriptor_detect2(
      ref,
      img.ref,
      foundLocations,
      hitThreshold,
      winStride.cvd.ref,
      padding.cvd.ref,
      searchLocations,
      ffi.nullptr,
    ),
  );
  return (VecPoint.fromPointer(foundLocations), VecPoint.fromPointer(searchLocations));
}