Class AztecDetectorResult


  • public final class AztecDetectorResult
    extends DetectorResult

    Extends DetectorResult with more information specific to the Aztec format, like the number of layers and whether it's compact.

    • Field Detail

      • compact

        private final boolean compact
      • nbDatablocks

        private final int nbDatablocks
      • nbLayers

        private final int nbLayers
      • errorsCorrected

        private final int errorsCorrected
    • Constructor Detail

      • AztecDetectorResult

        public AztecDetectorResult​(BitMatrix bits,
                                   ResultPoint[] points,
                                   boolean compact,
                                   int nbDatablocks,
                                   int nbLayers)
      • AztecDetectorResult

        public AztecDetectorResult​(BitMatrix bits,
                                   ResultPoint[] points,
                                   boolean compact,
                                   int nbDatablocks,
                                   int nbLayers,
                                   int errorsCorrected)
    • Method Detail

      • getNbLayers

        public int getNbLayers()
      • getNbDatablocks

        public int getNbDatablocks()
      • isCompact

        public boolean isCompact()
      • getErrorsCorrected

        public int getErrorsCorrected()