[3rd attempt] fixed HOGDescriptor::detectMultiScale() to group weights as well as ROIs

pull/891/head
Bahram Dahi 12 years ago
parent 7d9041460a
commit 8c25f9f28a
  1. 4
      modules/objdetect/src/hog.cpp

@ -1060,7 +1060,9 @@ void HOGDescriptor::detectMultiScale(
}
else
{
groupRectangles(foundLocations, (int)finalThreshold, 0.2);
vector<int> dummy;
dummy.resize(foundLocations.size(), INT_MAX);
groupRectangles(foundLocations, (int)finalThreshold, 0.2, &dummy, &foundWeights);
}
}

Loading…
Cancel
Save