TQRDecoder.decode Method
Overloads
| decode(TBitMatrixParser, TDictionary<TDecodeHintType,TObject>) | |
| 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. |
function decode(const parser: TBitMatrixParser; const hints: TDictionary<TDecodeHintType, TObject>): TDecoderResult
Parameters
- parser
- TBitMatrixParser
- hints
- TDictionary<TDecodeHintType, TObject>
Returns
Convenience method that can decode a QR Code represented as a 2D array of booleans. "true" is taken to mean a black module.
function decode(const image: TArray<TArray<Boolean>>; const hints: TDictionary<TDecodeHintType, TObject>): TDecoderResult
Parameters
- image
- TArray<TArray<Boolean>>
booleans representing white/black QR Code modules
- hints
- TDictionary<TDecodeHintType, TObject>
decoding hints that should be used to influence decoding
Returns
text and bytes encoded within the QR Code
Decodes a QR Code represented as a {@link BitMatrix}. A 1 or "true" is taken to mean a black module.
function decode(const bits: TBitMatrix; const hints: TDictionary<TDecodeHintType, TObject>): TDecoderResult
Parameters
- bits
- TBitMatrix
booleans representing white/black QR Code modules
- hints
- TDictionary<TDecodeHintType, TObject>
decoding hints that should be used to influence decoding
Returns
text and bytes encoded within the QR Code