com.google.zxing.datamatrix.detector

## Class Detector

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

-     public final class Detector
      extends Object

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

  Author:
    Sean Owen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Detector(BitMatrix image)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `DetectorResult` | `detect()` Detects a Data Matrix 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)
                   throws NotFoundException

      Throws:
        `NotFoundException`

  - ### Method Detail

    - #### detect

          public DetectorResult detect()
                                throws NotFoundException

      Detects a Data Matrix Code in an image.

      Returns:
        `DetectorResult` encapsulating results of detecting a Data Matrix Code
      Throws:
        `NotFoundException` - if no Data Matrix Code can be found

Copyright © 2007–2018. All rights reserved.