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< System.Boolean >>

booleans representing white/black QR Code modules

hints
Type: TDictionary< ZXing.DecodeHintType.TDecodeHintType , System.Generics.Collections.TObject >

decoding hints that should be used to influence decoding

Return Value

text and bytes encoded within the QR Code