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

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

Public Types

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

Public Member Functions

Liveness estimateLiveness (RawSample sample, 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...
 
- 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 in order to prevent spoofing attacks.

Member Enumeration Documentation

Estimated liveness.

Enumerator
NOT_ENOUGH_DATA 

Not enough information.

REAL 

The observed face belongs to a real person.

FAKE 

The observed face is taken from a photo.

NOT_COMPUTED 

The observed face was not checked.

Member Function Documentation

Liveness VDT.FaceRecognition.SDK.DepthLivenessEstimator.estimateLiveness ( RawSample  sample,
DepthMapRaw  depth_map 
)
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.

Parameters
[in]sampleFace sample.
[in]depth_mapDepth map.
Returns
Estimated liveness (see DepthLivenessEstimator.Liveness for details).