ABBYY Mobile OCR Engine 4

Go to: Contents | Native Library API Reference | Enumerations

TFineBarcodeType

TFineBarcodeType enumeration constants are used to set the barcode type in the FineRecognizeBarcode function. The constants are defined using the BIT_FLAG macros or as a combination.

typedef enum tagTFineBarcodeType {
    FBT_Unrecognized = 0,
    FBT_Code39 = BIT_FLAG( 0 ),
    FBT_Interleaved25 = BIT_FLAG( 1 ),
    FBT_Ean13 = BIT_FLAG( 2 ),
    FBT_Code128 = BIT_FLAG( 3 ),
    FBT_Ean8 = BIT_FLAG( 4 ),
    FBT_Pdf417 = BIT_FLAG( 5 ),
    FBT_Codabar = BIT_FLAG( 6 ),
    FBT_Upce = BIT_FLAG( 7 ),
    FBT_Industrial25 = BIT_FLAG( 8 ),
    FBT_Iata25 = BIT_FLAG( 9 ),
    FBT_Matrix25 = BIT_FLAG( 10 ),
    FBT_Code93 = BIT_FLAG( 11 ),
    FBT_Postnet = BIT_FLAG( 12 ),
    FBT_Ucc128 = BIT_FLAG( 13 ),
    FBT_Patch = BIT_FLAG( 14 ),
    FBT_Aztec = BIT_FLAG( 15 ),
    FBT_Datamatrix = BIT_FLAG( 16 ),
    FBT_Qrcode = BIT_FLAG( 17 ),
    FBT_Upca = BIT_FLAG( 18 ),
    FBT_Maxicode = BIT_FLAG( 19 ),

    FBT_Any1D = FBT_Code39 | FBT_Interleaved25 |
       FBT_Ean13 | FBT_Code128 | FBT_Ean8 | FBT_Codabar | 
       FBT_Upce | FBT_Industrial25 | FBT_Iata25 |
       FBT_Matrix25 | FBT_Code93 | FBT_Ucc128 | 
       FBT_Patch | FBT_Postnet | FBT_Upca,

    FBT_Square2D = FBT_Aztec | FBT_Datamatrix | FBT_Qrcode | FBT_Maxicode,

    FBT_Any1DWithSupplement = FBT_Ean13 | FBT_Ean8 | FBT_Upce | FBT_Upca
} TFineBarcodeType;

Flag

Name Description
FBT_Unrecognized Denotes unrecognized type of barcode. It is used as the return value if ABBYY Mobile OCR Engine has failed to detect the type of barcode.
FBT_Code39 Barcode in Code 39 standard.
FBT_Interleaved25 Barcode in Interleaved 2 of 5 standard.
FBT_Ean13 Barcode in EAN-13 standard.
FBT_Code128 Barcode in Code 128 standard.
FBT_Ean8 Barcode in EAN-8 standard.
FBT_Pdf417 Barcode in PDF417 standard.
FBT_Codabar Barcode in Codabar standard.
FBT_Upce Barcode in UPC-E standard.
FBT_Industrial25 Barcode in Industrial 2 of 5 standard.
FBT_Iata25 Barcode in IATA 2 of 5 standard.
FBT_Matrix25 Barcode in Matrix 2 of 5 standard.
FBT_Code93 Barcode in Code 93 standard.
FBT_Postnet Barcode in Postnet standard.
FBT_Ucc128 Barcode in GS1-128 standard. The former name was UCC-128. 
FBT_Patch Barcode in Patch standard.
FBT_Aztec Barcode in Aztec standard.
FBT_Datamatrix Barcode in Data Matrix standard.
FBT_Qrcode Barcode in QR Code standard.
FBT_Upca Barcode in UPC-A standard.
FBT_Maxicode Barcode in MaxiCode standard.
FBT_Any1D Combination of all one-dimensional barcodes.
FBT_Square2D Combination of all two-dimensional barcodes.
FBT_Any1DWithSupplement Combination of all one-dimensional barcodes that can have a supplement.

See also

CFineBarcode
FineRecognizeBarcode