Eye Gaze Liveness Fragment
Deprecated
Use MultiRangeLivenessFragment instead.
UI Eye Gaze Liveness component.
A visual component for capturing images suitable for Eye Gaze Liveness evaluation.
Types
Link copied to clipboard
data class Configuration(val corners: List<Corner>, val common: CommonConfiguration = CommonConfiguration(), val camera: CameraConfiguration = CameraConfiguration(
facing = CameraFacing.FRONT,
), val faceLibraryComponent: FaceLibraryComponentConfiguration = FaceLibraryComponentConfiguration(
faceSizeRatioInterval = FaceAutoCaptureController.Configuration.DEFAULT_FACE_SIZE_RATIO_INTERVAL,
), val minValidSamplesCount: Int = 4, val transitionType: EyeGazeLivenessFragment.Configuration.TransitionType = TransitionType.MOVE, val transitionDurationMillis: Int = 800)
Configuration for the UI Eye Gaze Liveness component.
Functions
Link copied to clipboard
Called when all specified corners has been used, but accepted sample count has not been reached. Once this callback is called, the whole process is considered to be over.
Link copied to clipboard
Called when the process is unable to continue. Either the face is not detected anymore or the eyes are not visible clearly. Once this callback is called, the whole process is considered to be over.
Link copied to clipboard
Called only once for the whole process. Once this callback is called, the whole process is considered to be over.
Link copied to clipboard
Provides the Configuration for the component.
Link copied to clipboard