TextPatternScanner

Component to scan image, recognize text on it and validate the recognized text.

Inheritors

Functions

Link copied to clipboard
abstract fun cleanRecognitionQueue()

Allows to clean the accumulated frames inside the scanner. Should be called if reusing the instance after getting the successful result.

Link copied to clipboard

Returns a copy of the current configuration.

Link copied to clipboard
abstract fun scan(nv21: ByteArray, width: Int, height: Int, orientation: Int = 0, areaRect: Rect? = null): TextPatternScannerResult?

Scan image to recognize text on it.

Link copied to clipboard

Sets the configuration for the text pattern scanner.