Class DocumentScannerConfiguration

Configuration for the document scanner.

Constructors

Properties

engineMode: DocumentScannerEngineMode = "ML"

The engine to use for document scanning.

Default is ML

parameters: DocumentScannerParameters = ...

Initial parameters for the document scanner.

partiallyVisibleDocumentConfiguration: PartiallyVisibleDocumentConfiguration = ...

Configuration for handling partially visible documents.

processingMode: ProcessingMode = "AUTO"

In live mode, the document scanner will return only the best document contour. In single-shot mode it will return additional document contours, suitable for use in the cropping screen.

Default is AUTO