How to enable Mrz Mode

MRZ Scanning extracts critical data from the machine-readable zone of documents, particularly travel-related IDs such as passports and visas. This data includes personal information like name, nationality, passport number, and expiration date. MRZ scanning is essential in applications like border control, immigration, and identity verification.

For scanning MRZ, you will need the following package: https://www.npmjs.com/package/barkoder-wasm-ocr

This is the same as barkoder-wasm, except it is also capable of MRZ scanning.

                    Barkoder.setEnabledDecoders(Barkoder.constants.Decoders.IDDocument);
            

*However, you should keep in mind that you need a license key with MRZ enabled as well.

History:

close