MrzScanner

interface MrzScanner

Interface for MrzScanner 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 recognized 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
abstract fun run(image: ImageRef): Result<MrzScannerResult>

Recognize the MRZ in the given image.

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

Inplace reconfigures the API instance with new settings.