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

Add one training sample to the trainer

success = obj.addTrainingSample(img, landmarks)

Input

Output

In the case of LBF, this function internally calls the face detector function, so you will need to either pass the option CascadeFace to use the default detector, or set a custom function in cv.Facemark.setFaceDetector

See also
Method Details
Access public
Sealed false
Static false