Cv2GroupRectangles Method (IListRect, Int32, Int32, Double)
|
Groups the object candidate rectangles.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic 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
OpenCvSharp.Cv2.GroupRectangles = function(rectList, weights, groupThreshold, eps);
Parameters
- rectList
- Type: System.Collections.GenericIListRect
Input/output vector of rectangles. Output vector includes retained and grouped rectangles. - weights
- Type: SystemInt32
- 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