OpenCV  4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
Public Member Functions | List of all members
cv::face::PredictCollector Class Referenceabstract

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 ( )
inlinevirtual

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
labelcurrent prediction label
distcurrent 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
sizetotal size of prediction evaluation that recognizer could perform

Reimplemented in cv::face::StandardCollector.


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