Class MicroQrCodeDecoderBits

java.lang.Object
boofcv.alg.fiducial.microqr.MicroQrCodeDecoderBits
All Implemented Interfaces:
VerbosePrint

public class MicroQrCodeDecoderBits extends Object implements VerbosePrint
After the data bits have been read this will decode them and extract a meaningful message.
  • Field Details

    • ignorePaddingBytes

      public boolean ignorePaddingBytes
      If true to it won't check the value of padding bytes. Run into an off by one error
  • Constructor Details

    • MicroQrCodeDecoderBits

      public MicroQrCodeDecoderBits(@Nullable @Nullable String forceEncoding, String defaultEncoding)
      Parameters:
      forceEncoding - If null then the default byte encoding is used. If not null then the specified encoding is used.
  • Method Details

    • applyErrorCorrection

      public boolean applyErrorCorrection(MicroQrCode qr)
      Reconstruct the data while applying error correction.
    • decodeMessage

      public boolean decodeMessage(MicroQrCode qr)
    • setVerbose

      public void setVerbose(@Nullable @Nullable PrintStream out, @Nullable @Nullable Set<String> configuration)
      Specified by:
      setVerbose in interface VerbosePrint