FaceAutoCaptureController

Face Auto Capture Controller component.

Types

Link copied to clipboard
data class Configuration @JvmOverloads constructor(val validators: List<FaceAutoCaptureDetectionValidator>, val minValidFramesInRowToStartCandidateSelection: Int = DEFAULT_MIN_VALID_FRAMES_IN_ROW_TO_START_CANDIDATE_SELECTION, val candidateSelectionDurationMillis: Int = DEFAULT_CANDIDATE_SELECTION_DURATION_MILLIS, val detectionNormalizedRectangle: RectangleDouble? = null, val sessionToken: String? = null)

Configuration for the Face Auto Capture Controller component.

Link copied to clipboard
data class ProcessingResult

Result of a processing operation. See process method.

Link copied to clipboard
data class Sample(val timestampMillis: Long, val bgraRawImage: BgraRawImage, 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.

abstract fun process(bgraRawImage: BgraRawImage, timestampMillis: Long): FaceAutoCaptureController.ProcessingResult

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