mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 11:21:39 +08:00
[face.hpp] add virtual method setThreshold for FaceRecognizer class
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user