com.google.zxing.datamatrix.detector
Class Detector

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

public final class Detector
extends java.lang.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
Detector(BitMatrix image)
           
 
Method Summary
 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