Configuration
Parameters
Front or back camera facing. Default value is CameraFacing.FRONT.
If torch is enabled during the process. If the camera doesn't have a flash unit, then this setting will be ignored. Default value is false
.
Face size to shorter preview container side ratio interval. Default value is [0.1, 0.3]
.
List of corners which defines where the user should look. Minimum allowed size of the list is equal to minValidSamplesCount
.
Minimum number of valid samples (images) required to finish the process. Allowed value is from interval [4, 7]
. Default value is 4
.
Transition type between segments. Default value is TransitionType.MOVE.
Duration of each transition in milliseconds. Default value is 800
.
Query for extra evaluations. It allows for additional processing beyond basic face detection. The default, FaceDetectionQuery, signifies no extra evaluations and is optimized for speed.
Session token provided by DIS (Digital Identity Service). Set the session token if the result should be posted to DIS for evaluation. Default value is null
.