FaceAutoCaptureController

Face Auto Capture Controller component.

Types

Link copied to clipboard
data class Configuration(val context: Context, val validators: List<FaceAutoCaptureFrameParametersValidator>, val common: CommonConfiguration = CommonConfiguration(), val autoCapture: AutoCaptureConfiguration = AutoCaptureConfiguration( minValidSamplesInRowToStartCandidateSelection = DEFAULT_MIN_VALID_SAMPLES_IN_ROW_TO_START_CANDIDATE_SELECTION, candidateSelectionDurationMillis = DEFAULT_CANDIDATE_SELECTION_DURATION_MILLIS, ), val detectionArea: RectangleDouble? = null)

Configuration for the Face Auto Capture Controller component.

Link copied to clipboard
data class ProcessingResult(val detection: FaceAutoCaptureDetection, val phase: Phase, val result: FaceAutoCaptureResult?)

Result of a processing operation. See process method.

Link copied to clipboard
data class Sample(val timestampMillis: Long, val image: Image, val deviceTiltAngles: TiltAngles? = null, totalCaptureResult: TotalCaptureResult? = null)

Sample (or snapshot) at a single point in time.

Functions

Link copied to clipboard

Process the sample and update internal state of the controller. This operation should be called on background thread.