eVision Python API
Loading...
Searching...
No Matches
eVision.EMailBarcodeReader Class Reference

Manages a complete context for a Mail Barcode Reader. More...

Public Member Functions

None __init__ (self)
 Constructs an EMailBarcodeReader context.
None __init__ (self, eVision.EMailBarcodeReader other)
 Constructs an EMailBarcodeReader context.
None Save (self, eVision.ESerializer|None serializer)
 Saves the current settings of the eVision.EMailBarcodeReader.__init__ object.
None Save (self, str path)
 Saves the current settings of the eVision.EMailBarcodeReader.__init__ object.
None Load (self, eVision.ESerializer|None serializer)
 Loads the settings of the eVision.EMailBarcodeReader.__init__ object, from disk.
None Load (self, str path)
 Loads the settings of the eVision.EMailBarcodeReader.__init__ object, from disk.
list[eVision._eVision.EMailBarcode] Read (self, eVision.EROIBW8 roi)
 Locates and decodes mail barcodes.
int ExpectedSymbologies (self)
 Expected symbologies for the Mail Barcode detection.
 ExpectedSymbologies (self, int value)
 Expected symbologies for the Mail Barcode detection.
int ExpectedOrientations (self)
 Expected barcode orientations for the Mail Barcode detection.
 ExpectedOrientations (self, int value)
 Expected barcode orientations for the Mail Barcode detection.
bool ValidateChecksum (self)
 Configures the reader to return barcodes even if their checksum is incorrect.
 ValidateChecksum (self, bool value)
 Configures the reader to return barcodes even if their checksum is incorrect.
bool EnableDottedBarcodes (self)
 Enables dotted barcode support.
 EnableDottedBarcodes (self, bool value)
 Enables dotted barcode support.
bool EnableClutteredBarcodes (self)
 Enables cluttered barcode (barcode with fused bars) support.
 EnableClutteredBarcodes (self, bool value)
 Enables cluttered barcode (barcode with fused bars) support.

Detailed Description

Manages a complete context for a Mail Barcode Reader.

Remarks:

License(s): EasyBarCode

Constructor & Destructor Documentation

◆ __init__() [1/2]

None eVision.EMailBarcodeReader.__init__ ( self)

Constructs an EMailBarcodeReader context.

◆ __init__() [2/2]

None eVision.EMailBarcodeReader.__init__ ( self,
eVision.EMailBarcodeReader other )

Constructs an EMailBarcodeReader context.

Parameters
otherAnother eVision.EMailBarcodeReader to construct the eVision.EMailBarcodeReader from.

Member Function Documentation

◆ EnableClutteredBarcodes() [1/2]

bool eVision.EMailBarcodeReader.EnableClutteredBarcodes ( self)

Enables cluttered barcode (barcode with fused bars) support.

◆ EnableClutteredBarcodes() [2/2]

eVision.EMailBarcodeReader.EnableClutteredBarcodes ( self,
bool value )

Enables cluttered barcode (barcode with fused bars) support.

◆ EnableDottedBarcodes() [1/2]

bool eVision.EMailBarcodeReader.EnableDottedBarcodes ( self)

Enables dotted barcode support.

◆ EnableDottedBarcodes() [2/2]

eVision.EMailBarcodeReader.EnableDottedBarcodes ( self,
bool value )

Enables dotted barcode support.

◆ ExpectedOrientations() [1/2]

int eVision.EMailBarcodeReader.ExpectedOrientations ( self)

Expected barcode orientations for the Mail Barcode detection.

Remarks:

The value is a combination of the members of the eVision.EMailBarcodeOrientation enumerate.

◆ ExpectedOrientations() [2/2]

eVision.EMailBarcodeReader.ExpectedOrientations ( self,
int value )

Expected barcode orientations for the Mail Barcode detection.

Remarks:

The value is a combination of the members of the eVision.EMailBarcodeOrientation enumerate.

◆ ExpectedSymbologies() [1/2]

int eVision.EMailBarcodeReader.ExpectedSymbologies ( self)

Expected symbologies for the Mail Barcode detection.

Remarks:

The value is a combination of the members of the eVision.EMailBarcodeSymbologies enumerate.

◆ ExpectedSymbologies() [2/2]

eVision.EMailBarcodeReader.ExpectedSymbologies ( self,
int value )

Expected symbologies for the Mail Barcode detection.

Remarks:

The value is a combination of the members of the eVision.EMailBarcodeSymbologies enumerate.

◆ Load() [1/2]

None eVision.EMailBarcodeReader.Load ( self,
eVision.ESerializer | None serializer )

Loads the settings of the eVision.EMailBarcodeReader.__init__ object, from disk.

Parameters
serializerThe serializer.

◆ Load() [2/2]

None eVision.EMailBarcodeReader.Load ( self,
str path )

Loads the settings of the eVision.EMailBarcodeReader.__init__ object, from disk.

Parameters
pathA string containing the full path to the file.

◆ Read()

list[eVision._eVision.EMailBarcode] eVision.EMailBarcodeReader.Read ( self,
eVision.EROIBW8 roi )

Locates and decodes mail barcodes.

Remarks:

This method returns the list of the detected barcodes.

Parameters
roiThe ROI/Image in which to search for mail barcodes.

◆ Save() [1/2]

None eVision.EMailBarcodeReader.Save ( self,
eVision.ESerializer | None serializer )

Saves the current settings of the eVision.EMailBarcodeReader.__init__ object.

Remarks:

It is advised to use a file extension that is non-standard (for instance *.mbr).

Parameters
serializerThe serializer.

◆ Save() [2/2]

None eVision.EMailBarcodeReader.Save ( self,
str path )

Saves the current settings of the eVision.EMailBarcodeReader.__init__ object.

Remarks:

It is advised to use a file extension that is non-standard (for instance *.mbr).

Parameters
pathA string containing the full path to the file.

◆ ValidateChecksum() [1/2]

bool eVision.EMailBarcodeReader.ValidateChecksum ( self)

Configures the reader to return barcodes even if their checksum is incorrect.

◆ ValidateChecksum() [2/2]

eVision.EMailBarcodeReader.ValidateChecksum ( self,
bool value )

Configures the reader to return barcodes even if their checksum is incorrect.