Class MrzScannerConfiguration

Configuration for MRZ scanner.

Constructors

Properties

enableDetection: boolean = true

Enable MRZ detection. If disabled, the scanner skips the detection step and assumes that the input image is a crop of the MRZ area.

Default is true

frameAccumulationConfiguration: AccumulatedResultsVerifierConfiguration = ...

Configure the frame accumulation process.

incompleteResultHandling: MrzIncompleteResultHandling = "REJECT"

Defines how to handle incomplete MRZ results (e.g. caused by failed validation).

Default is REJECT

returnCrops: boolean = false

If true, crops of the detected MRZ and its fields will be returned in the result.

Default is false