| OpenCV 5.0.0alpha Open Source Computer Vision

Loading...
Searching...
No Matches
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>`

Collaboration 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.
virtual void | init (size_t size)
| Interface method called by face recognizer before results processing.

## 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