C# Class ZXing.QrCode.QRCodeReader

This implementation can detect and decode QR Codes in an image. Sean Owen
Inheritance: Reader
Mostra file Open project: Redth/ZXing.Net.Mobile Class Usage Examples

Public Methods

Method Description
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.

Protected Methods

Method Description
getDecoder ( ) : ZXing.QrCode.Internal.Decoder

Gets the decoder.

Private Methods

Method Description
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

Method Details

decode() public method

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
return System.Result

decode() public 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.
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.
return System.Result

getDecoder() protected method

Gets the decoder.
protected getDecoder ( ) : ZXing.QrCode.Internal.Decoder
return ZXing.QrCode.Internal.Decoder

reset() public method

Resets any internal state the implementation has after a decode, to prepare it for reuse.
public reset ( ) : void
return void