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

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

Classes

class  LivenessAndScore
 Estimated liveness and score. More...
 

Public Types

enum  Liveness {
  Liveness.NOT_ENOUGH_DATA = 0, Liveness.REAL = 1, Liveness.FAKE = 2, Liveness.NOT_COMPUTED = 3,
  Liveness.FACE_NOT_FULLY_FRAMED = 4, Liveness.MULTIPLE_FACE_FRAMED = 5, Liveness.FACE_TURNED_RIGHT = 6, Liveness.FACE_TURNED_LEFT = 7,
  Liveness.FACE_TURNED_UP = 8, Liveness.FACE_TURNED_DOWN = 9, Liveness.BAD_IMAGE_LIGHTING = 10, Liveness.BAD_IMAGE_NOISE = 11,
  Liveness.BAD_IMAGE_BLUR = 12, Liveness.BAD_IMAGE_FLARE = 13
}
 Estimated liveness. More...
 

Public Member Functions

Liveness estimateLiveness (RawSample sample)
 Estimates liveness of the observed face. More...
 
LivenessAndScore estimate (RawSample sample)
 liveness and score of an 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 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.

FACE_NOT_FULLY_FRAMED 

The observed face is out of image boundaries.

MULTIPLE_FACE_FRAMED 

More than one face detected on the input image.

FACE_TURNED_RIGHT 

The observed face is not frontal and turned right.

FACE_TURNED_LEFT 

The observed face is not frontal and turned left.

FACE_TURNED_UP 

The Observed face is not frontal and turned up.

FACE_TURNED_DOWN 

The Observed face is not frontal and turned down.

BAD_IMAGE_LIGHTING 

Input image has bad lighting.

BAD_IMAGE_NOISE 

Input image is too noisy.

BAD_IMAGE_BLUR 

Input image is too blurry.

BAD_IMAGE_FLARE 

Input image is too flared.

Member Function Documentation

LivenessAndScore VDT.FaceRecognition.SDK.Liveness2DEstimator.estimate ( RawSample  sample)
inline

liveness and score of an observed face.

Parameters
[in]sampleFace sample.
Returns
liveness and score (see LivenessAndScore for details).
Liveness VDT.FaceRecognition.SDK.Liveness2DEstimator.estimateLiveness ( RawSample  sample)
inline

Estimates liveness of the observed face.

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