| 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
)
Public Shared Sub GroupRectangles (
rectList As IList(Of Rect),
<OutAttribute> ByRef weights As Integer(),
groupThreshold As Integer,
Optional eps As Double = 0.2
)
public:
static void GroupRectangles(
IList<Rect>^ rectList,
[OutAttribute] array<int>^% weights,
int groupThreshold,
double eps = 0.2
)
static member GroupRectangles :
rectList : IList<Rect> *
weights : int[] byref *
groupThreshold : int *
?eps : float
(* Defaults:
let _eps = defaultArg eps 0.2
*)
-> unit
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