3DiVi Face SDK
3.24.2
|
Interface object used to estimate face liveness to prevent spoofing attacks. More...
#include <LivenessEstimator.h>
Public Types | |
enum | Liveness { NOT_ENOUGH_DATA = 0, REAL = 1, FAKE = 2 } |
Estimated liveness. More... | |
typedef LightSmartPtr < LivenessEstimator >::tPtr | Ptr |
Alias for the type of a smart pointer to LivenessEstimator. | |
Public Member Functions | |
void | addSample (const pbio::RawSample &) |
Add a sample of the observed face from the new frame. More... | |
Liveness | estimateLiveness () |
Estimate liveness of the observed face. More... | |
Interface object used to estimate face liveness to prevent spoofing attacks.
|
inline |
Add a sample of the observed face from the new frame.
[in] | sample | Face sample. |
|
inline |
Estimate liveness of the observed face.