LivenessDetectionQuestion
Last updated
Last updated
import com.sybrin.livenessdetection.models.livenessDetectionModels.LivenessDetectionQuestion
public Bitmap getActionImage ()
Returns the image captured when the subject performed the liveness detection action.
public String getActionImagePath ()
Returns the file path of the image captured when the subject performed the liveness detection action.
public String getActionLabel ()
Returns the action instruction that the subject was expected to perform during the liveness detection process.
public Bitmap getCroppedActionImage ()
Returns the cropped image captured when the subject performed the liveness detection action.
public String getCroppedActionImagePath ()
Returns the file path of the cropped image captured when the subject performed the liveness detection action.
public Bitmap getCroppedFocusImage ()
Returns the cropped image captured when the subject refocused after performing the liveness detection action.
public String getCroppedFocusImagePath()
Returns the file path of the cropped image captured when the subject refocused after performing the liveness detection action.
public Bitmap getFocusImage ()
Returns the image captured when the subject refocused after performing the liveness detection action.
public String getFocusImagePath ()
Returns the file path of the image captured when the subject refocused after performing the liveness detection action.
public String getFocusLabel ()
Returns the focus instruction that the subject was expected to perform during the liveness detection process.
public Bitmap isActionCompleted ()
Returns the a boolean indicating whether the subject completed the indicated action instruction.
public Bitmap isFocusCompleted ()
Returns the a boolean indicating whether the subject completed the indicated focus instruction.
public void saveImage (Context context)
Saves all images within the model to the local device and populates all path fields.
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.
Returns
Bitmap
Value cannot be null.
Returns
String
Value is null
if image was not saved.
Returns
String
Expected action instruction text.
Returns
Bitmap
Value cannot be null.
Returns
String
Value is null
if image was not saved.
Returns
Bitmap
Value cannot be null.
Returns
String
Value is null
if image was not saved.
Returns
Bitmap
Value cannot be null.
Returns
String
Value is null
if image was not saved.
Returns
String
Expected refocus instruction text.
Returns
boolean
true
if action was completed, false
if otherwise.
Returns
boolean
true
if focus instruction was completed, false
if otherwise.
Parameters
Context
Value cannot be null
.