mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
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<cv::Rect_<double> > rrects(nclasses);
|
||||||
vector<int> numInClass(nclasses, 0);
|
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();
|
int i, j, nlabels = (int)labels.size();
|
||||||
|
|
||||||
for( i = 0; i < nlabels; i++ )
|
for( i = 0; i < nlabels; i++ )
|
||||||
|
Loading…
Reference in New Issue
Block a user