Commit 17cc5e2c authored by lujia's avatar lujia Committed by Alexander Smorkalov

bugfix_for_hog_detectMultiScale_with_weights

(cherry picked from commit 7ce11669)
parent 4b144009
......@@ -858,6 +858,7 @@ void HOGDescriptor::detect(const Mat& img,
Size winStride, Size padding, const 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