I had implemented the Microblink Framework Version: 4.6.0 for iOS without installing Cocoapods and doing the Integration without CocoaPods.
I am using my own customized overlay view controller by passing it to your MBViewControllerFactory.
I am scanning the Emirates ID front and back with that and it is working fine, Just want to confirm the matching logic for the same that I had written for it. Please refer the below code for Matching Logic I had done.
MBUnitedArabEmiratesIdFrontRecognizer *emiratesIDFrontData = (MBUnitedArabEmiratesIdFrontRecognizer *)recognizer;
NSString *emiratesIdNumberFront = [emiratesIDFrontData.result.idNumber stringByReplacingOccurrencesOfString:@"-" withString:@""];
MBUnitedArabEmiratesIdBackRecognizer *emiratesIDBackData = (MBUnitedArabEmiratesIdBackRecognizer *)recognizer;
if([emiratesIdNumberFront isEqualToString: emiratesIDBackData.result.mrzResult.opt1]) {
NSLog(@"It's A Match");
} else {
NSLog(@"Please Try Again");
}
Is the above code fine for matching the Emirates ID Front and Back or Do I have to match some other keys as well for getting the proper match?