TQRCodeReader Class

Definition

This implementation can detect and decode QR Codes in an image.

Delphi
type TQRCodeReader = class(TInterfacedObject)
Inheritance
TInterfacedObject
TQRCodeReader
Implements

Constructors

Properties

Decoder

Gets the decoder.

Methods

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.

extractPureBits(TBitMatrix)

This method detects a code in a "pure" image -- that is, pure monochrome image which contains only an unrotated, unskewed, image of a code, with some white border around it. This is a specialized method that works exceptionally fast in this special case.

moduleSize(TArray<Integer>, TBitMatrix, Single)
reset

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

Fields