com.google.zxing.pdf417.detector

## Class Detector

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

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

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static PDF417DetectorResult` | `detect(BinaryBitmap image, Map<DecodeHintType,?> hints, boolean multiple)` 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`

- - ### Method Detail

    - #### detect

          public static PDF417DetectorResult detect(BinaryBitmap image,
                                                    Map<DecodeHintType,?> hints,
                                                    boolean multiple)
                                             throws NotFoundException

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

      Parameters:
        `image` - barcode image to decode
        `hints` - optional hints to detector
        `multiple` - if true, then the image is searched for multiple codes. If false, then at most one code will be found and returned
      Returns:
        `PDF417DetectorResult` encapsulating results of detecting a PDF417 code
      Throws:
        `NotFoundException` - if no PDF417 Code can be found

Copyright © 2007–2018. All rights reserved.