FacemarkAddTrainingSample Method
|
Add one training sample to the trainer.
Namespace:
OpenCvSharp.Face
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic virtual bool AddTrainingSample(
InputArray image,
InputArray landmarks
)
Public Overridable Function AddTrainingSample (
image As InputArray,
landmarks As InputArray
) As Boolean
public:
virtual bool AddTrainingSample(
InputArray^ image,
InputArray^ landmarks
)
abstract AddTrainingSample :
image : InputArray *
landmarks : InputArray -> bool
override AddTrainingSample :
image : InputArray *
landmarks : InputArray -> bool
function AddTrainingSample(image, landmarks);
Parameters
- image
- Type: OpenCvSharpInputArray
Input image. - landmarks
- Type: OpenCvSharpInputArray
The ground-truth of facial landmarks points corresponds to the image.
Return Value
Type:
Boolean
See Also