BarcodeFormatIds

Sets which types of barcode to read. Barcode types can be combined as an array. For example, if you want to read Code_39 and Code_93 codes, you can set it to ["CODE_39", "CODE_93"].

Presence

Optional

Type

Array

Values

enum BarcodeFormat
{
    All = 503317503,
    OneD = 1023,
    CODE_39 = 1,
    CODE_128 = 2,
    CODE_93 = 4,
    CODABAR = 8,
    ITF = 16,
    EAN_13 = 32,
    EAN_8 = 64,
    UPC_A = 128,
    UPC_E = 256,
    INDUSTRIAL_25 = 512,
    PDF417 = 33554432,
    QR_CODE = 67108864,
    DATAMATRIX = 134217728,
    AZTEC = 268435456
}
"All",
"CODABAR",
"CODE_128",
"CODE_39",
"CODE_93",
"DATAMATRIX",
"EAN_13",
"EAN_8",
"INDUSTRIAL_25",
"ITF",
"OneD",
"PDF417",
"QR_CODE",
"UPC_A",
"UPC_E",
"AZTEC"

Default Value

["OneD", "DATAMATRIX", "QR_CODE", "PDF417"]

Remarks

The library reads OneD, DATAMATRIX, QR_CODE and PDF417 formats (Aztec is not selected) by default. If you already know the barcode type(s) before performing barcode reading, specifying the barcode type(s) to be read will speed up the recognition process.

Example

{
    "BarcodeFormatIds": ["OneD", "DATAMATRIX"],
}

results matching ""

    No results matching ""