Base class for biometrics recognition. More...
#include <Recognizer.hpp>
Public Member Functions | |
| auto | model () const -> std::shared_ptr< Model > const & |
| void | setThreshold (int threshold) |
Sets a threshold of confidence that must be reached for the result to be accepted threshold Generally between 0 and 10 (depends on the provider, 10 means the engine will be the strictest) | |
| void | setModel (std::shared_ptr< Model > model) |
Public Member Functions inherited from Vsdk::Audio::ConsumerModule | |
| virtual | ~ConsumerModule ()=default |
| virtual void | process (Buffer const &, bool last)=0 |
Protected Member Functions | |
| virtual void | onNewModelSet ()=0 |
Protected Attributes | |
| std::shared_ptr< Model > | _model |
| int | _threshold = 5 |
Base class for biometrics recognition.
| auto Vsdk::Biometrics::Recognizer< EventCode, ErrorCode >::model | ( | ) | const -> std::shared_ptr<Model> const & |
| void Vsdk::Biometrics::Recognizer< EventCode, ErrorCode >::setThreshold | ( | int | threshold | ) |
Sets a threshold of confidence that must be reached for the result to be accepted threshold Generally between 0 and 10 (depends on the provider, 10 means the engine will be the strictest)
| void Vsdk::Biometrics::Recognizer< EventCode, ErrorCode >::setModel | ( | std::shared_ptr< Model > | model | ) |
|
protectedpure virtual |
|
protected |
|
protected |