groupRectangles method

(VecRect, VecF64) groupRectangles(
  1. VecRect rectList,
  2. VecF64 weights,
  3. int groupThreshold,
  4. double eps,
)

Implementation

(VecRect rectList, VecF64 weights) groupRectangles(
  VecRect rectList,
  VecF64 weights,
  int groupThreshold,
  double eps,
) {
  cvRun(
    () => cobjdetect.HOGDescriptor_groupRectangles(
      ref,
      rectList.ptr,
      weights.ptr,
      groupThreshold,
      eps,
    ),
  );
  rectList.reattach();
  weights.reattach();
  return (rectList, weights);
}