This commit is contained in:
Konstantin Matskevich
2014-05-07 17:19:22 +04:00
parent 36afd4ef55
commit aa76ef9a98
3 changed files with 25 additions and 27 deletions

View File

@@ -952,10 +952,10 @@ namespace cv
virtual void setLabelsInfo(const std::map<int, string>& additionalInfo) = 0;
// Gets string information by label
virtual string getLabelInfo(const int label) = 0;
virtual string getLabelInfo(int label) const = 0;
// Gets labels by string
virtual vector<int> getLabelsByString(const string str) = 0;
virtual vector<int> getLabelsByString(const string& str) = 0;
};
CV_EXPORTS_W Ptr<FaceRecognizer> createEigenFaceRecognizer(int num_components = 0, double threshold = DBL_MAX);