the do / gr-peach-opencv-project

Fork of gr-peach-opencv-project by the do

Embed: (wiki syntax)

« Back to documentation index

PredictCollector Class Reference

PredictCollector Class Reference
[Face Recognition]

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

#include <predict_collector.hpp>

Inherited by StandardCollector.

Public Member Functions

virtual void init (size_t size)
 Interface method called by face recognizer before results processing.
virtual bool collect (int label, double dist)=0
 Interface method called by face recognizer for each result.

Detailed Description

Abstract base class for all strategies of prediction result handling.

Definition at line 61 of file predict_collector.hpp.


Member Function Documentation

virtual bool 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 StandardCollector.

virtual void init ( size_t  size ) [virtual]

Interface method called by face recognizer before results processing.

Parameters:
sizetotal size of prediction evaluation that recognizer could perform

Reimplemented in StandardCollector.

Definition at line 69 of file predict_collector.hpp.