1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

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
+1
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;