Abstract base class for all strategies of prediction result handling.
More...
#include <opencv2/face/predict_collector.hpp>
|
virtual | ~PredictCollector () |
|
virtual bool | collect (int label, double dist)=0 |
| Interface method called by face recognizer for each result.
|
|
virtual void | init (size_t size) |
| Interface method called by face recognizer before results processing.
|
|
Abstract base class for all strategies of prediction result handling.
◆ ~PredictCollector()
virtual cv::face::PredictCollector::~PredictCollector |
( |
| ) |
|
|
inlinevirtual |
◆ collect()
virtual bool cv::face::PredictCollector::collect |
( |
int | label, |
|
|
double | dist ) |
|
pure virtual |
Interface method called by face recognizer for each result.
- Parameters
-
label | current prediction label |
dist | current prediction distance (confidence) |
Implemented in cv::face::StandardCollector.
◆ init()
virtual void cv::face::PredictCollector::init |
( |
size_t | size | ) |
|
|
inlinevirtual |
Interface method called by face recognizer before results processing.
- Parameters
-
size | total size of prediction evaluation that recognizer could perform |
Reimplemented in cv::face::StandardCollector.
The documentation for this class was generated from the following file: