Builder

Deprecated

Use DocumentAutoCaptureController.Configuration instead.

Configuration builder.

Parameters

context

Android context.

validators

List of validators. Validations are applied in the same order in which they are stored in the list.

Throws

if any of the validators has a missing dependency.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Duration of candidate selection in milliseconds.

Link copied to clipboard
fun detectionNormalizedRectangle(detectionNormalizedRectangle: RectangleDouble): DocumentAutoCaptureControllerConfiguration.Builder

Rectangle of a submitted image (via the DocumentAutoCaptureController.process method) where a document should be detected. The rectangle defines an area inside the image.

Link copied to clipboard
fun imageParametersNormalizedRectangle(imageParametersNormalizedRectangle: RectangleDouble): DocumentAutoCaptureControllerConfiguration.Builder

Rectangle of a submitted image (via the DocumentAutoCaptureController.process method) where image parameters should be calculated. The rectangle defines an area inside the image.

Minimum number of valid frames in a row to start candidate selection.

Link copied to clipboard

Session token provided by DIS (Digital Identity Service). Set the session token if the result should be posted to DIS for evaluation.