ActivePassiveLivenessDetectionModel
Last updated
Last updated
import com.sybrin.livenessdetection.models.livenessDetectionModels.ActivePassiveLivenessDetectionModel
extend
LivenessDetectionModel
public List<Bitmap> getAllActionImages ()
Returns a list of images captured when the subject performed its respective action.
public List<Bitmap> getAllFocusImages ()
Returns a list of images captured when the subject refocused after performing a respective action.
public float getLivenessConfidence ()
Returns a floating point number indicating whether the subject is a real human or not.
public
LivenessDetectionQuestion
[]
getLivenessDetectionQuestions ()
Returns an array of LivenessDetectioniQuestion containing the subject's performance data during the liveness detection process.
List<Bitmap>
List<Bitmap>
float
<T extends LivenessDetectionModel>
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.
Returns
List<Bitmap>
Value cannot be null
.
Returns
List<Bitmap>
Value cannot be null
.
Returns
float
0.0
if subject is 0% a real human(spoofed), 1.0
if subject is 100% a real human.
Returns
Value cannot be null
.