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.
Constructor and Description |
---|
Detector(BinaryBitmap image) |
Modifier and Type | Method and Description |
---|---|
DetectorResult |
detect()
Detects a PDF417 Code in an image, simply.
|
DetectorResult |
detect(java.util.Map<DecodeHintType,?> hints)
Detects a PDF417 Code in an image.
|
public Detector(BinaryBitmap image)
public DetectorResult detect() throws NotFoundException
Detects a PDF417 Code in an image, simply.
DetectorResult
encapsulating results of detecting a PDF417 CodeNotFoundException
- if no QR Code can be foundpublic DetectorResult detect(java.util.Map<DecodeHintType,?> hints) throws NotFoundException
Detects a PDF417 Code in an image. Only checks 0 and 180 degree rotations.
hints
- optional hints to detectorDetectorResult
encapsulating results of detecting a PDF417 CodeNotFoundException
- if no PDF417 Code can be found