6 #include <face_sdk_liveness/liveness.h> 56 virtual float value1()
const = 0;
60 virtual float value2()
const = 0;
64 virtual float value3()
const = 0;
67 typedef std::vector<std::shared_ptr<liveness_102_result>> liveness_102_result_set;
104 std::vector<std::shared_ptr<liveness_102_result>> FACE_SDK_EXPORT
liveness_results_102_cast(
const std::vector<std::shared_ptr<liveness_result>> &liveness_results);
detected face is out of image bounds
Definition: liveness_102.h:47
The config for liveness 102 algorithm.
Definition: liveness_102.h:73
detected face width is too big. The ratio of the distance between the eyes and the image size must no...
Definition: liveness_102.h:31
virtual float value2() const =0
predicted value2. All three values must be greater than corresponsding thresholds for passing livenes...
The liveness_result object. The result object can be casted to specific liveness depending on livenes...
Definition: liveness.h:24
The result of liveness 102 algorithm.
Definition: liveness_102.h:19
std::shared_ptr< liveness_102_config > make_liveness_102_config(float threshold1, float threshold2, float threshold3)
Makes config for liveness 102 with specified thresholds.
Definition: alignment_info.h:8
virtual float threshold2() const =0
threshold for livenes_102_result::value2(). All three values must be greater than corresponsding thre...
std::shared_ptr< liveness_102_config > make_liveness_102_default_config()
Makes config for liveness 102 with default thresholds.
given face_sdk::face object was made by unsupported face detector version. See list of dependencies...
Definition: liveness_102.h:43
Liveness config. Each liveness version its own config. Use specific factory functions to make configu...
Definition: liveness.h:48
virtual float value1() const =0
predicted value1. All three values must be greater than corresponsding thresholds for passing livenes...
detected face rool angle is too big. The angle must not be greater than 25
Definition: liveness_102.h:39
detected face yaw angle is too big. The angle must not be greater than 25
Definition: liveness_102.h:35
input image is too small. Width and Height of the image must be not less than 128 ...
Definition: liveness_102.h:27
virtual float value3() const =0
predicted value3. All three values must be greater than corresponsding thresholds for passing livenes...
std::vector< std::shared_ptr< liveness_102_result > > liveness_results_102_cast(const std::vector< std::shared_ptr< liveness_result >> &liveness_results)
Casts face_sdk::liveness_result to face_sdk::liveness_102_result.
virtual float threshold3() const =0
threshold for livenes_102_result::value3(). All three values must be greater than corresponsding thre...
virtual float threshold1() const =0
threshold for livenes_102_result::value1(). All three values must be greater than corresponsding thre...