bugfix_for_hog_detectMultiScale_with_weights

This commit is contained in:
lujia 2015-04-21 02:32:27 -04:00 committed by Dikay900
parent f39d351d04
commit b73894b271

View File

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