TQRCodeReader.decode Method

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.

Unit: ZXing.QrCode.QRCodeReader
function decode(const image: TBinaryBitmap; hints: TDictionary<TDecodeHintType, TObject>): TReadResult

Parameters

image
Type: ZXing.BinaryBitmap.TBinaryBitmap

image of barcode to decode

hints
Type: TDictionary<TDecodeHintType, TObject>

passed as a from to arbitrary data. The meaning of the data depends upon the hint type. The implementation may or may not do anything with these hints.

Return Value

String which the barcode encodes