TQRDecoder.decode Method

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

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

Parameters

bits
Type: ZXing.Common.BitMatrix.TBitMatrix

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