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

Specify the type of barcode to read. More...

Inherits Enum.

Static Public Member Functions

def is1D (symbology)
 Determines if the specified BaseDecodeType contains any 1D barcode symbology :param symbology: :return: string true if BaseDecodeType contains any 1D barcode symbology; otherwise, returns false. More...
 
def isPostal (symbology)
 Determines if the specified BaseDecodeType contains any Postal barcode symbology :param symbology: symbology The BaseDecodeType to test :return: Returns true if BaseDecodeType contains any Postal barcode symbology; otherwise, returns false. More...
 
def is2D (symbology)
 
def containsAny (decodeType, decodeTypes)
 

Static Public Attributes

int NONE = -1
 
int CODABAR = 0
 
int CODE_11 = 1
 
int CODE_39_STANDARD = 2
 
int CODE_39_EXTENDED = 3
 
int CODE_93_STANDARD = 4
 
int CODE_93_EXTENDED = 5
 
int CODE_128 = 6
 
int GS_1_CODE_128 = 7
 
int EAN_8 = 8
 
int EAN_13 = 9
 
int EAN_14 = 10
 
int SCC_14 = 11
 
int SSCC_18 = 12
 
int UPCA = 13
 
int UPCE = 14
 
int ISBN = 15
 
int STANDARD_2_OF_5 = 16
 
int INTERLEAVED_2_OF_5 = 17
 
int MATRIX_2_OF_5 = 18
 
int ITALIAN_POST_25 = 19
 
int IATA_2_OF_5 = 20
 
int ITF_14 = 21
 
int ITF_6 = 22
 
int MSI = 23
 
int VIN = 24
 
int DEUTSCHE_POST_IDENTCODE = 25
 
int DEUTSCHE_POST_LEITCODE = 26
 
int OPC = 27
 
int PZN = 28
 
int PHARMACODE = 29
 
int DATA_MATRIX = 30
 
int GS_1_DATA_MATRIX = 31
 
int QR = 32
 
int AZTEC = 33
 
int PDF_417 = 34
 
int MACRO_PDF_417 = 35
 
int MICRO_PDF_417 = 36
 
int CODABLOCK_F = 65
 
int MAILMARK = 66
 
int AUSTRALIA_POST = 37
 
int POSTNET = 38
 
int PLANET = 39
 
int ONE_CODE = 40
 
int RM_4_SCC = 41
 
int DATABAR_OMNI_DIRECTIONAL = 42
 
int DATABAR_TRUNCATED = 43
 
int DATABAR_LIMITED = 44
 
int DATABAR_EXPANDED = 45
 
int DATABAR_STACKED_OMNI_DIRECTIONAL = 53
 
int DATABAR_STACKED = 54
 
int DATABAR_EXPANDED_STACKED = 55
 
int PATCH_CODE = 46
 
int ISSN = 47
 
int ISMN = 48
 
int SUPPLEMENT = 49
 
int AUSTRALIAN_POSTE_PARCEL = 50
 
int SWISS_POST_PARCEL = 51
 
int CODE_16_K = 52
 
int MICRO_QR = 56
 
int COMPACT_PDF_417 = 57
 
int GS_1_QR = 58
 
int MAXI_CODE = 59
 
int MICR_E_13_B = 60
 
int CODE_32 = 61
 
int DATA_LOGIC_2_OF_5 = 62
 
int DOT_CODE = 63
 
int DUTCH_KIX = 64
 
int ALL_SUPPORTED_TYPES = 71
 
int TYPES_1D = 67
 
int POSTAL_TYPES = 68
 
int MOST_COMMON_TYPES = 69
 
int TYPES_2D = 70
 
string javaClassName = "com.aspose.mw.barcode.recognition.MwDecodeTypeUtils"
 

Detailed Description

Specify the type of barcode to read.

This sample shows how to detect Code39 and Code128 barcodes.

reader = BarCodeReader("test.png", None, [ DecodeType.CODE_39_STANDARD, DecodeType.CODE_128 ])
for result in reader.readBarCodes():
print("BarCode Type: " + result.getCodeTypeName())
print("BarCode CodeText: " + result.getCodeText())

Member Function Documentation

◆ containsAny()

def asposebarcode.Recognition.DecodeType.containsAny (   decodeType,
  decodeTypes 
)
static

◆ is1D()

def asposebarcode.Recognition.DecodeType.is1D (   symbology)
static

Determines if the specified BaseDecodeType contains any 1D barcode symbology :param symbology: :return: string true if BaseDecodeType contains any 1D barcode symbology; otherwise, returns false.

◆ is2D()

