Click or drag to resize

Cv2GroupRectangles Method (IListRect, Int32, Int32, Double)

Groups the object candidate rectangles.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.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.Cv2.GroupRectangles(System.Collections.Generic.IList{OpenCvSharp.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