Class PDF417ScanningDecoder
public static class PDF417ScanningDecoder
- Inheritance
-
PDF417ScanningDecoder
- Inherited Members
Methods
ToString(BarcodeValue[][])
Returns a string that represents the BarcodeValue jagged array.
public static string ToString(BarcodeValue[][] barcodeMatrix)
Parameters
barcodeMatrix
BarcodeValue[][]Barcode matrix as a jagged array.
Returns
- string
A string that represents the BarcodeValue jagged array.
decode(BitMatrix, ResultPoint, ResultPoint, ResultPoint, ResultPoint, int, int, Encoding)
Decode the specified image, imageTopLeft, imageBottomLeft, imageTopRight, imageBottomRight, minCodewordWidth and maxCodewordWidth. TODO: don't pass in minCodewordWidth and maxCodewordWidth, pass in barcode columns for start and stop pattern columns. That way width can be deducted from the pattern column. This approach also allows to detect more details about the barcode, e.g. if a bar type (white or black) is wider than it should be. This can happen if the scanner used a bad blackpoint.
public static DecoderResult decode(BitMatrix image, ResultPoint imageTopLeft, ResultPoint imageBottomLeft, ResultPoint imageTopRight, ResultPoint imageBottomRight, int minCodewordWidth, int maxCodewordWidth, Encoding startWithEncoding)
Parameters
image
BitMatrixImage.
imageTopLeft
ResultPointImage top left.
imageBottomLeft
ResultPointImage bottom left.
imageTopRight
ResultPointImage top right.
imageBottomRight
ResultPointImage bottom right.
minCodewordWidth
intMinimum codeword width.
maxCodewordWidth
intMax codeword width.
startWithEncoding
Encoding