3DiVi Face SDK
3.24.1
|
Interface object used to estimate face liveness in order to prevent spoofing attacks. More...
#include <DepthLivenessEstimator.h>
Public Types | |
enum | Liveness { NOT_ENOUGH_DATA = 0, REAL = 1, FAKE = 2, NOT_COMPUTED = 3 } |
Estimated liveness. More... | |
typedef LightSmartPtr < DepthLivenessEstimator > ::tPtr | Ptr |
Alias for the type of a smart pointer to DepthLivenessEstimator. | |
Public Member Functions | |
Liveness | estimateLiveness (const pbio::RawSample &sample, const pbio::DepthMapRaw depth_map) |
Estimates liveness of the observed face. The given depth map must be synchronized and aligned with the original image from which the sample was captured. More... | |
Interface object used to estimate face liveness in order to prevent spoofing attacks.
|
inline |
Estimates liveness of the observed face. The given depth map must be synchronized and aligned with the original image from which the sample was captured.
[in] | sample | Face sample. |
[in] | depth_map | Depth map. |