groupRectangles method
Groups the object candidate rectangles.
https://docs.opencv.org/4.x/d5/d33/structcv_1_1HOGDescriptor.html#ad7c9679b23e8476e332e9114181d656d
Implementation
(VecRect rectList, VecF64 weights) groupRectangles(
VecRect rectList,
VecF64 weights,
int groupThreshold,
double eps,
) {
cvRun(
() => cobjdetect.cv_HOGDescriptor_groupRectangles(
ref,
rectList.ptr,
weights.ptr,
groupThreshold,
eps,
ffi.nullptr,
),
);
rectList.reattach();
weights.reattach();
return (rectList, weights);
}