MrzModuleSettings

data class MrzModuleSettings(val presenceMandatory: Boolean = false) : Parcelable

Settings for the MRZ (Machine Readable Zone) extraction module.

This module is dedicated to the detection and parsing of machine-readable zone typically found on passports, visas, and identity cards.

Constructors

Link copied to clipboard
constructor(presenceMandatory: Boolean = false)

Properties

Link copied to clipboard

If set to true, Mrz presence becomes mandatory for the scanned document regardless of the document rules. For Single ScanningMode, the Mrz must be present on the scanned side. For Automatic ScanningMode, the Mrz must be present on one of the scanned sides. In case of a timeout and advancement to the next step in the scanning flow, if a Mrz is detected on the scanned side but cannot be extracted, the presence requirement is considered fulfilled. As a result, Mrz extraction will no longer be a requirement to complete the scan on next side. Defaults to false.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)