Abstract base class for all strategies of prediction result handling.
More...
#include "predict_collector.hpp"
|
| PredictCollector (double threshhold=DBL_MAX) |
| creates new predict collector with given threshhold More...
|
|
virtual | ~PredictCollector () |
|
virtual bool | emit (const int label, const double dist, const int state=0) |
| called with every recognition result More...
|
|
virtual void | init (const int size, const int state=0) |
| called once at start of recognition More...
|
|
Abstract base class for all strategies of prediction result handling.
cv::face::PredictCollector::PredictCollector |
( |
double |
threshhold = DBL_MAX | ) |
|
|
inline |
creates new predict collector with given threshhold
virtual cv::face::PredictCollector::~PredictCollector |
( |
| ) |
|
|
inlinevirtual |
virtual bool cv::face::PredictCollector::emit |
( |
const int |
label, |
|
|
const double |
dist, |
|
|
const int |
state = 0 |
|
) |
| |
|
virtual |
called with every recognition result
- Parameters
-
label | current prediction label |
dist | current prediction distance (confidence) |
state | user defined send-to-back optional value to allow multi-thread, multi-session or aggregation scenarios |
- Returns
- true if recognizer should proceed prediction , false - if recognizer should terminate prediction
Reimplemented in cv::face::MinDistancePredictCollector.
virtual void cv::face::PredictCollector::init |
( |
const int |
size, |
|
|
const int |
state = 0 |
|
) |
| |
|
virtual |
called once at start of recognition
- Parameters
-
size | total size of prediction evaluation that recognizer could perform |
state | user defined send-to-back optional value to allow multi-thread, multi-session or aggregation scenarios |
int cv::face::PredictCollector::_size |
|
protected |
int cv::face::PredictCollector::_state |
|
protected |
double cv::face::PredictCollector::_threshhold |
|
protected |
The documentation for this class was generated from the following file: