Optional
documentOptional
isIndicates whether a beep sound is triggered upon a successful MRZ scan. When enabled (true), the scanner will play a sound to provide audible feedback.
Optional
isControls the visibility of the close button on the scanner's UI. If true, a close button will be displayed allowing users to exit the MRZ scanning interface.
Optional
isDetermines whether a guide frame is visible during scanning. The guide frame assists users in properly aligning the document for optimal MRZ detection. When set to true, a visual overlay is displayed on the scanning interface.
Optional
isDetermines whether the torch (flashlight) toggle button is visible on the scanning interface. Set to true to allow users to switch the device's flashlight on or off during MRZ scanning.
Optional
licenseThe license key required to initialize the MRZ scanenr.
Optional
templateSpecifies the template configuration for the MRZ scanner. This can be either a file path or a JSON string that defines various scanning parameters.
Optional
templateProvides a Node.js 'require' function to load the template file when running in a Node environment. This facilitates importing external template configuration files.
Specifies the type of document to be scanned for MRZ. This property accepts values defined in the EnumDocumentType, such as EnumDocumentType.DT_ALL, EnumDocumentType.DT_ID, or EnumDocumentType.DT_PASSPORT. It helps the scanner to optimize its processing based on the expected document type.