In cascadedetect.cpp in OpenCV, there are several variants of groupRectangles
function:
void groupRectangles(std::vector<Rect>& rectList, int groupThreshold, double eps);
void groupRectangles(std::vector<Rect>& rectList, std::vector<int>& weights, int groupThreshold, double eps);
void groupRectangles(std::vector<Rect>& rectList, std::vector<int>& rejectLevels, std::vector<double>& levelWeights, int groupThreshold, double eps);
But in the OpenCV document, only the first variant is documented clearly, the second variant is mentioned but the weights
argument is not explained. The third isn't even mentioned.
Can anyone explain the meanings of weights
, rejectLevels
, and levelWeights
?