TQRDecoder.decode Method

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

Unit: ZXing.QrCode.Internal.Decoder
function decode(const image: TArray<TArray<Boolean>>; const hints: TDictionary<TDecodeHintType, TObject>): TDecoderResult

Parameters

image
Type: TArray<TArray<Boolean>>

booleans representing white/black QR Code modules

hints
Type: TDictionary<TDecodeHintType, TObject>

decoding hints that should be used to influence decoding

Return Value

text and bytes encoded within the QR Code