1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 19:44:14 +08:00

[face.hpp] add virtual method setThreshold for FaceRecognizer class

This commit is contained in:
Yuki Furuta
2016-10-04 18:24:28 +02:00
parent 6e1bdab176
commit ddce0d9df8

View File

@@ -359,6 +359,8 @@ public:
CV_WRAP virtual std::vector<int> getLabelsByString(const String& str) const;
/** @brief threshold parameter accessor - required for default BestMinDist collector */
virtual double getThreshold() const = 0;
/** @brief Sets threshold of model */
virtual void setThreshold(double val) = 0;
protected:
// Stored pairs "label id - string info"
std::map<int, String> _labelsInfo;