Call Center SDK
1.11.3
|
Result structure returned from AntispoofEngine::isSpoof functions. More...
#include <voicesdk/antispoof2/antispoof.h>
Public Member Functions | |
AntispoofResult (float score, float score_Replay, float score_TTS, float score_VC, std::string unsuitableInputMessage="") | |
AntispoofResult (const AntispoofResult &other)=default | |
bool | operator== (const AntispoofResult &other) const |
bool | isValid () |
Public Attributes | |
float | score = 0.0 |
float | score_Replay = 0.0 |
float | score_TTS = 0.0 |
float | score_VC = 0.0 |
std::string | unsuitableInputMessage |
Friends | |
std::ostream & | operator<< (std::ostream &os, const AntispoofResult &obj) |
Result structure returned from AntispoofEngine::isSpoof functions.
float voicesdk::AntispoofResult::score = 0.0 |
Human score
float voicesdk::AntispoofResult::score_Replay = 0.0 |
Replay attack score (reserved, always zero)
float voicesdk::AntispoofResult::score_TTS = 0.0 |
Text-to-speech attack score (reserved, always zero)
float voicesdk::AntispoofResult::score_VC = 0.0 |
Voice conversion attack score (reserved, always zero)
std::string voicesdk::AntispoofResult::unsuitableInputMessage |
Message that explains the reason for audio input to be unsuitable for spoof check