Document Auto Capture Controller
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.
Functions
Link copied to clipboard
abstract fun process(sample: DocumentAutoCaptureController.Sample): DocumentAutoCaptureController.ProcessingResult
Process the sample and update internal state of the controller. This operation should be called on background thread.