OpenCV  3.4.14
Open Source Computer Vision
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>

Inheritance diagram for cv::face::PredictCollector:
cv::face::StandardCollector

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