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. |
Public methods | |
openActiveLivenessDetection(ActiveLivenessDetectionAction[] activeLivenessActions) | |
openActivePassiveLivenessDetection(ActivePassiveLivenessDetectionAction[] activePassiveLivenessActions) | |
passiveLivenessDetectionFromImage(Bitmap image) |
Static methods
getBuiltInstance
public static
SybrinLivenessDetection
getBuiltInstance ()
Returns an already built instance of the SybrinLivenessDetection class.
Returns | |
This value cannot be |
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 |
Public methods
getConfiguration
public
SybrinLivenessDetectionConfiguration
getConfiguration ()
Returns the SybrinLivenessDetectionConfiguration provided when the SybrinLivenessDetection instance was created.
Returns | |
This value cannot be |
openActiveLivenessDetection
public
ActiveLivenessDetector
<
ActiveLivenessDetectionModel
> openActiveLivenessDetection ()
Starts the active liveness detection process.
Returns | |
This value cannot be |
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 |
openActivePassiveLivenessDetection
public
ActivePassiveLivenessDetector
<
ActivePassiveLivenessDetectionModel
> openActivePassiveLivenessDetection ()
Starts the active liveness detection process.
Returns | |
This value cannot be |
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. |
Returns | |
This value cannot be |
openPassiveLivenessDetection
public
PassiveLivenessDetector
<
PassiveLivenessDetectionModel
> openPassiveLivenessDetection()
Starts the passive liveness detection process.
Returns | |
This value cannot be |
passiveLivenessDetectionFromImage
public
SingleImagePassiveLivenessDetector
<
PassiveLivenessDetectionModel
> passiveLivenessDetectionFromImage(Bitmap image)
Performs passive liveness detection on a single image.
Parameters | |
| Bitmap: Image of face used for passive liveness detection. |
Returns | |
This value cannot be |
Last updated