Merge pull request #3382 from StevenPuttemans:fix_3982
This commit is contained in:
commit
a28cde9c3b
@ -2650,7 +2650,7 @@ void HOGDescriptor::groupRectangles(vector<cv::Rect>& rectList, vector<double>&
|
||||
|
||||
vector<cv::Rect_<double> > rrects(nclasses);
|
||||
vector<int> numInClass(nclasses, 0);
|
||||
vector<double> foundWeights(nclasses, DBL_MIN);
|
||||
vector<double> foundWeights(nclasses, -std::numeric_limits<double>::max());
|
||||
int i, j, nlabels = (int)labels.size();
|
||||
|
||||
for( i = 0; i < nlabels; i++ )
|
||||
|
Loading…
Reference in New Issue
Block a user