Detector (ZXing 3.5.2 API)
Description: declaration: package: com.google.zxing.aztec.detector, class: Detector

Package 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
  Description
  `Detector(BitMatrix image)`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### Detector

    public Detector(BitMatrix image)

- ## Method Details

  - ### 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