asmlib-opencv
an ASM(Active Shape Model) implementation by C++ & OpenCV
|
Namespace for all ASM related stuffs. More...
Classes | |
class | AFReader |
File reader with support to omit # starting lines. More... | |
class | ASMFitResult |
Result for ASM fitting. More... | |
class | ASMModel |
Active Shape Model. More... | |
class | ModelFile |
Save/Load model to/from a file. More... | |
class | ModelImage |
Image and image related operations. More... | |
class | ShapeInfo |
Defines how landmark points form a "shape". More... | |
struct | FitResult |
Base class for ASM/AAM fitting result. More... | |
class | ShapeModel |
The Statistical Shape model for training sets. More... | |
class | ShapeVec |
Shape vector, presented as a 1-D OpenCV matrix. More... | |
class | SimilarityTrans |
A similarity transformation. More... | |
Typedefs | |
typedef ModelFile | ModelFileAscii |
Functions | |
void | viewShapeUpdateValue (int pos, void *data) |
Callback function for updating value. | |
void | viewShapeUpdateCurParam (int pos, void *data) |
Callback function for choosing a different parameter. | |
void | fillConvexFromPoints (Mat &img, vector< Point > &pList, cv::Scalar s) |
Rect | findOneFace (const Mat &img) |
face detect | |
vector< Rect > | findAllFaces (const Mat &img) |
Namespace for all ASM related stuffs.
Change the magic numbers to configurable variables.
Smaller memory consumption while training.
typedef ModelFile StatModel::ModelFileAscii |
void StatModel::fillConvexFromPoints | ( | Mat & | img, |
vector< Point > & | pList, | ||
cv::Scalar | s | ||
) |
vector< Rect > StatModel::findAllFaces | ( | const Mat & | img | ) |
Rect StatModel::findOneFace | ( | const Mat & | img | ) |
face detect
void StatModel::viewShapeUpdateCurParam | ( | int | pos, |
void * | data | ||
) |
Callback function for choosing a different parameter.
void StatModel::viewShapeUpdateValue | ( | int | pos, |
void * | data | ||
) |
Callback function for updating value.