mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 13:10:12 +08:00
[3rd attempt] fixed HOGDescriptor::detectMultiScale() to group weights as well as ROIs
This commit is contained in:
parent
7d9041460a
commit
8c25f9f28a
@ -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…
Reference in New Issue
Block a user