Merge pull request #3946 from zjulujia:bugfix_for_hog_detectMultiScale_with_weights

pull/3969/head
Vadim Pisarevsky 10 years ago
commit da229cce9a
  1. 1
      modules/objdetect/src/hog.cpp

@ -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;

Loading…
Cancel
Save