Table of Contents

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

double

CascadeFace

filename of the face detector model

public string CascadeFace { get; set; }

Property Value

string

DetectROI

public Rect DetectROI { get; set; }

Property Value

Rect

FeatsM

public IReadOnlyList<int> FeatsM { get; set; }

Property Value

IReadOnlyList<int>

InitShapeN

multiplier for augment the training data

public int InitShapeN { get; set; }

Property Value

int

ModelFilename

filename where the trained model will be saved

public string ModelFilename { get; set; }

Property Value

string

NLandmarks

number of landmark points

public int NLandmarks { get; set; }

Property Value

int

Pupils0

index of facemark points on pupils of left and right eye

public IReadOnlyList<int> Pupils0 { get; set; }

Property Value

IReadOnlyList<int>

Pupils1

index of facemark points on pupils of left and right eye

public IReadOnlyList<int> Pupils1 { get; set; }

Property Value

IReadOnlyList<int>

RadiusM

public IReadOnlyList<double> RadiusM { get; set; }

Property Value

IReadOnlyList<double>

SaveModel

flag to save the trained model or not

public bool SaveModel { get; set; }

Property Value

bool

Seed

seed for shuffling the training data

public uint Seed { get; set; }

Property Value

uint

ShapeOffset

offset for the loaded face landmark points

public double ShapeOffset { get; set; }

Property Value

double

StagesN

number of refinement stages

public int StagesN { get; set; }

Property Value

int

TreeDepth

the depth of decision tree, defines the size of feature

public int TreeDepth { get; set; }

Property Value

int

TreeN

number of tree in the model for each landmark point refinement

public int TreeN { get; set; }

Property Value

int

Verbose

show the training print-out

public bool Verbose { get; set; }

Property Value

bool

Methods

DisposeUnmanaged()

Releases managed resources

protected override void DisposeUnmanaged()

Read(FileNode)

public void Read(FileNode fn)

Parameters

fn FileNode

Write(FileStorage)

public void Write(FileStorage fs)

Parameters

fs FileStorage