Detect Objects In an Image with Cascade Classification
r = imdetectobjects(S,cfn) r = imdetectobjects(S,cfn,fac) r = imdetectobjects(S,cfn,fac,minNB) r = imdetectobjects(S,cfn,fac,minNB,minSz) r = imdetectobjects(S,cfn,fac,minNB,minSz,maxSz)
Source image.
Classifier file name, in xml format.
Parameter specifying how much the image size is reduced at each image scale. Default value is 1.1
Parameter specifying how many neighbors each candidate rectangle should have to retain it. Default value is 3
Minimum possible object size. Objects smaller than that are ignored. In [w h] format. Default value is [30 30]
Maximum possible object size. Objects larger than that are ignored. In [w h] format. Default value not set will be unlimited
imdetectobjects Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles.