scanFromRgba

open override fun scanFromRgba(img: ByteArray, width: Int, height: Int, frameOrientation: Int): BarcodeScannerResult?

Scan barcodes from the RGBA image.

For efficiency, reuse the same scanner object between scans. The barcode filters list is taken from the current configuration state.

Parameters

img

The byteArray with image to find barcodes.

width

The width of the preview frame.

height

The height of the preview frame.

frameOrientation

The frame orientation degrees.