| OpenCV 3.4.7 Open Source Computer Vision

Public Member Functions | List of all members
cv::face::PredictCollector Class Referenceabstract
Face Analysis

Abstract base class for all strategies of prediction result handling. More...

`#include <opencv2/face/predict_collector.hpp>`

Inheritance diagram for cv::face::PredictCollector:

## Public Member Functions
virtual | ~PredictCollector ()
virtual bool | collect (int label, double dist)=0
| Interface method called by face recognizer for each result. More...
virtual void | init (size_t size)
| Interface method called by face recognizer before results processing. More...

## Detailed Description

Abstract base class for all strategies of prediction result handling.

## Constructor & Destructor Documentation

## § ~PredictCollector()

virtual cv::face::PredictCollector::~PredictCollector | ( |  | ) |
| inline virtual

## Member Function Documentation

## § 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 | ) |
| inline virtual

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:

- opencv2/face/predict_collector.hpp