public final class Decoder
extends java.lang.Object
| Constructor and Description |
|---|
Decoder() |
| Modifier and Type | Method and Description |
|---|---|
DecoderResult |
decode(BitMatrix bits) |
DecoderResult |
decode(BitMatrix bits,
java.util.Map<DecodeHintType,?> hints)
Decodes a QR Code represented as a BitMatrix.
|
DecoderResult |
decode(boolean[][] image) |
DecoderResult |
decode(boolean[][] image,
java.util.Map<DecodeHintType,?> hints)
Convenience method that can decode a QR Code represented as a 2D array of
booleans.
|
public DecoderResult decode(boolean[][] image)
throws ChecksumException,
FormatException
ChecksumExceptionFormatExceptionpublic DecoderResult decode(boolean[][] image,
java.util.Map<DecodeHintType,?> hints)
throws ChecksumException,
FormatException
image - booleans representing white/black QR Code modulesChecksumExceptionFormatExceptionpublic DecoderResult decode(BitMatrix bits)
throws ChecksumException,
FormatException
ChecksumExceptionFormatExceptionpublic DecoderResult decode(BitMatrix bits,
java.util.Map<DecodeHintType,?> hints)
throws FormatException,
ChecksumException
bits - booleans representing white/black QR Code modulesFormatExceptionChecksumException