TQRDecoder Class

Definition

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

Delphi
type TQRDecoder = class(TObject)
Inheritance
TObject
TQRDecoder

Constructors

Create

Initializes a new instance of the Decoder class.

Destroy

Methods

correctErrors(TArray<Byte>, Integer)

Given data and error-correction codewords received, possibly corrupted by errors, attempts to correct the errors in-place using Reed-Solomon error correction.

decode(TArray<TArray<Boolean>>, TDictionary<TDecodeHintType,TObject>)

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

decode(TBitMatrix, TDictionary<TDecodeHintType,TObject>)

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

decode(TBitMatrixParser, TDictionary<TDecodeHintType,TObject>)

Fields