IDLive Face new C++ API 1.46.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
idliveface::FaceAnalysisResult Struct Reference

The result of the face analysis. More...

#include <idliveface/idliveface.h>

Public Attributes

FaceStatus status
 The status of the analyzed face.
 
Optional< float > genuine_probability
 The probability that the face is genuine and belongs to a real person.
 
Optional< BoundingBoxbox
 The bounding box around the detected face.
 
std::vector< Validationfailed_validations
 List of validations that have failed to pass.
 

Detailed Description

The result of the face analysis.

Member Data Documentation

◆ box

Optional<BoundingBox> idliveface::FaceAnalysisResult::box

The bounding box around the detected face.

Filled when the face was detected, even when the resulting status is kInvalid. Empty if no faces were detected.

◆ failed_validations

std::vector<Validation> idliveface::FaceAnalysisResult::failed_validations

List of validations that have failed to pass.

Only filled when the status is set to kInvalid.

◆ genuine_probability

Optional<float> idliveface::FaceAnalysisResult::genuine_probability

The probability that the face is genuine and belongs to a real person.

Ranges from 0 (not genuine) to 1 (genuine). The face can be considered genuine when the probability is higher or equal to 0.5.

Empty when the status is kInvalid.

◆ status

FaceStatus idliveface::FaceAnalysisResult::status

The status of the analyzed face.

Set to kGenuine when genuine_probability is higher or equal to 0.5, and to kNotGenuine otherwise. The status kInvalid means some validations did non pass. They can be found in the failed_validations.