bugfix_for_hog_detectMultiScale_with_weights
This commit is contained in:
parent
f39d351d04
commit
b73894b271
@ -1453,6 +1453,7 @@ void HOGDescriptor::detect(const Mat& img,
|
|||||||
Size winStride, Size padding, const std::vector<Point>& locations) const
|
Size winStride, Size padding, const std::vector<Point>& locations) const
|
||||||
{
|
{
|
||||||
hits.clear();
|
hits.clear();
|
||||||
|
weights.clear();
|
||||||
if( svmDetector.empty() )
|
if( svmDetector.empty() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user