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

pull/501/head
berak 9 years ago
parent 10ad8a91de
commit 0aa58ae9b3
  1. 2
      modules/face/include/opencv2/face/predict_collector.hpp

@ -85,7 +85,7 @@ private:
public:
/** @brief creates new MinDistancePredictCollector with given threshhold */
CV_WRAP MinDistancePredictCollector(double threshhold = DBL_MAX) : PredictCollector(threshhold) {
_label = 0;
_label = -1;
_dist = DBL_MAX;
};
CV_WRAP bool emit(const int label, const double dist, const int state = 0);

Loading…
Cancel
Save