MRZ
Accura Scan’s MRZ scans and extracts the MRZ data from any government Id globally.
The method use to Start MRZ scanning is
AccuraOcr.startMRZ(config)var config = [
mrzselected, //pass either of the following passport_mrz, id_mrz, visa_mrz, other_mrz (String)
];The example function is shown below
Future<void> startMRZ() async {
try {
var config = [
mrzselected,
];
await AccuraOcr.startMRZ(config)
.then((value) => {
setState((){
dynamic result = json.decode(value);
})
}).onError((error, stackTrace) => {
});
} on PlatformException {}
}Response:
Last updated