com.google.zxing.aztec.detector
Class Detector

java.lang.Object
  extended by com.google.zxing.aztec.detector.Detector

public final class Detector
extends java.lang.Object

Encapsulates logic that can detect an Aztec Code in an image, even if the Aztec Code is rotated or skewed, or partially obscured.

Author:
David Olivier

Constructor Summary
Detector(BitMatrix image)
           
 
Method Summary
 AztecDetectorResult detect()
          Detects an Aztec Code in an image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Detector

public Detector(BitMatrix image)
Method Detail

detect

public AztecDetectorResult detect()
                           throws NotFoundException

Detects an Aztec Code in an image.

Returns:
AztecDetectorResult encapsulating results of detecting an Aztec Code
Throws:
NotFoundException - if no Aztec Code can be found