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

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

- ## Method Summary

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

  - ### Detector

    public Detector(BitMatrix image) throws NotFoundException
    Throws:
      `NotFoundException`

- ## Method Details

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