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

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

Inherits asposebarcode.Assist.BaseJavaClass.

Public Member Functions

def __init__ (self, javaClass)
 
def init (self)
 
def getQRStructuredAppendModeBarCodesQuantity (self)
 Gets the QR structured append mode barcodes quantity. More...
 
def getQRStructuredAppendModeBarCodeIndex (self)
 Gets the index of the QR structured append mode barcode. More...
 
def getQRStructuredAppendModeParityData (self)
 Gets the QR structured append mode parity data. More...
 
def isEmpty (self)
 
def equals (self, obj)
 Returns a value indicating whether this instance is equal to a specified QRExtendedParameters value. More...
 
def hashCode (self)
 Returns the hash code for this instance. More...
 
def toString (self)
 Returns a human-readable string representation of this QRExtendedParameters. More...
 
- Public Member Functions inherited from asposebarcode.Assist.BaseJavaClass
def getJavaClass (self)
 
def setJavaClass (self, javaClass)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 

Additional Inherited Members

- Public Attributes inherited from asposebarcode.Assist.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 = BarCodeReader("test.png", None, DecodeType.QR)
for result in reader.readBarCodes():
print("BarCode Type: " + result.getCodeTypeName())
print("BarCode CodeText: " + result.getCodeText())
print("QR Structured Append Quantity: " + result.getExtended().getQR().getQRStructuredAppendModeBarCodesQuantity())
print("QR Structured Append Index: " + result.getExtended().getQR().getQRStructuredAppendModeBarCodeIndex())
print("QR Structured Append ParityData: " + result.getExtended().getQR().getQRStructuredAppendModeParityData())

Constructor & Destructor Documentation

◆ __init__()

def asposebarcode.Recognition.QRExtendedParameters.__init__ (   self,
  javaClass 
)

Member Function Documentation

◆ equals()

def asposebarcode.Recognition.QRExtendedParameters.equals (   self,
  obj 
)

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

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

◆ getQRStructuredAppendModeBarCodeIndex()

def asposebarcode.Recognition.QRExtendedParameters.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 asposebarcode.Recognition.QRExtendedParameters.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 asposebarcode.Recognition.QRExtendedParameters.getQRStructuredAppendModeParityData (   self)

Gets the QR structured append mode parity data.

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

◆ hashCode()

def asposebarcode.Recognition.QRExtendedParameters.hashCode (   self)

Returns the hash code for this instance.

:return: A 32-bit signed integer hash code.

◆ init()

def asposebarcode.Recognition.QRExtendedParameters.init (   self)

◆ isEmpty()

def asposebarcode.Recognition.QRExtendedParameters.isEmpty (   self)

◆ toString()

def asposebarcode.Recognition.QRExtendedParameters.toString (   self)

Returns a human-readable string representation of this QRExtendedParameters.

:return: A string that represents this QRExtendedParameters.