IReader Interface

Definition

Implementations of this interface can decode an image of a barcode in some format into the String it encodes. For example, ZXing.QrCode.QRCodeReader can decode a QR code. The decoder may optionally receive hints from the caller which may help it decode more quickly or accurately. See MultiFormatReader , which attempts to determine what barcode format is present within the image as well, and then decodes it accordingly.

Delphi
type IReader = interface(IInterface)
Inheritance
IInterface
IReader
Derived

Methods

Reset

Resets any internal state the implementation has after a decode, to prepare it for reuse.

decode(TBinaryBitmap)

Locates and decodes a barcode in some format within an image.

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.