We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af8fc3e + 9a70fd0 commit a6d634bCopy full SHA for a6d634b
modules/objdetect/src/cascadedetect.cpp
@@ -64,7 +64,7 @@ void groupRectangles(std::vector<Rect>& rectList, int groupThreshold, double eps
64
65
if( groupThreshold <= 0 || rectList.empty() )
66
{
67
- if( weights )
+ if( weights && !levelWeights )
68
69
size_t i, sz = rectList.size();
70
weights->resize(sz);
0 commit comments