setFaceDetector (cv.Facemark) - MATLAB File Help
cv.Facemark/setFaceDetector

Set a user-defined face detector for the Facemark algorithm

success = obj.setFaceDetector(detector)

Input

Output

The user-defined face detector should have the following signature:

function faces = myFaceDetector(img)

where img is the input image and faces is the output with the detected faces.

Note that some algorithms might provide a default face detector (LBF does, but AAM does not).

See also
Method Details
Access public
Sealed false
Static false