Biometrics Android
1.3
Search
K

LivenessDetectionQuestion

import com.sybrin.livenessdetection.models.livenessDetectionModels.LivenessDetectionQuestion

Summary

Public methods
Bitmap
String
String
Bitmap
String
Bitmap
String
Bitmap
String
String
boolean
boolean
void
saveImages(Context context)
Saves all images within the model to the local device and populates all path fields.

Public methods

getActionImage

public Bitmap getActionImage ()
Returns the image captured when the subject performed the liveness detection action.
Returns
Bitmap
Value cannot be null.

getActionImagePath

public String getActionImagePath ()
Returns the file path of the image captured when the subject performed the liveness detection action.
Returns
String
Value is null if image was not saved.

getActionLabel

public String getActionLabel ()
Returns the action instruction that the subject was expected to perform during the liveness detection process.
Returns
String
Expected action instruction text.

getCroppedActionImage

public Bitmap getCroppedActionImage ()
Returns the cropped image captured when the subject performed the liveness detection action.
Returns
Bitmap
Value cannot be null.

getCroppedActionImagePath

public String getCroppedActionImagePath ()
Returns the file path of the cropped image captured when the subject performed the liveness detection action.
Returns
String
Value is null if image was not saved.

getCroppedFocusImage

public Bitmap getCroppedFocusImage ()
Returns the cropped image captured when the subject refocused after performing the liveness detection action.
Returns
Bitmap
Value cannot be null.

getCroppedFocusImagePath

public String getCroppedFocusImagePath()
Returns the file path of the cropped image captured when the subject refocused after performing the liveness detection action.
Returns
String
Value is null if image was not saved.

getFocusImage

public Bitmap getFocusImage ()
Returns the image captured when the subject refocused after performing the liveness detection action.
Returns
Bitmap
Value cannot be null.

getFocusImagePath

public String getFocusImagePath ()
Returns the file path of the image captured when the subject refocused after performing the liveness detection action.
Returns
String
Value is null if image was not saved.

getFocusLabel

public String getFocusLabel ()
Returns the focus instruction that the subject was expected to perform during the liveness detection process.
Returns
String
Expected refocus instruction text.

isActionCompleted

public Bitmap isActionCompleted ()
Returns the a boolean indicating whether the subject completed the indicated action instruction.
Returns
boolean
true if action was completed, false if otherwise.

isFocusCompleted

public Bitmap isFocusCompleted ()
Returns the a boolean indicating whether the subject completed the indicated focus instruction.
Returns
boolean
true if focus instruction was completed, false if otherwise.

saveImages

public void saveImage (Context context)
Saves all images within the model to the local device and populates all path fields.
Parameters
Context
Value cannot be null.