detectMultiScale (cv.HOGDescriptor) - MATLAB File Help |
Performs object detection with a multi-scale window
[rcts, weights] = hog.detectMultiScale(im)
[...] = hog.detectMultiScale(im, 'OptionName', optionValue, ...)
{[x,y,w,h], ...}
.[w,h]
. It must be a multiple of
block stride. Not set by default in which case it uses
BlockStride
.[w,h]
. default [0,0]FinalThreshold
is used for GroupThreshold
. When
true, cv.groupRectangles_meanshift is performed instead, and
FinalThreshold
is used for the DetectThreshold
option.
default falseDetects objects of different sizes in the input image. The detected objects are returned as a list of rectangles.
SvmDetector
should be set before calling this method.
The image is repeatedly scaled down by the specified Scale
factor, as long as it remains larger than hog.WinSize
or until
a maximum of hog.NLevels
levels is built. The resized images
are then searched with a sliding window to detect objects
similar to the cv.HOGDescriptor.detect method (this method is
parallelized). Finally the found rectangles are grouped and
clipped against the image size.
Access | public |
Sealed | false |
Static | false |