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:
4b14400
)
bugfix_for_hog_detectMultiScale_with_weights
author
lujia
<lujia@zerozero.cn>
Tue, 21 Apr 2015 06:32:27 +0000
(
02:32
-0400)
committer
Alexander Smorkalov
<alexander.smorkalov@itseez.com>
Wed, 6 May 2015 13:24:39 +0000
(16:24 +0300)
(cherry picked from commit
7ce116695d616f73e285e55e0a38fa5fa6e5b097
)
modules/objdetect/src/hog.cpp
patch
|
blob
|
history
diff --git
a/modules/objdetect/src/hog.cpp
b/modules/objdetect/src/hog.cpp
index
1c0fbf2
..
fa9df76
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;