def asposebarcode.Recognition.DecodeType.is2D (   symbology)
static
Determines if the specified <see cref="BaseDecodeType"/> contains any 2D barcode symbology
:param symbology: symbology The <see cref="BaseDecodeType"/> to test.
:return: Returns <b>true</b> if <see cref="BaseDecodeType"/> contains any 2D barcode symbology; otherwise, returns <b>false</b>.

◆ isPostal()

def asposebarcode.Recognition.DecodeType.isPostal (   symbology)
static

Determines if the specified BaseDecodeType contains any Postal barcode symbology :param symbology: symbology The BaseDecodeType to test :return: Returns true if BaseDecodeType contains any Postal barcode symbology; otherwise, returns false.

Member Data Documentation

◆ ALL_SUPPORTED_TYPES

int asposebarcode.Recognition.DecodeType.ALL_SUPPORTED_TYPES = 71
static

◆ AUSTRALIA_POST

int asposebarcode.Recognition.DecodeType.AUSTRALIA_POST = 37
static

◆ AUSTRALIAN_POSTE_PARCEL

int asposebarcode.Recognition.DecodeType.AUSTRALIAN_POSTE_PARCEL = 50
static

◆ AZTEC

int asposebarcode.Recognition.DecodeType.AZTEC = 33
static

◆ CODABAR

int asposebarcode.Recognition.DecodeType.CODABAR = 0
static

◆ CODABLOCK_F

int asposebarcode.Recognition.DecodeType.CODABLOCK_F = 65
static

◆ CODE_11

int asposebarcode.Recognition.DecodeType.CODE_11 = 1
static

◆ CODE_128

int asposebarcode.Recognition.DecodeType.CODE_128 = 6
static

◆ CODE_16_K

int asposebarcode.Recognition.DecodeType.CODE_16_K = 52
static

◆ CODE_32

int asposebarcode.Recognition.DecodeType.CODE_32 = 61
static

◆ CODE_39_EXTENDED

int asposebarcode.Recognition.DecodeType.CODE_39_EXTENDED = 3
static

◆ CODE_39_STANDARD

int asposebarcode.Recognition.DecodeType.CODE_39_STANDARD = 2
static

◆ CODE_93_EXTENDED

int asposebarcode.Recognition.DecodeType.CODE_93_EXTENDED = 5
static

◆ CODE_93_STANDARD

int asposebarcode.Recognition.DecodeType.CODE_93_STANDARD = 4
static

◆ COMPACT_PDF_417

int asposebarcode.Recognition.DecodeType.COMPACT_PDF_417 = 57
static

◆ DATA_LOGIC_2_OF_5

int asposebarcode.Recognition.DecodeType.DATA_LOGIC_2_OF_5 = 62
static

◆ DATA_MATRIX

int asposebarcode.Recognition.DecodeType.DATA_MATRIX = 30
static

◆ DATABAR_EXPANDED

int asposebarcode.Recognition.DecodeType.DATABAR_EXPANDED = 45
static

◆ DATABAR_EXPANDED_STACKED

int asposebarcode.Recognition.DecodeType.DATABAR_EXPANDED_STACKED = 55
static

◆ DATABAR_LIMITED

int asposebarcode.Recognition.DecodeType.DATABAR_LIMITED = 44
static

◆ DATABAR_OMNI_DIRECTIONAL

int asposebarcode.Recognition.DecodeType.DATABAR_OMNI_DIRECTIONAL = 42
static

◆ DATABAR_STACKED

int asposebarcode.Recognition.DecodeType.DATABAR_STACKED = 54
static

◆ DATABAR_STACKED_OMNI_DIRECTIONAL

int asposebarcode.Recognition.DecodeType.DATABAR_STACKED_OMNI_DIRECTIONAL = 53
static

◆ DATABAR_TRUNCATED

int asposebarcode.Recognition.DecodeType.DATABAR_TRUNCATED = 43
static

◆ DEUTSCHE_POST_IDENTCODE

int asposebarcode.Recognition.DecodeType.DEUTSCHE_POST_IDENTCODE = 25
static

◆ DEUTSCHE_POST_LEITCODE

int asposebarcode.Recognition.DecodeType.DEUTSCHE_POST_LEITCODE = 26
static

◆ DOT_CODE

int asposebarcode.Recognition.DecodeType.DOT_CODE = 63
static

◆ DUTCH_KIX

int asposebarcode.Recognition.DecodeType.DUTCH_KIX = 64
static

◆ EAN_13

int asposebarcode.Recognition.DecodeType.EAN_13 = 9
static

◆ EAN_14

int asposebarcode.Recognition.DecodeType.EAN_14 = 10
static

◆ EAN_8

int asposebarcode.Recognition.DecodeType.EAN_8 = 8
static

◆ GS_1_CODE_128

