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.
| 限定符和类型 | 方法和说明 |
|---|---|
static PDF417DetectorResult |
detect(BinaryBitmap image,
java.util.Map<DecodeHintType,?> hints,
boolean multiple)
Detects a PDF417 Code in an image.
|
public static PDF417DetectorResult detect(BinaryBitmap image, java.util.Map<DecodeHintType,?> hints, boolean multiple) throws NotFoundException
Detects a PDF417 Code in an image. Only checks 0 and 180 degree rotations.
image - barcode image to decodehints - optional hints to detectormultiple - if true, then the image is searched for multiple codes. If false, then at most one code will
be found and returnedPDF417DetectorResult encapsulating results of detecting a PDF417 codeNotFoundException - if no PDF417 Code can be found