DocumentAutoCaptureController

Document Auto Capture Controller component.

Types

Link copied to clipboard
data class Configuration(val context: Context, val validators: List<DocumentAutoCaptureFrameParametersValidator>, 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 Document Auto Capture Controller component.

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

Result of a processing operation. See process method.

Link copied to clipboard
data class Sample(val timestampMillis: Long, val image: Image)

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.