CVBpy 15.0
Symbology Class Reference

Enum class listing all supported barcode symbologies. More...

Static Public Attributes

int DataMatrix = 101
 Data Matrix.
 
int MicroPdf417 = 106
 MicroPDF417.
 
int MicroQR = 128
 Micro QR code.
 
int Pdf417 = 105
 PDF417.
 
int QR = 102
 QR code.
 
int Unknown = 0
 Unknown barcode symbology.
 

Detailed Description

Enum class listing all supported barcode symbologies.

This enum class defines all supported barcode symbologies. It is primarily used to specify the configuration class via the Decoder.config() function. Each enum entry includes a reference to its corresponding configuration class for all functionalities and settings.

After creating a decoder, you can configure it using the Decoder.config() member function with the desired symbology, as shown in the following example:

decoder.config(cvb.barcode.Symbology.DataMatrix).enable().polarity = \
cvb.barcode.Polarity.DarkOnLight
decoder.config(cvb.barcode.Symbology.QR).enable()
cvb.barcode.Decoder create()
Creates and returns a new decoder object.
Definition __init__.py:142

After decoding an image, the detected symbology type is returned as a value of this enum class via Result.symbology_type.

Member Data Documentation

◆ DataMatrix

int DataMatrix = 101
static

Data Matrix.

See configuration class cvb.barcode.DataMatrix for all functionalities and settings.

◆ MicroPdf417

int MicroPdf417 = 106
static

MicroPDF417.

See configuration class cvb.barcode.MicroPdf417 for all functionalities and settings.

◆ MicroQR

int MicroQR = 128
static

Micro QR code.

See configuration class cvb.barcode.MicroQR for all functionalities and settings.

◆ Pdf417

int Pdf417 = 105
static

PDF417.

See configuration class cvb.barcode.Pdf417 for all functionalities and settings.

◆ QR

int QR = 102
static

QR code.

See configuration class cvb.barcode.QR for all functionalities and settings.