Cv2GroupRectangles Method (IListRect, Int32, Int32, Double) OpenCvSharp Class Library
Groups the object candidate rectangles.

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void GroupRectangles(
	IList<Rect> rectList,
	out int[] weights,
	int groupThreshold,
	double eps = 0.2
)

Parameters

rectList
Type: System.Collections.GenericIListRect
Input/output vector of rectangles. Output vector includes retained and grouped rectangles.
weights
Type: SystemInt32

[Missing <param name="weights"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GroupRectangles(System.Collections.Generic.IList{OpenCvSharp.CPlusPlus.Rect},System.Int32[]@,System.Int32,System.Double)"]

groupThreshold
Type: SystemInt32
Minimum possible number of rectangles minus 1. The threshold is used in a group of rectangles to retain it.
eps (Optional)
Type: SystemDouble
Relative difference between sides of the rectangles to merge them into a group.
See Also

Reference