SybrinLivenessDetection
Last updated
Last updated
import com.sybrin.livenessdetection.SybrinLivenessDetection
To see this class and its functionality in action go visit our Liveness Detection feature page!
public static
SybrinLivenessDetection
getBuiltInstance ()
Returns an already built instance of the SybrinLivenessDetection class.
public static
SybrinLivenessDetection
getInstance (Context context,
SybrinLivenessDetectionConfiguration
configuration)
Creates and returns an instance of the SybrinLivenessDetection class using the provided configuration.
public
SybrinLivenessDetectionConfiguration
getConfiguration ()
Returns the SybrinLivenessDetectionConfiguration provided when the SybrinLivenessDetection instance was created.
public
ActiveLivenessDetector
<
ActiveLivenessDetectionModel
> openActiveLivenessDetection ()
Starts the active liveness detection process.
public
ActiveLivenessDetector
<
ActiveLivenessDetectionModel
> openActiveLivenessDetection (
ActiveLivenessDetectionAction
[] activeLivenessActions)
Starts the active liveness detection process with custom actions.
public
ActivePassiveLivenessDetector
<
ActivePassiveLivenessDetectionModel
> openActivePassiveLivenessDetection ()
Starts the active liveness detection process.
public
ActivePassiveLivenessDetector
<
ActivePassiveLivenessDetectionModel
> openActivePassiveLivenessDetection (
ActivePassiveLivenessDetectionAction
[] activePassiveLivenessActions)
Starts the active passive liveness detection process with custom actions.
public
PassiveLivenessDetector
<
PassiveLivenessDetectionModel
> openPassiveLivenessDetection()
Starts the passive liveness detection process.
public
SingleImagePassiveLivenessDetector
<
PassiveLivenessDetectionModel
> passiveLivenessDetectionFromImage(Bitmap image)
Performs passive liveness detection on a single image.
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.
Public methods
openActiveLivenessDetection(ActiveLivenessDetectionAction[] activeLivenessActions)
openActivePassiveLivenessDetection(ActivePassiveLivenessDetectionAction[] activePassiveLivenessActions)
passiveLivenessDetectionFromImage(Bitmap image)
Returns
This value cannot be null
.
Parameters
context
Context
configuration
SybrinLivenessDetectionConfiguration : The built configuration needed by the SDK to manipulate behavior.
Returns
This value cannot be null
.
Returns
This value cannot be null
.
Returns
This value cannot be null
.
Parameters
activeLivenessActions
ActiveLivenessDetectionAction[]: Actions that the subject will be prompted with during the active liveness detection process.
Returns
This value cannot be null
.
Returns
This value cannot be null
.
Parameters
activePassiveLivenessActions
ActivePassiveLivenessDetectionAction[]: Actions that the subject will be prompted with during the active passive liveness detection process.
Returns
This value cannot be null
.
Returns
This value cannot be null
.
Parameters
image
Bitmap: Image of face used for passive liveness detection.
Returns
This value cannot be null
.