public class StubMRZScanner implements MRZScanner
Stub for MRZ data detection and recognition
public StubMRZScanner(@Nullable
io.scanbot.sap.SapManager sapManager)
Stub for MRZ data detection and recognition
@Nullable
public io.scanbot.mrzscanner.model.MRZRecognitionResult recognizeMRZ(@Nullable
kotlin.Array[] nv21,
int width,
int height,
int orientation)
Performs MRZ data recognition on the NV21 format image
nv21 - width - height - orientation - @Nullable
public io.scanbot.mrzscanner.model.MRZRecognitionResult recognizeMRZBGR(@Nullable
kotlin.Array[] bgr,
int width,
int height,
int orientation)
Performs MRZ data recognition on the BGR format image
bgr - width - height - orientation - @Nullable
public io.scanbot.mrzscanner.model.MRZRecognitionResult recognizeMRZJPEG(@Nullable
kotlin.Array[] image,
int width,
int height,
int orientation)
Performs MRZ data recognition on the JPEG image
image - width - height - orientation - @Nullable
public io.scanbot.mrzscanner.model.MRZRecognitionResult recognizeMRZJPEGWithFinderOverlay(@Nullable
kotlin.Array[] image,
int width,
int height,
int orientation,
@NotNull
android.graphics.Rect finderRect,
boolean detectMRZ)
Performs MRZ data recognition on the JPEG image in specified finder overlay rect
image - width - height - orientation - finderRect - detectMRZ - @Nullable
public io.scanbot.mrzscanner.model.MRZRecognitionResult recognizeMRZBitmap(@Nullable
android.graphics.Bitmap bitmap,
int orientation)
Performs MRZ data recognition on the Bitmap
bitmap - orientation - @Nullable
public io.scanbot.mrzscanner.model.MRZRecognitionResult recognizeMRZWithFinderOverlay(@Nullable
kotlin.Array[] nv21,
int width,
int height,
int orientation,
@NotNull
android.graphics.Rect finderRect,
boolean detectMRZ)
Performs MRZ data recognition on the NV21 format image in specified finder overlay rect
nv21 - width - height - orientation - finderRect - detectMRZ - @Nullable
public io.scanbot.mrzscanner.model.MRZRecognitionResult parseString(@NotNull
java.lang.String mrzString)
Performs MRZ data parsing on the given string
mrzString - string to parse