Biometrics Android
1.3
Search
K

ActivePassiveLivenessDetectionModel

import com.sybrin.livenessdetection.models.livenessDetectionModels.ActivePassiveLivenessDetectionModel

Summary

Inherited methods

castToModel(Class<T> class)
Casts the current model to the type specified by the class parameter.
Bitmap
String
Bitmap
String
void
saveImages(Context context)
Saves all images within the model to the local device and populates all path fields.

Public methods

getAllActionImages

public List<Bitmap> getAllActionImages ()
Returns a list of images captured when the subject performed its respective action.
Returns
List<Bitmap>
Value cannot be null.

getAllFocusImages

public List<Bitmap> getAllFocusImages ()
Returns a list of images captured when the subject refocused after performing a respective action.
Returns
List<Bitmap>
Value cannot be null.

getLivenessConfidence

public float getLivenessConfidence ()
Returns a floating point number indicating whether the subject is a real human or not.
Returns
float
0.0 if subject is 0% a real human(spoofed), 1.0 if subject is 100% a real human.

getLivenessDetectionQuestions

public LivenessDetectionQuestion[] getLivenessDetectionQuestions ()
Returns an array of LivenessDetectioniQuestion containing the subject's performance data during the liveness detection process.
Returns
Value cannot be null.