LivenessDetectionModel
import com.sybrin.livenessdetection.models.livenessDetectionModels.LivenessDetectionModel
Summary
Public methods
castToModel
public <T extends
LivenessDetectionModel
> castToModel (Class<T> class)
Casts the current model to the type specified by the class parameter. The specified type must be a child of LivenessDetectionModel.
getCroppedSelfieImage
public Bitmap getCroppedSelfieImage ()
Returns a cropped face image found during the liveness detection process.
getCroppedSelfieImagePath
public String getCroppedSelfieImagePath ()
Returns the file path of the saved cropped face image found during the liveness detection process.
getSelfieImage
public Bitmap getSelfieImage ()
Returns selfie image captured during the liveness detection process.
getSelfieImagePath
public String getSelfieImagePath()
Returns the file path of the saved portrait image.
saveImages
public void saveImage (Context context)
Saves all images within the model to the local device and populates all path fields.
Last updated