Package com.google.zxing.aztec.detector
Class Detector
- java.lang.Object
-
- com.google.zxing.aztec.detector.Detector
-
public final class Detector extends java.lang.ObjectEncapsulates logic that can detect an Aztec Code in an image, even if the Aztec Code is rotated or skewed, or partially obscured.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AztecDetectorResultdetect()AztecDetectorResultdetect(boolean isMirror)Detects an Aztec Code in an image.
-
-
-
Constructor Detail
-
Detector
public Detector(BitMatrix image)
-
-
Method Detail
-
detect
public AztecDetectorResult detect() throws NotFoundException
- Throws:
NotFoundException
-
detect
public AztecDetectorResult detect(boolean isMirror) throws NotFoundException
Detects an Aztec Code in an image.- Parameters:
isMirror- if true, image is a mirror-image of original- Returns:
AztecDetectorResultencapsulating results of detecting an Aztec Code- Throws:
NotFoundException- if no Aztec Code can be found
-
-