|
IDLive Face new C++ API 1.50.4
|
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< BoundingBox > | box |
| The bounding box around the detected face. | |
| std::vector< Validation > | failed_validations |
| List of validations that have failed to pass. | |
The result of the face analysis.
| 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.
| std::vector<Validation> idliveface::FaceAnalysisResult::failed_validations |
List of validations that have failed to pass.
Only filled when the status is set to kInvalid.
| 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.
| 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.