Commit ddce0d9d authored by Yuki Furuta's avatar Yuki Furuta

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

parent 6e1bdab1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment