mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
Merge pull request #3946 from zjulujia:bugfix_for_hog_detectMultiScale_with_weights
This commit is contained in:
commit
da229cce9a
@ -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