TQRCodeReader.decode Method

Overloads

decode(TBinaryBitmap)

Locates and decodes a QR code in an image. a String representing the content encoded by the QR code

decode(TBinaryBitmap, TDictionary<TDecodeHintType,TObject>)

Locates and decodes a barcode in some format within an image. This method also accepts hints, each possibly associated to some data, which may help the implementation decode.

decode(TBinaryBitmap)

Locates and decodes a QR code in an image. a String representing the content encoded by the QR code

Delphi
function decode(const image: TBinaryBitmap): TReadResult

Parameters

Returns

decode(TBinaryBitmap, TDictionary<TDecodeHintType,TObject>)

Locates and decodes a barcode in some format within an image. This method also accepts hints, each possibly associated to some data, which may help the implementation decode.

Delphi
function decode(const image: TBinaryBitmap; hints: TDictionary<TDecodeHintType, TObject>): TReadResult

Parameters

image
TBinaryBitmap

image of barcode to decode

hints
TDictionary<TDecodeHintType, TObject>

passed as a TDictionary<TKey, TValue> from TDecodeHintType to arbitrary data. The meaning of the data depends upon the hint type. The implementation may or may not do anything with these hints.

Returns

TReadResult

String which the barcode encodes