FaceRecognitionLib
|
#include <Eigenfaces.h>
Public Member Functions | |
void | train (const MatrixXi &images) |
Public Member Functions inherited from Facebase | |
MatrixXf | project (const MatrixXi &X) |
VectorXf | euclideanDist (const VectorXf &W) |
VectorXf | reconstructFace (const VectorXf &W) |
float | euclideanDistFace (const VectorXi &X, const VectorXf &face) |
Public Member Functions inherited from PCA | |
int32_t | compute (const MatrixXi &images, int32_t numComponents=-1) |
Additional Inherited Members | |
Public Attributes inherited from Facebase | |
MatrixXf | V |
int32_t | numComponents |
Protected Attributes inherited from Facebase | |
MatrixXf | W_all |
size_t | n_pixels |
Protected Attributes inherited from PCA | |
MatrixXf | U |
VectorXf | mu |
void Eigenfaces::train | ( | const MatrixXi & | images | ) |
Train Eigenfaces.
images | Each images represented as a column vector. |