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

ComplexCodetextReader decodes codetext to specified complex barcode type. More...

Inherits BaseJavaClass.

Static Public Member Functions

Optional[Union[HIBCLICSecondaryAndAdditionalDataCodetext, HIBCLICPrimaryDataCodetext, HIBCLICCombinedCodetext]] tryDecodeHIBCLIC (str encodedCodetext)
 Decodes HIBC LIC codetext. More...
 
Optional[HIBCPASCodetexttryDecodeHIBCPAS (str encodedCodetext)
 Decodes HIBC PAS codetext. More...
 
Optional[MailmarkCodetexttryDecodeMailmark (str encodedCodetext)
 Decodes Mailmark Barcode C and L codetext. More...
 
Optional[Mailmark2DCodetexttryDecodeMailmark2D (str encodedCodetext)
 Decodes Royal Mail Mailmark 2D codetext. More...
 
Optional[Union[MaxiCodeCodetextMode2, MaxiCodeCodetextMode3, MaxiCodeStandardCodetext]] tryDecodeMaxiCode (int maxiCodeMode, str encodedCodetext)
 Decodes MaxiCode codetext. More...
 
Optional[SwissQRCodetexttryDecodeSwissQR (str encodedCodetext)
 Decodes SwissQR codetext. More...
 

Static Public Attributes

string javaClassName = "com.aspose.mw.barcode.complexbarcode.MwComplexCodetextReader"
 

Additional Inherited Members

- Public Member Functions inherited from BaseJavaClass
None __init__ (self, javaClass)
 
def getJavaClass (self)
 
str getJavaClassName (self)
 
None init (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 
- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

ComplexCodetextReader decodes codetext to specified complex barcode type.

This sample shows how to recognize and decode SwissQR image.

barCodeReader = Recognition.BarCodeReader(
"SwissQRCodetext.png", None, Recognition.DecodeType.QR)
results = barCodeReader.readBarCodes()
result = ComplexBarcode.ComplexCodetextReader.tryDecodeSwissQR(
results[0].getCodeText())

Member Function Documentation

◆ tryDecodeHIBCLIC()

Optional[Union[HIBCLICSecondaryAndAdditionalDataCodetext, HIBCLICPrimaryDataCodetext, HIBCLICCombinedCodetext]] tryDecodeHIBCLIC ( str  encodedCodetext)
static

Decodes HIBC LIC codetext.

Parameters
encodedCodetext:encoded codetext
Returns
:decoded HIBC LIC Complex Codetext or None.

◆ tryDecodeHIBCPAS()

Optional[HIBCPASCodetext] tryDecodeHIBCPAS ( str  encodedCodetext)
static

Decodes HIBC PAS codetext.

Parameters
encodedCodetext: encoded codetext
Returns
: decoded HIBC PAS Complex Codetext or None.

◆ tryDecodeMailmark()

Optional[MailmarkCodetext] tryDecodeMailmark ( str  encodedCodetext)
static

Decodes Mailmark Barcode C and L codetext.

Parameters
encodedCodetextencoded codetext
Returns
Decoded Mailmark Barcode C and L or None.

◆ tryDecodeMailmark2D()

Optional[Mailmark2DCodetext] tryDecodeMailmark2D ( str  encodedCodetext)
static

Decodes Royal Mail Mailmark 2D codetext.

Parameters
encodedCodetextencoded codetext
Returns
decoded Royal Mail Mailmark 2D or None.

◆ tryDecodeMaxiCode()

Optional[Union[MaxiCodeCodetextMode2, MaxiCodeCodetextMode3, MaxiCodeStandardCodetext]] tryDecodeMaxiCode ( int  maxiCodeMode,
str  encodedCodetext 
)
static

Decodes MaxiCode codetext.

Parameters
maxiCodeMode: MaxiCode mode
encodedCodetext: encoded codetext
Returns
: Decoded MaxiCode codetext.

◆ tryDecodeSwissQR()

Optional[SwissQRCodetext] tryDecodeSwissQR ( str  encodedCodetext)
static

Decodes SwissQR codetext.

Returns
decoded SwissQRCodetext or None.
Parameters
encodedCodetextencoded codetext

Member Data Documentation

◆ javaClassName

string javaClassName = "com.aspose.mw.barcode.complexbarcode.MwComplexCodetextReader"
static