MATLAB File Help: cv.CascadeClassifier/detect Index
cv.CascadeClassifier/detect

Detects objects of different sizes in the input image.

boxes = classifier.detect(im)
[boxes, numDetections] = classifier.detect(im)
[boxes, rejectLevels, levelWeights] = classifier.detect(im)
[...] = classifier.detect(im, 'Option', optionValue, ...)

Input

Output

Options

The detected objects are returned as a cell array of rectangles. Note that the function has three variants based on the number of output arguments.

The function is parallelized with the TBB library.

See also
Method Details
Access public
Sealed false
Static false