DocumentAutoCaptureController

Document Auto Capture Controller component.

Types

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, 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): DocumentAutoCaptureController.ProcessingResult

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