diff --git a/modules/face/include/opencv2/face.hpp b/modules/face/include/opencv2/face.hpp index 57e15a3ed..a90a1da61 100644 --- a/modules/face/include/opencv2/face.hpp +++ b/modules/face/include/opencv2/face.hpp @@ -359,6 +359,8 @@ public: CV_WRAP virtual std::vector 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 _labelsInfo;