Class cv::face::PredictCollector#

Abstract base class for all strategies of prediction result handling.

Collaboration diagram for cv::face::PredictCollector:

Detailed Description#

Abstract base class for all strategies of prediction result handling.

Constructor & Destructor Documentation#

~PredictCollector()#

cv::face::PredictCollector::~PredictCollector()

Member Function Documentation#

collect()#

bool cv::face::PredictCollector::collect(
int label,
double dist )

Interface method called by face recognizer for each result.

Parameters

  • label — current prediction label

  • dist — current prediction distance (confidence)

init()#

void cv::face::PredictCollector::init(size_t size)

Interface method called by face recognizer before results processing.

Parameters

  • size — total size of prediction evaluation that recognizer could perform

Source file#

The documentation for this class was generated from the following file: