DocumentScanner

interface DocumentScanner

Interface for DocumentScanner API. See class documentation for more details.

Inheritors

Functions

Link copied to clipboard
abstract fun clearResult()

Clears the accumulated results. Should be called after a document has been detected to the customers satisfaction to prevent a poisoned cache.

Link copied to clipboard

Creates a copy of the current configuration value.

Link copied to clipboard

Detect the document contour in the given image.

Link copied to clipboard

Detect the document contour in the given image and crop it.

Link copied to clipboard
abstract fun setConfiguration(configuration: DocumentScannerConfiguration = DocumentScannerConfiguration( )): Result<Unit>

Inplace reconfigures the API instance with new settings.