bugfix_for_hog_detectMultiScale_with_weights
This commit is contained in:
parent
c879b1ab09
commit
7ce116695d
@ -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