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
boolThe result of the verification.
Exceptions
An error has occurred during Document Library execution.
static bool check(String? text, MrzType type)
Parameters
textStringin The input MRZ line.typeMrzTypein The input MRZ type according to ICAO-9303 standard.
Returns
boolThe result of the verification.
Exceptions
An error has occurred during Document Library execution.
public static bool Check(string text, MrzType type)
Parameters
textstringin The input MRZ line.typeMrzTypein The input MRZ type according to ICAO-9303 standard.
Returns
boolThe result of the verification.
Exceptions
An error has occurred during Document Library execution.
public static boolean check(String text, MrzType type) throws DocumentException
Parameters
textStringin The input MRZ line.typeMrzTypein The input MRZ type according to ICAO-9303 standard.
Returns
booleanThe result of the verification.
Exceptions
An error has occurred during Document Library execution.
public static func check(text: String, type: MrzType) throws -> Bool
Parameters
textStringin The input MRZ line.typeMrzTypein The input MRZ type according to ICAO-9303 standard.
Returns
BoolThe result of the verification.
Exceptions
An error has occurred during Document Library execution.
int id3DocumentMrzHelper_Check (
const char * text,
id3DocumentMrzType eType,
bool * validity)
Parameters
textconst char *in The input MRZ line.eTypeid3DocumentMrzTypein The input MRZ type according to ICAO-9303 standard.validitybool *out The result of the verification.
Returns