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 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)
 Tests whether all parameters has only default values. More...
 
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 BaseJavaClass
def getJavaClass (self)
 
def setJavaClass (self, javaClass)
 
def getJavaClassName (self)
 
def isNull (self)
 
def printJavaClassName (self)
 

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("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 __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.

◆ 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.

◆ 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.