mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 04:36:36 +08:00
bugfix_for_hog_detectMultiScale_with_weights
(cherry picked from commit 7ce116695d
)
This commit is contained in:
parent
4b14400976
commit
17cc5e2c40
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user