MrzScanner

interface MrzScanner

Performs detection and scanning of MRZ data

Inheritors

Functions

Link copied to clipboard

Returns a copy of the current configuration.

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

Performs MRZ data parsing on the given string

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

Performs MRZ data scanning on the NV21 format image

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

Performs MRZ data scanning on the BGR format image

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

Performs MRZ data scanning on the Bitmap

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

Performs MRZ data scanning on the JPEG image

Link copied to clipboard
abstract 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
abstract 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
abstract fun setConfiguration(configuration: MrzScannerConfiguration)

Sets the configuration for the MRZ scanner.