int asposebarcode.Recognition.DecodeType.GS_1_CODE_128 = 7
static

◆ GS_1_DATA_MATRIX

int asposebarcode.Recognition.DecodeType.GS_1_DATA_MATRIX = 31
static

◆ GS_1_QR

int asposebarcode.Recognition.DecodeType.GS_1_QR = 58
static

◆ IATA_2_OF_5

int asposebarcode.Recognition.DecodeType.IATA_2_OF_5 = 20
static

◆ INTERLEAVED_2_OF_5

int asposebarcode.Recognition.DecodeType.INTERLEAVED_2_OF_5 = 17
static

◆ ISBN

int asposebarcode.Recognition.DecodeType.ISBN = 15
static

◆ ISMN

int asposebarcode.Recognition.DecodeType.ISMN = 48
static

◆ ISSN

int asposebarcode.Recognition.DecodeType.ISSN = 47
static

◆ ITALIAN_POST_25

int asposebarcode.Recognition.DecodeType.ITALIAN_POST_25 = 19
static

◆ ITF_14

int asposebarcode.Recognition.DecodeType.ITF_14 = 21
static

◆ ITF_6

int asposebarcode.Recognition.DecodeType.ITF_6 = 22
static

◆ javaClassName

string asposebarcode.Recognition.DecodeType.javaClassName = "com.aspose.mw.barcode.recognition.MwDecodeTypeUtils"
static

◆ MACRO_PDF_417

int asposebarcode.Recognition.DecodeType.MACRO_PDF_417 = 35
static

◆ MAILMARK

int asposebarcode.Recognition.DecodeType.MAILMARK = 66
static

◆ MATRIX_2_OF_5

int asposebarcode.Recognition.DecodeType.MATRIX_2_OF_5 = 18
static

◆ MAXI_CODE

int asposebarcode.Recognition.DecodeType.MAXI_CODE = 59
static

◆ MICR_E_13_B

int asposebarcode.Recognition.DecodeType.MICR_E_13_B = 60
static

◆ MICRO_PDF_417

int asposebarcode.Recognition.DecodeType.MICRO_PDF_417 = 36
static

◆ MICRO_QR

int asposebarcode.Recognition.DecodeType.MICRO_QR = 56
static

◆ MOST_COMMON_TYPES

int asposebarcode.Recognition.DecodeType.MOST_COMMON_TYPES = 69
static

◆ MSI

int asposebarcode.Recognition.DecodeType.MSI = 23
static

◆ NONE

int asposebarcode.Recognition.DecodeType.NONE = -1
static

◆ ONE_CODE

int asposebarcode.Recognition.DecodeType.ONE_CODE = 40
static

◆ OPC

int asposebarcode.Recognition.DecodeType.OPC = 27
static

◆ PATCH_CODE

int asposebarcode.Recognition.DecodeType.PATCH_CODE = 46
static

◆ PDF_417

int asposebarcode.Recognition.DecodeType.PDF_417 = 34
static

◆ PHARMACODE

int asposebarcode.Recognition.DecodeType.PHARMACODE = 29
static

◆ PLANET

int asposebarcode.Recognition.DecodeType.PLANET = 39
static

◆ POSTAL_TYPES

int asposebarcode.Recognition.DecodeType.POSTAL_TYPES = 68
static

◆ POSTNET

int asposebarcode.Recognition.DecodeType.POSTNET = 38
static

◆ PZN

int asposebarcode.Recognition.DecodeType.PZN = 28
static

◆ QR

int asposebarcode.Recognition.DecodeType.QR = 32
static

◆ RM_4_SCC

int asposebarcode.Recognition.DecodeType.RM_4_SCC = 41
static

◆ SCC_14

int asposebarcode.Recognition.DecodeType.SCC_14 = 11
static

◆ SSCC_18

int asposebarcode.Recognition.DecodeType.SSCC_18 = 12
static

◆ STANDARD_2_OF_5

int asposebarcode.Recognition.DecodeType.STANDARD_2_OF_5 = 16
static

◆ SUPPLEMENT

int asposebarcode.Recognition.DecodeType.SUPPLEMENT = 49
static

◆ SWISS_POST_PARCEL

int asposebarcode.Recognition.DecodeType.SWISS_POST_PARCEL = 51
static

◆ TYPES_1D

int asposebarcode.Recognition.DecodeType.TYPES_1D = 67
static

◆ TYPES_2D

int asposebarcode.Recognition.DecodeType.TYPES_2D = 70
static

◆ UPCA

int asposebarcode.Recognition.DecodeType.UPCA = 13
static

◆ UPCE

int asposebarcode.Recognition.DecodeType.UPCE = 14
static

◆ VIN

int asposebarcode.Recognition.DecodeType.VIN = 24
static