decode
Convenience method that can decode a QR Code represented as a 2D array of booleans. "true" is taken to mean a black module.
Return
text and bytes encoded within the QR Code
Parameters
image
booleans representing white/black QR Code modules
hints
decoding hints that should be used to influence decoding
Throws
if the QR Code cannot be decoded
if error correction fails
Decodes a QR Code represented as a BitMatrix. A 1 or "true" is taken to mean a black module.
Return
text and bytes encoded within the QR Code
Parameters
bits
booleans representing white/black QR Code modules
hints
decoding hints that should be used to influence decoding
Throws
if the QR Code cannot be decoded
if error correction fails