addTrainingSample (cv.Facemark) - MATLAB File Help |
Add one training sample to the trainer
success = obj.addTrainingSample(img, landmarks)
{[x,y], ...}
.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
Access | public |
Sealed | false |
Static | false |