MrzHelper.check Method¶
Module: MrzHelper
Definition¶
Checks the validity of a single line of an MRZ of a given type by checking the check digits.
@staticmethod
check(text: str, type: MrzType) -> bool
Parameters
Returns
bool
The result of the verification.
Exceptions
An error has occurred during Document Library execution.
static bool check(String? text, MrzType type)
Parameters
text
Stringin The input MRZ line.type
MrzTypein The input MRZ type according to ICAO-9303 standard.
Returns
bool
The result of the verification.
Exceptions
An error has occurred during Document Library execution.
public static bool Check(string text, MrzType type)
Parameters
text
stringin The input MRZ line.type
MrzTypein The input MRZ type according to ICAO-9303 standard.
Returns
bool
The result of the verification.
Exceptions
An error has occurred during Document Library execution.
public static boolean check(String text, MrzType type) throws DocumentException
Parameters
text
Stringin The input MRZ line.type
MrzTypein The input MRZ type according to ICAO-9303 standard.
Returns
boolean
The result of the verification.
Exceptions
An error has occurred during Document Library execution.
public static func check(text: String, type: MrzType) throws -> Bool
Parameters
text
Stringin The input MRZ line.type
MrzTypein The input MRZ type according to ICAO-9303 standard.
Returns
Bool
The result of the verification.
Exceptions
An error has occurred during Document Library execution.
int id3DocumentMrzHelper_Check (
const char * text,
id3DocumentMrzType eType,
bool * validity)
Parameters
text
const char *in The input MRZ line.eType
id3DocumentMrzTypein The input MRZ type according to ICAO-9303 standard.validity
bool *out The result of the verification.
Returns