projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c879b1a
)
bugfix_for_hog_detectMultiScale_with_weights
author
lujia
<lujia@zerozero.cn>
Tue, 21 Apr 2015 06:32:27 +0000
(
02:32
-0400)
committer
lujia
<lujia@zerozero.cn>
Tue, 21 Apr 2015 06:32:27 +0000
(
02:32
-0400)
modules/objdetect/src/hog.cpp
patch
|
blob
|
history
diff --git
a/modules/objdetect/src/hog.cpp
b/modules/objdetect/src/hog.cpp
index
389fa09
..
9ba4a7b
100644
(file)
--- a/
modules/objdetect/src/hog.cpp
+++ b/
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;