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

Public Member Functions

def __init__ (self, _java_class)
 
bool __eq__ (self, QRExtendedParameters other)
 Returns a value indicating whether this instance is equal to a specified QRExtendedParameters value. More...
 
int __hash__ (self)
 Returns the hash code for the current instance. More...
 
str __str__ (self)
 Returns a human-readable string representation of this QRExtendedParameters. More...
 
int error_level (self)
 
bool is_empty (self)
 
int micro_qr_version (self)
 
int qr_error_level (self)
 
int qr_structured_append_mode_barcode_index (self)
 
int qr_structured_append_mode_barcodes_quantity (self)
 
int qr_structured_append_mode_parity_data (self)
 
int qr_version (self)
 
int rect_micro_qr_version (self)
 
int structured_append_mode_barcode_index (self)
 
int structured_append_mode_barcodes_quantity (self)
 
int structured_append_mode_parity_data (self)
 
int version (self)
 

Detailed Description

Stores a QR Structured Append information of recognized barcode.

This sample shows how to get QR Structured Append data

reader = BarCodeReader(image_path_qr, DecodeType.QR)
for result in reader.read_barcodes():
print(f"\nBarCode Type: {result.code_type_name}")
print(f"BarCode CodeText: {result.code_text}")
print(f"QR Structured Append Quantity: {result.extended.qr.structured_append_mode_barcodes_quantity}")
print(f"QR Structured Append Index: {result.extended.qr.structured_append_mode_barcode_index}")
print(f"QR Structured Append ParityData: {result.extended.qr.structured_append_mode_parity_data}")

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  _java_class 
)

Member Function Documentation

◆ __eq__()

bool __eq__ (   self,
QRExtendedParameters  other 
)

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.

◆ __hash__()

int __hash__ (   self)

Returns the hash code for the current instance.

Returns
A hash code for the current object.

◆ __str__()

str __str__ (   self)

Returns a human-readable string representation of this QRExtendedParameters.

Returns
: A string that represents this QRExtendedParameters.

◆ error_level()

int error_level (   self)
Error correction level of recognized QR Code.

◆ is_empty()

bool is_empty (   self)
True if all parameters have default values, otherwise False.

◆ micro_qr_version()

int micro_qr_version (   self)
Version of recognized MicroQR Code. From M1 to M4.

◆ qr_error_level()

int qr_error_level (   self)
Error correction level of recognized QR Code.

◆ qr_structured_append_mode_barcode_index()

int qr_structured_append_mode_barcode_index (   self)
Index of QR structured append mode barcode (starting from 0). Default: -1.

◆ qr_structured_append_mode_barcodes_quantity()

int qr_structured_append_mode_barcodes_quantity (   self)
Number of QR structured append mode barcodes. Default: -1.

◆ qr_structured_append_mode_parity_data()

int qr_structured_append_mode_parity_data (   self)
Parity data of QR structured append mode barcode. Default: -1.

◆ qr_version()

int qr_version (   self)
Version of recognized QR Code. From Version1 to Version40.

◆ rect_micro_qr_version()

int rect_micro_qr_version (   self)
Version of recognized RectMicroQR Code. From R7x43 to R17x139.

◆ structured_append_mode_barcode_index()

int structured_append_mode_barcode_index (   self)
Index of QR structured append mode barcode (starting from 0). Default: -1.

◆ structured_append_mode_barcodes_quantity()

int structured_append_mode_barcodes_quantity (   self)
Number of QR structured append mode barcodes. Default: -1.

◆ structured_append_mode_parity_data()

int structured_append_mode_parity_data (   self)
Parity data of QR structured append mode barcode. Default: -1.

◆ version()

int version (   self)
Version of recognized QR Code. From Version1 to Version40.