Class QRCodeReader
This implementation can detect and decode QR Codes in an image.
public class QRCodeReader : Reader
- Inheritance
-
QRCodeReader
- Implements
- Derived
- Inherited Members
Constructors
QRCodeReader()
public QRCodeReader()
Methods
decode(BinaryBitmap)
Locates and decodes a QR code in an image.
public Result decode(BinaryBitmap image)
Parameters
image
BinaryBitmap
Returns
decode(BinaryBitmap, IDictionary<DecodeHintType, object>)
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 Result decode(BinaryBitmap image, IDictionary<DecodeHintType, object> hints)
Parameters
image
BinaryBitmapimage of barcode to decode
hints
IDictionary<DecodeHintType, object>passed as a IDictionary<TKey, TValue> from DecodeHintType to arbitrary data. The meaning of the data depends upon the hint type. The implementation may or may not do anything with these hints.
Returns
- Result
String which the barcode encodes
getDecoder()
Gets the decoder.
protected Decoder getDecoder()
Returns
reset()
Resets any internal state the implementation has after a decode, to prepare it for reuse.
public void reset()