com.google.zxing.pdf417.detector
Class Detector

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

public final class Detector
extends Object

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

Since:
BlackBerry API 6.0.0

Constructor Summary
Detector(BinaryBitmap image)
           
 
Method Summary
 DetectorResult detect()
          Detects a PDF417 Code in an image, simply.
 DetectorResult detect(Hashtable hints)
          Detects a PDF417 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(BinaryBitmap image)
Since:
BlackBerry API 6.0.0


Method Detail

detect

public DetectorResult detect()
                      throws NotFoundException

Detects a PDF417 Code in an image, simply.

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

detect

public DetectorResult detect(Hashtable hints)
                      throws NotFoundException

Detects a PDF417 Code in an image. Only checks 0 and 180 degree rotations.

Parameters:
hints - optional hints to detector
Returns:
DetectorResult encapsulating results of detecting a PDF417 Code
Throws:
NotFoundException - if no PDF417 Code can be found
Since:
BlackBerry API 6.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal