|
CV_WRAP int | getNumComponents () const |
|
CV_WRAP void | setNumComponents (int val) |
|
CV_WRAP double | getThreshold () const CV_OVERRIDE |
|
CV_WRAP void | setThreshold (double val) CV_OVERRIDE |
|
CV_WRAP std::vector< cv::Mat > | getProjections () const |
|
CV_WRAP cv::Mat | getLabels () const |
|
CV_WRAP cv::Mat | getEigenValues () const |
|
CV_WRAP cv::Mat | getEigenVectors () const |
|
CV_WRAP cv::Mat | getMean () const |
|
virtual void | read (const FileNode &fn) CV_OVERRIDE |
|
virtual void | write (FileStorage &fs) const CV_OVERRIDE |
|
virtual bool | empty () const CV_OVERRIDE |
|
virtual CV_WRAP void | read (const String &filename) |
| Loads a FaceRecognizer and its model state. [詳解]
|
|
virtual void | read (const FileNode &fn) CV_OVERRIDE=0 |
|
virtual CV_WRAP void | write (const String &filename) const |
| Saves a FaceRecognizer and its model state. [詳解]
|
|
virtual void | write (FileStorage &fs) const CV_OVERRIDE=0 |
|
virtual CV_WRAP void | train (InputArrayOfArrays src, InputArray labels)=0 |
| Trains a FaceRecognizer with given data and associated labels. [詳解]
|
|
virtual CV_WRAP void | update (InputArrayOfArrays src, InputArray labels) |
| Updates a FaceRecognizer with given data and associated labels. [詳解]
|
|
| CV_WRAP_AS (predict_label) int predict(InputArray src) const |
|
CV_WRAP void | predict (InputArray src, CV_OUT int &label, CV_OUT double &confidence) const |
| Predicts a label and associated confidence (e.g. distance) for a given input image. [詳解]
|
|
| CV_WRAP_AS (predict_collect) virtual void predict(InputArray src |
|
- if implemented - send all result of prediction to collector that can be used for somehow custom result handling
[詳解]
|
|
virtual CV_WRAP void | setLabelInfo (int label, const String &strInfo) |
| Sets string info for the specified model's label. [詳解]
|
|
virtual CV_WRAP String | getLabelInfo (int label) const |
| Gets string information by label. [詳解]
|
|
virtual CV_WRAP std::vector< int > | getLabelsByString (const String &str) const |
| Gets vector of labels by string. [詳解]
|
|
virtual CV_WRAP void | clear () |
| Clears the algorithm state [詳解]
|
|
CV_WRAP void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
|
|
virtual CV_WRAP void | save (const String &filename) const |
|
virtual CV_WRAP String | getDefaultName () const |
|
Ptr< PredictCollector > collector | const = 0 |
|
void | writeFormat (FileStorage &fs) const |
|
int | _num_components |
|
double | _threshold |
|
std::vector< Mat > | _projections |
|
Mat | _labels |
|
Mat | _eigenvectors |
|
Mat | _eigenvalues |
|
Mat | _mean |
|
std::map< int, String > | _labelsInfo |
|