IDLive Face C++ API 1.46.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
facesdk::LivenessResult Struct Reference

Structure for liveness detection result. More...

#include <facesdk/Pipeline.h>

Public Member Functions

 LivenessResult (float score, float probability)
 Create LivenessResult object.
 

Public Attributes

float score
 
float probability
 

Friends

std::ostream & operator<< (std::ostream &os, const LivenessResult &result)
 Override operator<<.
 

Detailed Description

Structure for liveness detection result.

Constructor & Destructor Documentation

◆ LivenessResult()

facesdk::LivenessResult::LivenessResult ( float  score,
float  probability 
)
inline

Create LivenessResult object.

Parameters
scoreScore value
probabilityProbability value

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const LivenessResult result 
)
friend

Override operator<<.

Parameters
osStream object reference
resultLivenessResult instance
Returns
stream reference

Member Data Documentation

◆ probability

float facesdk::LivenessResult::probability

Probability of liveness in range=[0, 1]

◆ score

float facesdk::LivenessResult::score

Classifiers RAW output