Detector (ZXing 3.5.0 API)

com.google.zxing.aztec.detector

## Class Detector

- java.lang.Object
- - com.google.zxing.aztec.detector.Detector

-     public final class Detector
      extends 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, Frank Yellin

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Detector(BitMatrix image)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `AztecDetectorResult` | `detect()`
    `AztecDetectorResult` | `detect(boolean isMirror)` 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

      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:
        `AztecDetectorResult` encapsulating results of detecting an Aztec Code
      Throws:
        `NotFoundException` - if no Aztec Code can be found

Copyright © 2007–2022. All rights reserved.