1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

bugfix_for_hog_detectMultiScale_with_weights

(cherry picked from commit 7ce116695d)
This commit is contained in:
lujia
2015-04-21 02:32:27 -04:00
committed by Alexander Smorkalov
parent 4b14400976
commit 17cc5e2c40
+1
View File
@@ -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;