37
#ifndef __OPENCV_FACEMARK_LBF_HPP__
38
#define __OPENCV_FACEMARK_LBF_HPP__
40
#include "opencv2/face/facemark_train.hpp"
84
std::vector<int> feats_m;
85
std::vector<double> radius_m;
86
std::vector<int> pupils[2];
100
BBox(
double
x,
double
y,
double
w,
double
h);
102
Mat
project(
const
Mat
&shape)
const;
103
Mat
reproject(
const
Mat
&shape)
const;
106
double
x_center, y_center;
107
double
x_scale, y_scale;
108
double
width, height;
File Storage Node class.
Definition:
persistence.hpp:482
XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or readi...
Definition:
persistence.hpp:304
n-dimensional dense array class
Definition:
mat.hpp:802
Template class for 2D rectangles
Definition:
core/types.hpp:421
Definition:
facemarkLBF.hpp:96
Definition:
facemarkLBF.hpp:49
Abstract base class for trainable facemark models
Definition:
facemark_train.hpp:263
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75
Definition:
cvstd_wrapper.hpp:74
Definition:
facemarkLBF.hpp:52
int initShape_n
multiplier for augment the training data
Definition:
facemarkLBF.hpp:67
int n_landmarks
number of landmark points
Definition:
facemarkLBF.hpp:65
String cascade_face
filename of the face detector model
Definition:
facemarkLBF.hpp:60
int tree_n
number of tree in the model for each landmark point refinement
Definition:
facemarkLBF.hpp:72
int tree_depth
the depth of decision tree, defines the size of feature
Definition:
facemarkLBF.hpp:74
int stages_n
number of refinement stages
Definition:
facemarkLBF.hpp:70
std::string model_filename
filename where the trained model will be saved
Definition:
facemarkLBF.hpp:79
double shape_offset
offset for the loaded face landmark points
Definition:
facemarkLBF.hpp:58
bool save_model
flag to save the trained model or not
Definition:
facemarkLBF.hpp:81
unsigned int seed
seed for shuffling the training data
Definition:
facemarkLBF.hpp:82
double bagging_overlap
overlap ratio for training the LBF feature
Definition:
facemarkLBF.hpp:76
bool verbose
show the training print-out
Definition:
facemarkLBF.hpp:62