Commit b73894b2 authored by lujia's avatar lujia Committed by Dikay900

bugfix_for_hog_detectMultiScale_with_weights

parent f39d351d
......@@ -1453,6 +1453,7 @@ void HOGDescriptor::detect(const Mat& img,
Size winStride, Size padding, const std::vector<Point>& locations) const
{
hits.clear();
weights.clear();
if( svmDetector.empty() )
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment