CVBpy 15.0
Result2D Class Reference

Configuration class for Data Matrix codes. More...

Inherits object.

Properties

 columns = property
 int: Gets number of columns in the barcode.
 
 composite_type = property
 int: Gets the type of the composite component (see cvb.barcode.CompositeType). More...
 
 error_correction_codewords = property
 int: Gets the number of used error correction codewords from a decoded 2D barcode.
 
 error_correction_erasure_codewords = property
 int: Gets the number of used error correction erasure codewords from a decoded 2D barcode.
 
 quality = property
 int: Gets barcode quality. More...
 
 rows = property
 int: Gets number of rows in the barcode.
 
 size = property
 cvb.Size2D: Gets size of the barcode in pixels.
 

Detailed Description

Configuration class for Data Matrix codes.

This class holds the decoding results of a 2D barcode. A Result2D object is part of the Result class, which is obtained after executing the barcode decoding process with Decoder.execute().

Property Documentation

◆ composite_type

composite_type = property
static

int: Gets the type of the composite component (see cvb.barcode.CompositeType).

This value represents the quality of a 2D barcode, measured as an integer between 0 and 100. It is calculated based on the Unused Error Correction, according to the specifications for the respective 2D symbology.

◆ quality

quality = property
static

int: Gets barcode quality.

This value represents the quality of a 2D barcode, measured as an integer between 0 and 100. It is calculated based on the Unused Error Correction, according to the specifications for the respective 2D symbology.