| FacemarkFit Method |
Trains a Facemark algorithm using the given dataset.
Namespace:
OpenCvSharp.Face
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public virtual bool Fit(
InputArray image,
InputArray faces,
out Point2f[][] landmarks
)
Public Overridable Function Fit (
image As InputArray,
faces As InputArray,
<OutAttribute> ByRef landmarks As Point2f()()
) As Boolean
public:
virtual bool Fit(
InputArray^ image,
InputArray^ faces,
[OutAttribute] array<array<Point2f>^>^% landmarks
)
abstract Fit :
image : InputArray *
faces : InputArray *
landmarks : Point2f[][] byref -> bool
override Fit :
image : InputArray *
faces : InputArray *
landmarks : Point2f[][] byref -> bool
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: OpenCvSharpPoint2f
The detected landmark points for each faces.
Return Value
Type:
Boolean[Missing <returns> documentation for "M:OpenCvSharp.Face.Facemark.Fit(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.Point2f[][]@)"]
See Also