MRZ
Accura Scan’s MRZ scans and extracts the MRZ data from any government Id globally.
The method use to Scan MRZ
accuraService.StartMRZ(configObj, MRZType, CountryList, appOriantation, new AccuraScanResultCallBack());
Parameter:
configObj: { enableLogs: false }
MRZType: String(e.g. 'other_mrz' or 'passport_mrz' or 'id_mrz' or 'visa_mrz')
CountryList: String (Default 'all')
Orientation: String (Default portrait)
Response:
Success: JSON Response Error: String
Example Functions:
public partial class MainPage : ContentPage
{
public MainPage()
{
JObject configObj = JObject.Parse(@"{
'enableLogs' : false
}");
String mrz_type = "passport_mrz";
accuraService.StartMRZ(configObj.ToString(), mrz_type, "all", appOriantation, new AccuraScanResultCallBack());
}
}
public class AccuraScanResultCallBack : AccuraServiceCallBack {
public void InvokeResult(string error, string result) {
if (error != null) {
// Error block.
}
else {
// Result from the SDK
}
}
}
Last updated