3DiVi Face SDK  3.21.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
VDT.FaceRecognition.SDK.LivenessEstimator Class Reference

Interface object used to estimate face liveness to prevent spoofing attacks. More...

Public Types

enum  Liveness { Liveness.NOT_ENOUGH_DATA = 0, Liveness.REAL = 1, Liveness.FAKE = 2 }
 Estimated liveness. More...
 

Public Member Functions

void addSample (RawSample sample)
 Add a sample of the observed face from the new frame. More...
 
Liveness estimateLiveness ()
 Estimate liveness of the observed face. More...
 
- Public Member Functions inherited from VDT.FaceRecognition.SDK.IDisposableObject
virtual void Dispose ()
 Release internal object.
 

Additional Inherited Members

- Properties inherited from VDT.FaceRecognition.SDK.IDisposableObject
bool isDisposed [get]
 True if internal object already disposed.
 

Detailed Description

Interface object used to estimate face liveness to prevent spoofing attacks.

Member Enumeration Documentation

Estimated liveness.

Enumerator
NOT_ENOUGH_DATA 

Not enough information.

REAL 

The observed face belongs to a living person.

FAKE 

The observed face is taken from a photo.

Member Function Documentation

void VDT.FaceRecognition.SDK.LivenessEstimator.addSample ( RawSample  sample)
inline

Add a sample of the observed face from the new frame.

Parameters
[in]sampleFace sample.
Liveness VDT.FaceRecognition.SDK.LivenessEstimator.estimateLiveness ( )
inline

Estimate liveness of the observed face.

Returns
Estimated liveness.