Builder

class Builder(validators: List<FaceAutoCaptureDetectionValidator>)

Configuration builder.

Parameters

validators

List of validators. Validations are applied in the same order in which they are stored in the list.

Constructors

Link copied to clipboard
fun Builder(validators: List<FaceAutoCaptureDetectionValidator>)

Functions

Link copied to clipboard
fun build(): FaceAutoCaptureControllerConfiguration
Link copied to clipboard
fun candidateSelectionDurationMillis(candidateSelectionDurationMillis: Int): FaceAutoCaptureControllerConfiguration.Builder

Duration of candidate selection in milliseconds.

Link copied to clipboard
fun detectionNormalizedRectangle(detectionNormalizedRectangle: RectangleDouble): FaceAutoCaptureControllerConfiguration.Builder

Rectangle of a submitted image (via the FaceAutoCaptureController.process method) where a face should be detected. The rectangle defines an area inside the image.

fun minValidFramesInRowToStartCandidateSelection(minValidFramesInRowToStartCandidateSelection: Int): FaceAutoCaptureControllerConfiguration.Builder

Minimum number of valid frames in a row to start candidate selection.