public interface FaceAuthFrameEvent
Modifier and Type | Method and Description |
---|---|
android.graphics.Rect |
getFaceCoordinate()
Retrieve a rectangle where user face has been detected
|
FaceAuthImage |
getImage()
Get the captured face image.
|
FaceAuthStatus |
getLastFaceExtractionStatus()
Return the
FaceAuthStatus of the last addFaceToEnroll action. |
EnumSet<FaceAuthLivenessAction> |
getLivenessAction()
Retrieve the
FaceAuthLivenessAction needed by the face engine, if an action is
needed
This only applies to FaceAuthVerifier ; The action will contain the instructions
to the user in order to complete the verification. |
int |
getLivenessScore()
Retrieve the liveness score in the range of [0..100] of the captured
frame if liveness mode is
FaceAuthSettings.FaceAuthLivenessMode.LIVENESS_PASSIVE
. |
float |
getPitchAngle()
Retrieve the pitch angle of the user face
|
float |
getRollAngle()
Retrieve the roll angle of the user face
|
FaceAuthStatus |
getStatus()
Retrieve the
FaceAuthStatus associated with this frame |
float |
getYawAngle()
Retrieve the yaw angle of the user face
|
android.graphics.Rect getFaceCoordinate()
float getYawAngle()
float getPitchAngle()
float getRollAngle()
int getLivenessScore()
FaceAuthSettings.FaceAuthLivenessMode.LIVENESS_PASSIVE
. Otherwise 254 is returned
This only applies to FaceAuthVerifier
;FaceAuthStatus getStatus()
FaceAuthStatus
associated with this frameFaceAuthStatus getLastFaceExtractionStatus()
FaceAuthStatus
of the last addFaceToEnroll action.
This only applies to FaceAuthEnroller
;EnumSet<FaceAuthLivenessAction> getLivenessAction()
FaceAuthLivenessAction
needed by the face engine, if an action is
needed
This only applies to FaceAuthVerifier
; The action will contain the instructions
to the user in order to complete the verification.
eg: keep still or blinkFaceAuthImage getImage()