Method Fit
- Namespace
- OpenCvSharp.Face
- Assembly
- OpenCvSharp.dll
Fit(InputArray, InputArray, out Point2f[][])
Trains a Facemark algorithm using the given dataset.
public virtual bool Fit(InputArray image, InputArray faces, out Point2f[][] landmarks)
Parameters
imageInputArrayInput image.
facesInputArrayOutput of the function which represent region of interest of the detected faces. Each face is stored in cv::Rect container.
landmarksPoint2f[][]The detected landmark points for each faces.