http://www.emgu.com
Trains a Facemark algorithm using the given dataset.
Namespace:
Emgu.CV.Face
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static bool Fit(
this IFacemark facemark,
IInputArray image,
IInputArray faces,
IInputOutputArray landmarks
)
<ExtensionAttribute>
Public Shared Function Fit (
facemark As IFacemark,
image As IInputArray,
faces As IInputArray,
landmarks As IInputOutputArray
) As Boolean
public:
[ExtensionAttribute]
static bool Fit(
IFacemark^ facemark,
IInputArray^ image,
IInputArray^ faces,
IInputOutputArray^ landmarks
)
[<ExtensionAttribute>]
static member Fit :
facemark : IFacemark *
image : IInputArray *
faces : IInputArray *
landmarks : IInputOutputArray -> bool
Parameters
- facemark
- Type: Emgu.CV.FaceIFacemark
The facemark object - image
- Type: Emgu.CVIInputArray
Input image. - faces
- Type: Emgu.CVIInputArray
Represent region of interest of the detected faces. Each face is stored in cv::Rect container. - landmarks
- Type: Emgu.CVIInputOutputArray
The detected landmark points for each faces.
Return Value
Type:
BooleanTrue 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