com.google.zxing.pdf417.detector
Class Detector

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

public final class Detector
extends java.lang.Object

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

Author:
SITA Lab (kevin.osullivan@sita.aero), dswitkin@google.com (Daniel Switkin)

Constructor Summary
Detector(BinaryBitmap image)
           
 
Method Summary
 DetectorResult detect()
          Detects a PDF417 Code in an image, simply.
 DetectorResult detect(java.util.Map<DecodeHintType,?> hints)
          Detects a PDF417 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(BinaryBitmap image)
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

detect

public DetectorResult detect(java.util.Map<DecodeHintType,?> 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