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 processingScanners typically can produce better results from a single image if they are allowed to spend a longer time analyzing it.
On the other hand, scanners can produce even better results if they can analyze multiple images of the same subject and cross-check and combine the results. The processing mode tells the scanner whether to optimize for single or multiple images of a subject.
"AUTO";
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.