com.google.zxing.datamatrix.detector
Class Detector

java.lang.Object
  extended by 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.

Since:
BlackBerry API 6.0.0

Constructor Summary
Detector(BitMatrix image)
           
 
Method Summary
 DetectorResult detect()
          Detects a Data Matrix Code in an image.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

Detector

public Detector(BitMatrix image)
Since:
BlackBerry API 6.0.0


Method Detail

detect

public DetectorResult detect()
                      throws ReaderException

Detects a Data Matrix Code in an image.

Returns:
DetectorResult encapsulating results of detecting a QR Code
Throws:
ReaderException - if no Data Matrix Code can be found
Since:
BlackBerry API 6.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.