Detector
Table of Contents
Classes
- AlignmentPattern
- Encapsulates an alignment pattern, which are the smaller square patterns found in
all but the simplest QR Codes.
- AlignmentPatternFinder
- This class attempts to find alignment patterns in a QR Code. Alignment patterns look like finder
patterns but are smaller and appear at regular intervals throughout the image.
- Detector
- Encapsulates logic that can detect a QR Code in an image, even if the QR Code
is rotated or skewed, or partially obscured.
- FinderPattern
- Encapsulates a finder pattern, which are the three square patterns found in
the corners of QR Codes. It also encapsulates a count of similar finder patterns,
as a convenience to the finder's bookkeeping.
- 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.
- GridSampler
- Implementations of this class can, given locations of finder patterns for a QR code in an
image, sample the right points in the image to reconstruct the QR code, accounting for
perspective distortion. It is abstracted since it is relatively expensive and should be allowed
to take advantage of platform-specific optimized implementations, like Sun's Java Advanced
Imaging library, but which may not be available in other environments such as J2ME, and vice
versa.
- PerspectiveTransform
- This class implements a perspective transform in two dimensions. Given four source and four
destination points, it will compute the transformation implied between them. The code is based
directly upon section 3.4.2 of George Wolberg's "Digital Image Warping"; see pages 54-56.
- QRCodeDetectorException
- An exception container
- ResultPoint
- Encapsulates a point of interest in an image containing a barcode. Typically, this
would be the location of a finder pattern or the corner of the barcode, for example.