Class FacemarkLBF.Params
- Namespace
- OpenCvSharp.Face
- Assembly
- OpenCvSharp.dll
Parameters for the FacemarkLBF model. This is a plain managed value holder; it is materialised into a native cv::face::FacemarkLBF::Params only at the moment of Create / Read / Write.
public sealed class FacemarkLBF.Params
- Inheritance
-
FacemarkLBF.Params
- Inherited Members
Constructors
- Params()
Constructs a parameter set initialised with the OpenCV default values.
Properties
- BaggingOverlap
overlap ratio for training the LBF feature
- CascadeFace
filename of the face detector model
- InitShapeN
multiplier for augment the training data
- ModelFilename
filename where the trained model will be saved
- NLandmarks
number of landmark points
- Pupils0
index of facemark points on pupils of left and right eye
- Pupils1
index of facemark points on pupils of left and right eye
- SaveModel
flag to save the trained model or not
- Seed
seed for shuffling the training data
- ShapeOffset
offset for the loaded face landmark points
- StagesN
number of refinement stages
- TreeDepth
the depth of decision tree, defines the size of feature
- TreeN
number of tree in the model for each landmark point refinement
- Verbose
show the training print-out
Methods
- Read(FileNode)
Reads the parameters from a file node.
- Write(FileStorage)
Writes the parameters to a file storage.