C# Class ZXing.QrCode.QRCodeReader

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
getDecoder ( ) : ZXing.QrCode.Internal.Decoder

Gets the decoder.

Private Methods

Méthode 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 méthode

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
Résultat System.Result

decode() public méthode

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.
Résultat System.Result

getDecoder() protected méthode

Gets the decoder.
protected getDecoder ( ) : ZXing.QrCode.Internal.Decoder
Résultat ZXing.QrCode.Internal.Decoder

reset() public méthode

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