mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
bugfix_for_hog_detectMultiScale_with_weights
This commit is contained in:
parent
f39d351d04
commit
b73894b271
@ -1453,6 +1453,7 @@ void HOGDescriptor::detect(const Mat& img,
|
||||
Size winStride, Size padding, const std::vector<Point>& locations) const
|
||||
{
|
||||
hits.clear();
|
||||
weights.clear();
|
||||
if( svmDetector.empty() )
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user