detectMultiScale
Python:objects = cv.CascadeClassifier.detectMultiScale(image[, scaleFactor[, minNeighbors[, flags[, minSize[, maxSize]]]]]
Parameters:image Matrix of the type CV_8U containing an image where objects
are detected.
objects Vector of rectangles where each rectangle contains the
detected object, the rectangles may be partially outside
the original image.
scaleFactor Parameter specifying how much the image size is reduced
at each image scale.
minNeighbors Parameter specifying how many neighbors each candidate
rectangle should have to retain it.
flags Parameter with the same meaning for an old cascade as in
the function cvHaarDetectObjects. It is not used for a
new cascade.
minSize Minimum possible object size. Objects smaller than that
are ignored.
maxSize Maximum possible object size. Objects larger than that
are ignored. If maxSize == minSize model is evaluated
on single scale.
Note(Python) A face detection example using cascade classifiers can be found at opencv_source_code/samples/python/facedetect.py