Class MultiFinderPatternFinder


  • public final class MultiFinderPatternFinder
    extends FinderPatternFinder

    This class attempts to find finder patterns in a QR Code. Finder patterns are the square markers at three corners of a QR Code.

    This class is thread-safe but not reentrant. Each thread must allocate its own object.

    In contrast to FinderPatternFinder, this class will return an array of all possible QR code locations in the image.

    Use the TRY_HARDER hint to ask for a more thorough detection.

    • Field Detail

      • EMPTY_FP_ARRAY

        private static final FinderPattern[] EMPTY_FP_ARRAY
      • EMPTY_FP_2D_ARRAY

        private static final FinderPattern[][] EMPTY_FP_2D_ARRAY
      • MAX_MODULE_COUNT_PER_EDGE

        private static final float MAX_MODULE_COUNT_PER_EDGE
        See Also:
        Constant Field Values
      • MIN_MODULE_COUNT_PER_EDGE

        private static final float MIN_MODULE_COUNT_PER_EDGE
        See Also:
        Constant Field Values
      • DIFF_MODSIZE_CUTOFF_PERCENT

        private static final float DIFF_MODSIZE_CUTOFF_PERCENT
        More or less arbitrary cutoff point for determining if two finder patterns might belong to the same code if they differ less than DIFF_MODSIZE_CUTOFF_PERCENT percent in their estimated modules sizes.
        See Also:
        Constant Field Values
      • DIFF_MODSIZE_CUTOFF

        private static final float DIFF_MODSIZE_CUTOFF
        More or less arbitrary cutoff point for determining if two finder patterns might belong to the same code if they differ less than DIFF_MODSIZE_CUTOFF pixels/module in their estimated modules sizes.
        See Also:
        Constant Field Values