Package boofcv.alg.fiducial.qrcode
Class QrCodeDecoderBits
java.lang.Object
boofcv.alg.fiducial.qrcode.QrCodeDecoderBits
public class QrCodeDecoderBits extends Object
After the data bits have been read this will decode them and extract a meaningful message.
-
Constructor Summary
Constructors Constructor Description QrCodeDecoderBits(@Nullable String forceEncoding)
-
Method Summary
Modifier and Type Method Description static int
alignToBytes(int lengthBits)
boolean
applyErrorCorrection(QrCode qr)
Reconstruct the data while applying error correction.boolean
decodeMessage(QrCode qr)
-
Constructor Details
-
QrCodeDecoderBits
- Parameters:
forceEncoding
- If null then the default byte encoding is used. If not null then the specified encoding is used.
-
-
Method Details
-
applyErrorCorrection
Reconstruct the data while applying error correction. -
decodeMessage
-
alignToBytes
public static int alignToBytes(int lengthBits)
-