public interface FaceAuthSettings
FaceAuthEnrollerSettings
and FaceAuthVerifierSettings
Modifier and Type | Interface and Description |
---|---|
static class |
FaceAuthSettings.FaceAuthLivenessMode
The defined liveness modes.
|
Modifier and Type | Method and Description |
---|---|
int |
getLivenessBlinkTimeout()
Blink timeout.
|
FaceAuthSettings.FaceAuthLivenessMode |
getLivenessMode()
The liveness mode
|
int |
getLivenessThreshold()
The Liveness threshold.
|
int |
getQualityThreshold()
The Quality threshold.
|
void |
setLivenessBlinkTimeout(int timeout)
Blink timeout in milliseconds.
|
void |
setLivenessMode(FaceAuthSettings.FaceAuthLivenessMode mode)
Set the liveness mode to be use.
|
void |
setLivenessThreshold(int threshold)
Set the liveness threshold.
|
void |
setQualityThreshold(int threshold)
Set the quality threshold.
|
void setLivenessMode(FaceAuthSettings.FaceAuthLivenessMode mode)
FaceAuthSettings.FaceAuthLivenessMode.IMAGE
mode is supported.FaceAuthSettings.FaceAuthLivenessMode.LIVENESS_PASSIVE
mode is highly recommended for user
verification.mode
- mode to use during next biometric face actionFaceAuthSettings.FaceAuthLivenessMode getLivenessMode()
void setLivenessThreshold(int threshold)
threshold
- value between 0 to 100int getLivenessThreshold()
void setLivenessBlinkTimeout(int timeout)
FaceAuthSettings.FaceAuthLivenessMode.LIVENESS_PASSIVE
mode. Liveness action instruction will be given
inside the frame event callback. Once 'blink' action is asked by the SDK,
if blink action is not detected by the camera within the configured
timeout, face extraction will fail.timeout
- timeoutint getLivenessBlinkTimeout()
void setQualityThreshold(int threshold)
threshold
- value between 0 to 100int getQualityThreshold()