Click or drag to resize

FacemarkFit Method (InputArray, InputArray, InputOutputArray, IntPtr)

Trains a Facemark algorithm using the given dataset.

Namespace:  OpenCvSharp.Face
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public virtual bool Fit(
	InputArray image,
	InputArray faces,
	InputOutputArray landmarks,
	IntPtr config
)

Parameters

image
Type: OpenCvSharpInputArray
Input image.
faces
Type: OpenCvSharpInputArray
Output of the function which represent region of interest of the detected faces. Each face is stored in cv::Rect container.
landmarks
Type: OpenCvSharpInputOutputArray
The detected landmark points for each faces.
config
Type: SystemIntPtr
Algorithm specific for running time parameters.

Return Value

Type: Boolean
See Also