Class FacemarkLBF.Params
- Namespace
- OpenCvSharp.Face
- Assembly
- OpenCvSharp.dll
DisposableObject + ICvPtrHolder
public sealed class FacemarkLBF.Params : DisposableCvObject, IDisposable, ICvPtrHolder
- Inheritance
-
FacemarkLBF.Params
- Implements
- Inherited Members
Constructors
Params()
Constructor
public Params()
Properties
BaggingOverlap
overlap ratio for training the LBF feature
public double BaggingOverlap { get; set; }
Property Value
CascadeFace
filename of the face detector model
public string CascadeFace { get; set; }
Property Value
DetectROI
public Rect DetectROI { get; set; }
Property Value
FeatsM
public IReadOnlyList<int> FeatsM { get; set; }
Property Value
InitShapeN
multiplier for augment the training data
public int InitShapeN { get; set; }
Property Value
ModelFilename
filename where the trained model will be saved
public string ModelFilename { get; set; }
Property Value
NLandmarks
number of landmark points
public int NLandmarks { get; set; }
Property Value
Pupils0
index of facemark points on pupils of left and right eye
public IReadOnlyList<int> Pupils0 { get; set; }
Property Value
Pupils1
index of facemark points on pupils of left and right eye
public IReadOnlyList<int> Pupils1 { get; set; }
Property Value
RadiusM
public IReadOnlyList<double> RadiusM { get; set; }
Property Value
SaveModel
flag to save the trained model or not
public bool SaveModel { get; set; }
Property Value
Seed
seed for shuffling the training data
public uint Seed { get; set; }
Property Value
ShapeOffset
offset for the loaded face landmark points
public double ShapeOffset { get; set; }
Property Value
StagesN
number of refinement stages
public int StagesN { get; set; }
Property Value
TreeDepth
the depth of decision tree, defines the size of feature
public int TreeDepth { get; set; }
Property Value
TreeN
number of tree in the model for each landmark point refinement
public int TreeN { get; set; }
Property Value
Verbose
show the training print-out
public bool Verbose { get; set; }
Property Value
Methods
DisposeUnmanaged()
Releases managed resources
protected override void DisposeUnmanaged()
Read(FileNode)
public void Read(FileNode fn)
Parameters
fnFileNode
Write(FileStorage)
public void Write(FileStorage fs)
Parameters
fsFileStorage