Click or drag to resize

FaceInvokeFit Method
Trains a Facemark algorithm using the given dataset.

Namespace:  Emgu.CV.Face
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static bool Fit(
	this IFacemark facemark,
	IInputArray image,
	IInputArray faces,
	IInputOutputArray landmarks


Type: Emgu.CV.FaceIFacemark
The facemark object
Type: Emgu.CVIInputArray
Input image.
Type: Emgu.CVIInputArray
Represent region of interest of the detected faces. Each face is stored in cv::Rect container.
Type: Emgu.CVIInputOutputArray
The detected landmark points for each faces.

Return Value

Type: Boolean
True if successful

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IFacemark. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also