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

pull/797/head
Yuki Furuta 9 years ago
parent 6e1bdab176
commit ddce0d9df8
  1. 2
      modules/face/include/opencv2/face.hpp

@ -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;

Loading…
Cancel
Save