| HOGDescriptorGroupRectangles Method |
Groups the object candidate rectangles.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public void GroupRectangles(
out Rect[] rectList,
out double[] weights,
int groupThreshold,
double eps
)
Public Sub GroupRectangles (
<OutAttribute> ByRef rectList As Rect(),
<OutAttribute> ByRef weights As Double(),
groupThreshold As Integer,
eps As Double
)
public:
void GroupRectangles(
[OutAttribute] array<Rect>^% rectList,
[OutAttribute] array<double>^% weights,
int groupThreshold,
double eps
)
member GroupRectangles :
rectList : Rect[] byref *
weights : float[] byref *
groupThreshold : int *
eps : float -> unit
Parameters
- rectList
- Type: OpenCvSharpRect
Input/output vector of rectangles. Output vector includes retained and grouped rectangles. (The Python list is not modified in place.) - weights
- Type: SystemDouble
Input/output vector of weights of rectangles. Output vector includes weights of retained and grouped rectangles. (The Python list is not modified in place.) - groupThreshold
- Type: SystemInt32
Minimum possible number of rectangles minus 1. The threshold is used in a group of rectangles to retain it. - eps
- Type: SystemDouble
Relative difference between sides of the rectangles to merge them into a group.
See Also