Configuration class for QR codes. More...
Inherited by MicroQR.
Public Member Functions | |
cvb.barcode.QR | disable (self) |
Disables decoding. | |
cvb.barcode.QR | enable (self) |
Enables decoding. | |
Properties | |
is_enabled = property | |
bool: Checks if decoding is enabled. | |
is_mirroring_enabled = property | |
bool: Gets or sets the status of the mirroring feature. | |
polarity = property | |
int: Gets or sets the polarity mode for decoding (see cvb.barcode.Polarity). | |
precise_corners = property | |
bool: Gets or sets the calculation of more precise corner coordinates. | |
Configuration class for QR codes.
Use this class to configure decoding options for QR codes. To access the configuration and enable decoding QR 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.
cvb.barcode.QR disable | ( | self | ) |
Disables decoding.
cvb.barcode.QR A reference to the current configuration object for method chaining.
cvb.barcode.QR enable | ( | self | ) |
Enables decoding.
cvb.barcode.QR 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.
|
static |
bool: Gets or sets the calculation of more precise corner coordinates.
When a QR Code is decoded, the detected corners used for decoding may not be very precise. Use this setting to get more precise corner coordinates. Set to True
to enable the calculation of more precise corner coordinates, or False
to disable it.
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.