#include <face_recognizer_algorithms.h>
Public Member Functions | |
FaceRecognizer_PCA2D () | |
virtual bool | trainModel (std::vector< cv::Mat > &img_vec, std::vector< int > &label_vec, int &target_dim) |
Abstract method for model training. | |
virtual | ~FaceRecognizer_PCA2D () |
Definition at line 252 of file face_recognizer_algorithms.h.
Definition at line 255 of file face_recognizer_algorithms.h.
virtual ipa_PeopleDetector::FaceRecognizer_PCA2D::~FaceRecognizer_PCA2D | ( | ) | [inline, virtual] |
Definition at line 259 of file face_recognizer_algorithms.h.
bool ipa_PeopleDetector::FaceRecognizer_PCA2D::trainModel | ( | std::vector< cv::Mat > & | img_vec, |
std::vector< int > & | label_vec, | ||
int & | target_dim | ||
) | [virtual] |
Abstract method for model training.
Abstract method to train recognition model.
[in] | img_vec | Vector of image matrices |
[in] | label_vec | Vector of labels |
[in] | target_dim | Subspace dimension |
Implements ipa_PeopleDetector::FaceRecognizerBaseClass.
Definition at line 507 of file face_recognizer_algorithms.cpp.