mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +08:00
Merge pull request #9683 from terfendail:grects_weights
This commit is contained in:
commit
a6d634b5b8
@ -64,7 +64,7 @@ void groupRectangles(std::vector<Rect>& rectList, int groupThreshold, double eps
|
||||
|
||||
if( groupThreshold <= 0 || rectList.empty() )
|
||||
{
|
||||
if( weights )
|
||||
if( weights && !levelWeights )
|
||||
{
|
||||
size_t i, sz = rectList.size();
|
||||
weights->resize(sz);
|
||||
|
Loading…
Reference in New Issue
Block a user