Configuration class for Data Matrix codes. More...
Inherits object.
Public Member Functions | |
cvb.barcode.DataMatrix | disable (self) |
Disables decoding. More... | |
cvb.barcode.DataMatrix | enable (self) |
Enables decoding. More... | |
Properties | |
is_enabled = property | |
bool: Checks if decoding is enabled. More... | |
is_mirroring_enabled = property | |
bool: Gets or sets the status of the mirroring feature. More... | |
polarity = property | |
int: Gets or sets the polarity mode for decoding (see cvb.barcode.Polarity). | |
rectangular_decoding = property | |
int: Gets or sets the rectangular decoding mode (see cvb.barcode.RectangularDecoding). | |
Configuration class for Data Matrix codes.
Use this class to configure decoding options for Data Matrix barcodes. To access the configuration and enable decoding Data Matrix barcodes, use the following example. For additional details on configuration, refer to the documentation for Decoder.config().
A more comprehensive code example demonstrating configuration in a broader context, as well as the decoding process, can be found here.
Note, that ECC0-140 is not supported.
cvb.barcode.DataMatrix disable | ( | self | ) |
Disables decoding.
cvb.barcode.DataMatrix A reference to the current configuration object for method chaining.
cvb.barcode.DataMatrix enable | ( | self | ) |
Enables decoding.
cvb.barcode.DataMatrix A reference to the current configuration object for method chaining.
|
static |
bool: Checks if decoding is enabled.
True if decoding is enabled, False otherwise.
|
static |
bool: Gets or sets the status of the mirroring feature.
True if the mirroring feature is enabled, False otherwise.