DefaultMrzScanner

Performs detection and scanning of MRZ data

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Returns a copy of the current configuration.

Link copied to clipboard
open override fun parseString(mrzString: String): MrzScannerResult?

Performs MRZ data parsing on the given string

Link copied to clipboard
open override fun scan(nv21: ByteArray?, width: Int, height: Int, orientation: Int): MrzScannerResult?

Performs MRZ data scanning on the NV21 format image

Link copied to clipboard
open override fun scanFromBgr(bgr: ByteArray?, width: Int, height: Int, orientation: Int): MrzScannerResult?

Performs MRZ data scanning on the BGR format image

Link copied to clipboard
open override fun scanFromBitmap(bitmap: Bitmap?, orientation: Int): MrzScannerResult?

Performs MRZ data scanning on the Bitmap

Link copied to clipboard
open override fun scanFromJpeg(image: ByteArray?, width: Int, height: Int, orientation: Int): MrzScannerResult?

Performs MRZ data scanning on the JPEG image

Link copied to clipboard
open override fun scanFromJpegInArea(image: ByteArray?, width: Int, height: Int, orientation: Int, areaRect: Rect): MrzScannerResult?

Performs MRZ data scanning on the JPEG image in specified area rect

Link copied to clipboard
open override fun scanInArea(nv21: ByteArray?, width: Int, height: Int, orientation: Int, areaRect: Rect): MrzScannerResult?

Performs MRZ data scanning on the NV21 format image in specified area rect

Link copied to clipboard
open override fun setConfiguration(configuration: MrzScannerConfiguration)

Sets the configuration for the MRZ scanner.