Method GroupRectangles
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
GroupRectangles(out Rect[], out double[], int, double)
Groups the object candidate rectangles.
public void GroupRectangles(out Rect[] rectList, out double[] weights, int groupThreshold, double eps)
Parameters
rectListRect[]Input/output vector of rectangles. Output vector includes retained and grouped rectangles. (The Python list is not modified in place.)
weightsdouble[]Input/output vector of weights of rectangles. Output vector includes weights of retained and grouped rectangles. (The Python list is not modified in place.)
groupThresholdintMinimum possible number of rectangles minus 1. The threshold is used in a group of rectangles to retain it.
epsdoubleRelative difference between sides of the rectangles to merge them into a group.