Detects PDF417 codes in an image. Only checks 0 degree rotation
if true, then the image is searched for multiple codes. If false, then at most one code will be found and returned
bit matrix to detect barcodes in
List of ResultPoint arrays containing the coordinates of found barcodes
Detects a PDF417 Code in an image. Only checks 0 and 180 degree rotations.
barcode image to decode
optional hints to detector
if true, then the image is searched for multiple codes. If false, then at most one code will be found and returned
PDF417DetectorResult encapsulating results of detecting a PDF417 code
row of black/white values to search
x position to start search
y position to start search
the number of pixels to search on this row
pattern of counts of number of black and white pixels that are being searched for as a pattern
array of counters, as long as pattern, to re-use
start/end horizontal offset of guard pattern, as an array of two ints.
Locate the vertices and the codewords area of a black blob using the Start and Stop patterns as locators.
the scanned barcode image.
an array containing the vertices: vertices[0] x, y top left barcode vertices[1] x, y bottom left barcode vertices[2] x, y top right barcode vertices[3] x, y bottom right barcode vertices[4] x, y top left codeword area vertices[5] x, y bottom left codeword area vertices[6] x, y top right codeword area vertices[7] x, y bottom right codeword area
Determines how closely a set of observed counts of runs of black/white values matches a given target pattern. This is reported as the ratio of the total variance from the expected pattern proportions across all pattern elements, to the length of the pattern.
observed counters
expected pattern
The most any counter can differ before we give up
ratio of total variance between counters and pattern compared to total pattern size
Generated using TypeDoc
Encapsulates logic that can detect a PDF417 Code in an image, even if the PDF417 Code is rotated or skewed, or partially obscured.
SITA Lab (kevin.osullivan@sita.aero)
dswitkin@google.com (Daniel Switkin)
Guenther Grau