Class cv::face::FacemarkAAM#

Collaboration diagram for cv::face::FacemarkAAM:

Public Member Functions#

Public Member Functions inherited from cv::face::FacemarkTrain

Return

Name

Description

bool

addTrainingSample(
    InputArray image,
    InputArray landmarks )

Add one training sample to the trainer.

bool

getData(void * items = 0)

Get data from an algorithm.

bool

getFaces(
    InputArray image,
    OutputArray faces )

Detect faces from a given image using default or user defined face detector. Some Algorithm might not provide a default face detector.

bool

setFaceDetector(
    FN_FaceDetector detector,
    void * userData = 0 )

Set a user defined face detector for the Facemark algorithm.

void

training(void * parameters = 0)

Trains a Facemark algorithm using the given dataset. Before the training process, training samples should be added to the trainer using face::addTrainingSample function.

Public Member Functions inherited from cv::face::Facemark

Return

Name

Description

bool

fit(
    InputArray image,
    InputArray faces,
    OutputArrayOfArrays landmarks )

Detect facial landmarks from an image.

void

loadModel(String model)

A function to load the trained model before the fitting process.

Public Member Functions inherited from cv::Algorithm

Return

Name

Description

Algorithm()

~Algorithm()

void

clear()

Clears the algorithm state.

bool

empty()

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.

String

getDefaultName()

void

read(const FileNode & fn)

Reads algorithm parameters from a file storage.

void

save(const String & filename)

void

write(
    const Ptr< FileStorage > & fs,
    const String & name = String() )

void

write(FileStorage & fs)

Stores algorithm parameters in a file storage.

void

write(
    FileStorage & fs,
    const String & name )

Static Public Member Functions#

Static Public Member Functions inherited from cv::Algorithm

Return

Name

Description

static Ptr< _Tp >

load(
    const String & filename,
    const String & objname = String() )

Loads algorithm from the file.

static Ptr< _Tp >

loadFromString(
    const String & strModel,
    const String & objname = String() )

Loads algorithm from a String.

static Ptr< _Tp >

read(const FileNode & fn)

Reads algorithm from the file node.

Additional Inherited Members#

Protected Member Functions inherited from cv::Algorithm

Return

Name

Description

void

writeFormat(FileStorage & fs)

Constructor & Destructor Documentation#

~FacemarkAAM()#

cv::face::FacemarkAAM::~FacemarkAAM()

Member Function Documentation#

fitConfig()#

bool cv::face::FacemarkAAM::fitConfig(
InputArray image,
InputArray roi,
OutputArrayOfArrays _landmarks,
const std::vector< Config > & runtime_params )

overload with additional Config structures

create()#

static Ptr< FacemarkAAM > cv::face::FacemarkAAM::create(const FacemarkAAM::Params & parameters = FacemarkAAM::Params())

initializer

Source file#

The documentation for this class was generated from the following file: