[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
|
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…
x
Reference in New Issue
Block a user