Recognize the MRZ in the given image.
The image to recognize.
Optional consumeImage: Config.ConsumeTypeControls if the image can still be used after calling this method, or if it will be consumed by the method. See ConsumeType for more details.
The recognition result.
Static createOptional configuration: { Optional enableEnable MRZ detection. If disabled, the scanner skips the detection step and assumes that the input image is a crop of the MRZ area.
true;
Optional frameConfigure the frame accumulation process.
new AccumulatedResultsVerifierConfiguration({});
Optional incompleteDefines how to handle incomplete MRZ results (e.g. caused by failed validation).
"REJECT";
Optional returnIf true, crops of the detected MRZ and its fields will be returned in the result.
false;
Generated using TypeDoc
API for machine readable zone scanning.
Required licence feature(s): MrzScanner.