Commit 0aa58ae9 authored by berak's avatar berak

face: change the 'not found' label back to -1

parent 10ad8a91
...@@ -85,7 +85,7 @@ private: ...@@ -85,7 +85,7 @@ private:
public: public:
/** @brief creates new MinDistancePredictCollector with given threshhold */ /** @brief creates new MinDistancePredictCollector with given threshhold */
CV_WRAP MinDistancePredictCollector(double threshhold = DBL_MAX) : PredictCollector(threshhold) { CV_WRAP MinDistancePredictCollector(double threshhold = DBL_MAX) : PredictCollector(threshhold) {
_label = 0; _label = -1;
_dist = DBL_MAX; _dist = DBL_MAX;
}; };
CV_WRAP bool emit(const int label, const double dist, const int state = 0); CV_WRAP bool emit(const int label, const double dist, const int state = 0);
......
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