VoiceSDK  5.0.2
Public Member Functions | Public Attributes | Friends | List of all members
voicesdk::LivenessResult::Value Struct Reference

Result value of successful liveness check. More...

#include <voicesdk/liveness/liveness.h>

Public Member Functions

 Value ()=default
 
 Value (float score, float probability)
 

Public Attributes

float score = 0.0f
 
float probability = 0.0f
 

Friends

std::ostream & operator<< (std::ostream &os, const Value &obj)
 

Detailed Description

Result value of successful liveness check.

Constructor & Destructor Documentation

◆ Value() [1/2]

voicesdk::LivenessResult::Value::Value ( )
default

◆ Value() [2/2]

voicesdk::LivenessResult::Value::Value ( float  score,
float  probability 
)
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Value obj 
)
friend

Member Data Documentation

◆ probability

float voicesdk::LivenessResult::Value::probability = 0.0f

Liveness probability from 0 to 1

◆ score

float voicesdk::LivenessResult::Value::score = 0.0f

Raw liveness score