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

def equals (   self,
  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()

def getMicroQRVersion (   self)

Version of recognized MicroQR Code.

From M1 to M4.

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

◆ getQRErrorLevel()

def getQRErrorLevel (   self)

Version of recognized RectMicroQR Code.

From R7x43 to R17x139.

Returns
: Version of recognized RectMicroQR Code

◆ getQRStructuredAppendModeBarCodeIndex()

def 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()

def 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()

def 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()

def getQRVersion (   self)

Version of recognized QR Code.

From Version1 to Version40.

Returns
: Version of recognized QR Code

◆ getRectMicroQRVersion()

def getRectMicroQRVersion (   self)

Version of recognized RectMicroQR Code.

From R7x43 to R17x139.

Returns
: Version of recognized RectMicroQR Code

◆ hashCode()

def hashCode (   self)

Returns the hash code for this instance.

Returns
: A 32-bit signed integer hash code.

◆ init()

def init (   self)

Reimplemented from BaseJavaClass.

◆ isEmpty()

def isEmpty (   self)

Tests whether all parameters has only default values.

Returns
Returns
<b>true</b>
if all parameters has only default values; otherwise,
<b>false</b>
.

◆ toString()

def toString (   self)

Returns a human-readable string representation of this QRExtendedParameters.

Returns
: A string that represents this QRExtendedParameters.