C# Класс ZXing.QrCode.QRCodeReader

This implementation can detect and decode QR Codes in an image. Sean Owen
Наследование: Reader
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
decode ( BinaryBitmap image ) : System.Result

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

decode ( BinaryBitmap image, object>.IDictionary hints ) : System.Result

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.

reset ( ) : void

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

Защищенные методы

Метод Описание
getDecoder ( ) : ZXing.QrCode.Internal.Decoder

Gets the decoder.

Приватные методы

Метод Описание
extractPureBits ( BitMatrix image ) : BitMatrix

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. ZXing.Datamatrix.DataMatrixReader.extractPureBits(BitMatrix)

moduleSize ( int leftTopBlack, BitMatrix image, float &msize ) : bool

Описание методов

decode() публичный Метод

Locates and decodes a QR code in an image. a String representing the content encoded by the QR code
public decode ( BinaryBitmap image ) : System.Result
image BinaryBitmap
Результат System.Result

decode() публичный Метод

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.
public decode ( BinaryBitmap image, object>.IDictionary hints ) : System.Result
image BinaryBitmap image of barcode to decode
hints object>.IDictionary 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.
Результат System.Result

getDecoder() защищенный Метод

Gets the decoder.
protected getDecoder ( ) : ZXing.QrCode.Internal.Decoder
Результат ZXing.QrCode.Internal.Decoder

reset() публичный Метод

Resets any internal state the implementation has after a decode, to prepare it for reuse.
public reset ( ) : void
Результат void