Biometrics Android
1.3
Search
K

SybrinLivenessDetection

import com.sybrin.livenessdetection.SybrinLivenessDetection
To see this class and its functionality in action go visit our Liveness Detection feature page!

Summary

Static methods
Returns an already built instance of the SybrinLivenessDetection class.
getInstance(Context context, SybrinLivenessDetectionConfiguration configuration)
Creates and returns an instance of the SybrinLivenessDetection class.

Static methods

getBuiltInstance

public static SybrinLivenessDetection getBuiltInstance ()
Returns an already built instance of the SybrinLivenessDetection class.
Returns
This value cannot be null.

getInstance

public static SybrinLivenessDetection getInstance (Context context, SybrinLivenessDetectionConfiguration configuration)
Creates and returns an instance of the SybrinLivenessDetection class using the provided configuration.
Parameters
context
Context
configuration
SybrinLivenessDetectionConfiguration : The built configuration needed by the SDK to manipulate behavior.
Returns
This value cannot be null.

Public methods

getConfiguration

public SybrinLivenessDetectionConfiguration getConfiguration ()
Returns the SybrinLivenessDetectionConfiguration provided when the SybrinLivenessDetection instance was created.
Returns
This value cannot be null.

openActiveLivenessDetection

public ActiveLivenessDetector<ActiveLivenessDetectionModel> openActiveLivenessDetection ()
Starts the active liveness detection process.
Returns
This value cannot be null.

openActiveLivenessDetection

public ActiveLivenessDetector<ActiveLivenessDetectionModel> openActiveLivenessDetection (ActiveLivenessDetectionAction[] activeLivenessActions)
Starts the active liveness detection process with custom actions.
Parameters
activeLivenessActions
ActiveLivenessDetectionAction[]: Actions that the subject will be prompted with during the active liveness detection process.
Returns
This value cannot be null.

openActivePassiveLivenessDetection

public ActivePassiveLivenessDetector<ActivePassiveLivenessDetectionModel> openActivePassiveLivenessDetection ()
Starts the active liveness detection process.

openActivePassiveLivenessDetection

public ActivePassiveLivenessDetector<ActivePassiveLivenessDetectionModel> openActivePassiveLivenessDetection (ActivePassiveLivenessDetectionAction[] activePassiveLivenessActions)
Starts the active passive liveness detection process with custom actions.
Parameters
activePassiveLivenessActions
ActivePassiveLivenessDetectionAction[]: Actions that the subject will be prompted with during the active passive liveness detection process.

openPassiveLivenessDetection

public PassiveLivenessDetector<PassiveLivenessDetectionModel> openPassiveLivenessDetection()
Starts the passive liveness detection process.
Returns
This value cannot be null.

passiveLivenessDetectionFromImage

public SingleImagePassiveLivenessDetector<PassiveLivenessDetectionModel> passiveLivenessDetectionFromImage(Bitmap image)
Performs passive liveness detection on a single image.
Parameters
image
Bitmap: Image of face used for passive liveness detection.