|
virtual bool | empty () const CV_OVERRIDE |
|
cv::Mat | getEigenValues () const |
|
cv::Mat | getEigenVectors () const |
|
cv::Mat | getLabels () const |
|
cv::Mat | getMean () const |
|
int | getNumComponents () const |
|
std::vector< cv::Mat > | getProjections () const |
|
double | getThreshold () const CV_OVERRIDE |
|
virtual void | read (const FileNode &fn) CV_OVERRIDE |
|
void | setNumComponents (int val) |
|
void | setThreshold (double val) CV_OVERRIDE |
|
virtual void | write (FileStorage &fs) const CV_OVERRIDE |
|
virtual String | getLabelInfo (int label) const |
| Gets string information by label. More...
|
|
virtual std::vector< int > | getLabelsByString (const String &str) const |
| Gets vector of labels by string. More...
|
|
int | predict (InputArray src) const |
|
void | predict (InputArray src, int &label, double &confidence) const |
| Predicts a label and associated confidence (e.g. distance) for a given input image. More...
|
|
virtual void | predict (InputArray src, Ptr< PredictCollector > collector) const =0 |
|
- if implemented - send all result of prediction to collector that can be used for somehow custom result handling
More...
|
|
virtual void | read (const String &filename) |
| Loads a FaceRecognizer and its model state. More...
|
|
virtual void | setLabelInfo (int label, const String &strInfo) |
| Sets string info for the specified model's label. More...
|
|
virtual void | train (InputArrayOfArrays src, InputArray labels)=0 |
| Trains a FaceRecognizer with given data and associated labels. More...
|
|
virtual void | update (InputArrayOfArrays src, InputArray labels) |
| Updates a FaceRecognizer with given data and associated labels. More...
|
|
virtual void | write (const String &filename) const |
| Saves a FaceRecognizer and its model state. More...
|
|
| Algorithm () |
|
virtual | ~Algorithm () |
|
virtual void | clear () |
| Clears the algorithm state. More...
|
|
virtual String | getDefaultName () const |
|
virtual void | save (const String &filename) const |
|
void | write (FileStorage &fs, const String &name) const |
|
void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
|
void | writeFormat (FileStorage &fs) const |
|
Mat | _eigenvalues |
|
Mat | _eigenvectors |
|
Mat | _labels |
|
Mat | _mean |
|
int | _num_components |
|
std::vector< Mat > | _projections |
|
double | _threshold |
|
std::map< int, String > | _labelsInfo |
|