vsdk  7.1.1
Vsdk::Biometrics::Authenticator

ConsumerModule that performs user authentication (telling if the user talking is the one we expected to be talking) More...

Inheritance diagram for Vsdk::Biometrics::Authenticator:
Vsdk::Biometrics::Recognizer< AuthenticatorEventCode, AuthenticatorErrorCode > Vsdk::Audio::ConsumerModule

Public Member Functions

virtual void setUserToRecognize (std::string user)
 
auto userToRecognize () const -> std::string const &
 
- Public Member Functions inherited from Vsdk::Biometrics::Recognizer< AuthenticatorEventCode, AuthenticatorErrorCode >
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) More...
 
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 Attributes

std::string _userToRecognize
 
- Protected Attributes inherited from Vsdk::Biometrics::Recognizer< AuthenticatorEventCode, AuthenticatorErrorCode >
std::shared_ptr< Model_model
 
int _threshold
 

Additional Inherited Members

- Protected Member Functions inherited from Vsdk::Biometrics::Recognizer< AuthenticatorEventCode, AuthenticatorErrorCode >
virtual void onNewModelSet ()=0
 

Detailed Description

ConsumerModule that performs user authentication (telling if the user talking is the one we expected to be talking)

Member Function Documentation

◆ setUserToRecognize()

void Authenticator::setUserToRecognize ( std::string  user)
virtual

◆ userToRecognize()

auto Authenticator::userToRecognize ( ) const -> std::string const &

Member Data Documentation

◆ _userToRecognize

std::string Vsdk::Biometrics::Authenticator::_userToRecognize
protected