Decoder

class Decoder

The main class which implements QR Code decoding -- as opposed to locating and extracting the QR Code from an image.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun decode(bits: BitMatrix?, hints: Map<DecodeHintType?, *>? = null): DecoderResult

Decodes a QR Code represented as a BitMatrix. A 1 or "true" is taken to mean a black module.

Convenience method that can decode a QR Code represented as a 2D array of booleans. "true" is taken to mean a black module.