Aspose.Barcode for Python via Java Generation and Recognition API docs
QRExtendedParameters Class Reference

Stores a QR Structured Append information of recognized barcode. More...

Inherits BaseJavaClass.

Public Member Functions

def __init__ (self, javaClass)
 
bool equals (self, QRExtendedParameters obj)
 Returns a value indicating whether this instance is equal to a specified QRExtendedParameters value. More...
 
int getMicroQRVersion (self)
 Version of recognized MicroQR Code. More...
 
int getQRErrorLevel (self)
 Version of recognized RectMicroQR Code. More...
 
int getQRStructuredAppendModeBarCodeIndex (self)
 Gets the index of the QR structured append mode barcode. More...
 
int getQRStructuredAppendModeBarCodesQuantity (self)
 Gets the QR structured append mode barcodes quantity. More...
 
int getQRStructuredAppendModeParityData (self)
 Gets the QR structured append mode parity data. More...
 
int getQRVersion (self)
 Version of recognized QR Code. More...
 
int getRectMicroQRVersion (self)
 Version of recognized RectMicroQR Code. More...
 
int hashCode (self)
 Returns the hash code for this instance. More...
 
None init (self)
 
bool isEmpty (self)
 Tests whether all parameters have only default values. More...
 
str toString (self)
 Returns a human-readable string representation of this QRExtendedParameters. More...
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
str getJavaClassName (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Stores a QR Structured Append information of recognized barcode.

This sample shows how to get QR Structured Append data

reader = Recognition.BarCodeReader(self.image_path_qr, None, Recognition.DecodeType.QR)
for result in reader.readBarCodes():
print(f"\nBarCode Type: {result.getCodeTypeName()}")
print(f"BarCode CodeText: {result.getCodeText()}")
print(f"QR Structured Append Quantity: {str(result.getExtended().getQR().getQRStructuredAppendModeBarCodesQuantity())}")
print(f"QR Structured Append Index: {result.getExtended().getQR().getQRStructuredAppendModeBarCodeIndex()}")
print(f"QR Structured Append ParityData: {result.getExtended().getQR().getQRStructuredAppendModeParityData()}")

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  javaClass 
)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ equals()

bool equals (   self,
QRExtendedParameters  obj 
)

Returns a value indicating whether this instance is equal to a specified QRExtendedParameters value.

Parameters
obj An object value to compare to this instance.
Returns
: true if obj has the same value as this instance otherwise, false.

◆ getMicroQRVersion()

int getMicroQRVersion (   self)

Version of recognized MicroQR Code.

From M1 to M4.

Returns
: Version of recognized MicroQR Code. From M1 to M4.

◆ getQRErrorLevel()

int getQRErrorLevel (   self)

Version of recognized RectMicroQR Code.

From R7x43 to R17x139.

Returns
: Version of recognized RectMicroQR Code

◆ getQRStructuredAppendModeBarCodeIndex()

int getQRStructuredAppendModeBarCodeIndex (   self)

Gets the index of the QR structured append mode barcode.

Index starts from 0. Default value is -1. Value: The quantity of the QR structured append mode barcode.

◆ getQRStructuredAppendModeBarCodesQuantity()

int getQRStructuredAppendModeBarCodesQuantity (   self)

Gets the QR structured append mode barcodes quantity.

Default value is -1. Value: The quantity of the QR structured append mode barcode.

◆ getQRStructuredAppendModeParityData()

int getQRStructuredAppendModeParityData (   self)

Gets the QR structured append mode parity data.

Default value is -1. Value: The index of the QR structured append mode barcode.

◆ getQRVersion()

int getQRVersion (   self)

Version of recognized QR Code.

From Version1 to Version40.

Returns
: Version of recognized QR Code

◆ getRectMicroQRVersion()

int getRectMicroQRVersion (   self)

Version of recognized RectMicroQR Code.

From R7x43 to R17x139.

Returns
: Version of recognized RectMicroQR Code

◆ hashCode()

int hashCode (   self)

Returns the hash code for this instance.

Returns
: A 32-bit signed integer hash code.

◆ init()

None init (   self)

Reimplemented from BaseJavaClass.

◆ isEmpty()

bool isEmpty (   self)

Tests whether all parameters have only default values.

Returns
: Returns True if all parameters have only default values; otherwise False.

◆ toString()

str toString (   self)

Returns a human-readable string representation of this QRExtendedParameters.

Returns
: A string that represents this QRExtendedParameters.