Detects an Aztec Code in an image.
if true, image is a mirror-image of original
AztecDetectorResult encapsulating results of detecting an Aztec Code
Expand the square represented by the corner points by pushing out equally in all directions
the corners of the square, which has the bull's eye at its center
the original length of the side of the square in the target bit matrix
the new length of the size of the square in the target bit matrix
the corners of the expanded square
Extracts the number of data layers and data blocks from the layer around the bull's eye.
the array of bull's eye corners
Finds the corners of a bull-eye centered on the passed point. This returns the centers of the diagonal points just outside the bull's eye Returns [topRight, bottomRight, bottomLeft, topLeft]
Center point
The corners of the bull-eye
Corrects the parameter bits using Reed-Solomon algorithm.
parameter bits
true if this is a compact Aztec code
Finds a candidate center point of an Aztec code from an image
the center point
Gets the Aztec code corners from the bull's eye corners and the parameters.
the array of bull's eye corners
the array of aztec code corners
Creates a BitMatrix by sampling the provided image. topLeft, topRight, bottomRight, and bottomLeft are the centers of the squares on the diagonal just outside the bull's eye.
Samples a line.
start point (inclusive)
end point (exclusive)
number of bits
the array of bits as an int (first bit is high-order bit of result)
Generated using TypeDoc
Encapsulates logic that can detect an Aztec Code in an image, even if the Aztec Code is rotated or skewed, or partially obscured.
David Olivier
Frank Yellin