Package io.scanbot.sdk.mrzscanner
Class DefaultMRZScanner
-
- All Implemented Interfaces:
-
io.scanbot.sdk.mrzscanner.MRZScanner
public final class DefaultMRZScanner implements MRZScanner
Performs detection and recognition of MRZ data
-
-
Constructor Summary
Constructors Constructor Description DefaultMRZScanner()
-
Method Summary
Modifier and Type Method Description MRZGenericDocument
recognizeMRZ(ByteArray nv21, Integer width, Integer height, Integer orientation)
Performs MRZ data recognition on the NV21 format image MRZGenericDocument
recognizeMRZBGR(ByteArray bgr, Integer width, Integer height, Integer orientation)
Performs MRZ data recognition on the BGR format image MRZGenericDocument
recognizeMRZJPEG(ByteArray image, Integer width, Integer height, Integer orientation)
Performs MRZ data recognition on the JPEG image MRZGenericDocument
recognizeMRZJPEGWithFinderOverlay(ByteArray image, Integer width, Integer height, Integer orientation, Rect finderRect, Boolean detectMRZ)
Performs MRZ data recognition on the JPEG image in specified finder overlay rect MRZGenericDocument
recognizeMRZBitmap(Bitmap bitmap, Integer orientation)
Performs MRZ data recognition on the Bitmap MRZGenericDocument
recognizeMRZWithFinderOverlay(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect finderRect, Boolean detectMRZ)
Performs MRZ data recognition on the NV21 format image in specified finder overlay rect MRZGenericDocument
parseString(String mrzString)
Performs MRZ data parsing on the given string -
-
Method Detail
-
recognizeMRZ
MRZGenericDocument recognizeMRZ(ByteArray nv21, Integer width, Integer height, Integer orientation)
Performs MRZ data recognition on the NV21 format image
-
recognizeMRZBGR
MRZGenericDocument recognizeMRZBGR(ByteArray bgr, Integer width, Integer height, Integer orientation)
Performs MRZ data recognition on the BGR format image
-
recognizeMRZJPEG
MRZGenericDocument recognizeMRZJPEG(ByteArray image, Integer width, Integer height, Integer orientation)
Performs MRZ data recognition on the JPEG image
-
recognizeMRZJPEGWithFinderOverlay
MRZGenericDocument recognizeMRZJPEGWithFinderOverlay(ByteArray image, Integer width, Integer height, Integer orientation, Rect finderRect, Boolean detectMRZ)
Performs MRZ data recognition on the JPEG image in specified finder overlay rect
-
recognizeMRZBitmap
MRZGenericDocument recognizeMRZBitmap(Bitmap bitmap, Integer orientation)
Performs MRZ data recognition on the Bitmap
-
recognizeMRZWithFinderOverlay
MRZGenericDocument recognizeMRZWithFinderOverlay(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect finderRect, Boolean detectMRZ)
Performs MRZ data recognition on the NV21 format image in specified finder overlay rect
-
parseString
MRZGenericDocument parseString(String mrzString)
Performs MRZ data parsing on the given string
- Parameters:
mrzString
- string to parse
-
-
-
-