Class QrCode.VersionInfo

java.lang.Object
boofcv.alg.fiducial.qrcode.QrCode.VersionInfo
Enclosing class:
QrCode

public static class QrCode.VersionInfo
extends Object
  • Field Details

  • Constructor Details

    • VersionInfo

      public VersionInfo​(int codewords, int[] alignment)
  • Method Details

    • add

      public void add​(QrCode.ErrorLevel level, int codeWords, int dataCodewords, int eccBlocks)
    • totalDataBytes

      public int totalDataBytes​(QrCode.ErrorLevel error)
      Returns the total number of bytes in the data area that can be stored in at this version and error correction level.
      Parameters:
      error - Error correction level
      Returns:
      total bytes that can be stored.