DefaultTextPatternScanner

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override 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
open override fun scan(nv21: ByteArray, width: Int, height: Int, orientation: Int, areaRect: Rect?): TextPatternScannerResult?

Scan image to recognize text on it.

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

Sets the configuration for the text pattern scanner.