Open Detection
1.0
|
A facerecognizer based on EigenFace and FischerFace algorithms. More...
#include <ODFaceRecognizer.h>
Public Attributes | |
int | num_components = 0 |
int double | threshold |
Protected Attributes | |
cv::Ptr< cv::face::FaceRecognizer > | cvrecognizer_ |
FaceRecogType | recogtype_ |
int | im_width_ |
int | im_height_ |
int | num_components_ |
double | threshold_ |
![]() | |
DetectionMethod | method_ |
bool | always_train_ |
bool | trained_ |
std::string | training_input_location_ |
std::string | training_data_location_ |
std::string | TRAINED_DATA_EXT_ |
std::string | TRAINED_DATA_IDENTIFIER_ |
A facerecognizer based on EigenFace and FischerFace algorithms.
Currently it just supports detection on fixed scene (detect()) and does not support multiscale detection. This is due to the fact that class for cascade classifier - ODCascadeDetector supports multiscale detection and can be easily integrated with this recognizer - first by finding face using the Cascade and then applying this recognizer on that detected window. This is faster than trying to perform recognition on each multiscale window.
Definition at line 61 of file ODFaceRecognizer.h.
ODDetections* od::g2d::ODFaceRecognizer::detect | ( | ODSceneImage * | scene | ) |
|
inline |
Definition at line 105 of file ODFaceRecognizer.h.
References num_components_.
|
inline |
Definition at line 85 of file ODFaceRecognizer.h.
References recogtype_.
|
inline |
Definition at line 95 of file ODFaceRecognizer.h.
References threshold_.
|
virtual |
Reimplemented from od::ObjectDetector.
|
virtual |
Reimplemented from od::ObjectDetector.
od::g2d::ODFaceRecognizer::OD_DEFINE_ENUM_WITH_STRING_CONVERSIONS | ( | FaceRecogType | , |
(OD_FACE_FISCHER)(OD_FACE_EIGEN) | |||
) |
|
inline |
Definition at line 110 of file ODFaceRecognizer.h.
References num_components_.
|
inline |
Definition at line 90 of file ODFaceRecognizer.h.
References recogtype_.
|
inline |
Definition at line 100 of file ODFaceRecognizer.h.
References threshold_.
|
virtual |
Implements od::ObjectDetector.
|
protected |
Definition at line 116 of file ODFaceRecognizer.h.
|
protected |
Definition at line 120 of file ODFaceRecognizer.h.
|
protected |
Definition at line 119 of file ODFaceRecognizer.h.
int od::g2d::ODFaceRecognizer::num_components = 0 |
Definition at line 67 of file ODFaceRecognizer.h.
|
protected |
Definition at line 121 of file ODFaceRecognizer.h.
Referenced by getNumComponents(), and setNumComponents().
|
protected |
Definition at line 117 of file ODFaceRecognizer.h.
Referenced by getRecogtype(), and setRecogtype().
int double od::g2d::ODFaceRecognizer::threshold |
Definition at line 67 of file ODFaceRecognizer.h.
|
protected |
Definition at line 122 of file ODFaceRecognizer.h.
Referenced by getThreshold(), and setThreshold().