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.

Properties

 ExpectedSymbologies = property(_ExpectedSymbologies__getter, _ExpectedSymbologies__setter)
 Expected symbologies for the Mail Barcode detection.
 ExpectedOrientations = property(_ExpectedOrientations__getter, _ExpectedOrientations__setter)
 Expected barcode orientations for the Mail Barcode detection.
 ValidateChecksum = property(_ValidateChecksum__getter, _ValidateChecksum__setter)
 Configures the reader to return barcodes even if their checksum is incorrect.
 EnableDottedBarcodes = property(_EnableDottedBarcodes__getter, _EnableDottedBarcodes__setter)
 Enables dotted barcode support.
 EnableClutteredBarcodes = property(_EnableClutteredBarcodes__getter, _EnableClutteredBarcodes__setter)
 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

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

Property Documentation

◆ EnableClutteredBarcodes

eVision.EMailBarcodeReader.EnableClutteredBarcodes = property(_EnableClutteredBarcodes__getter, _EnableClutteredBarcodes__setter)
static

Enables cluttered barcode (barcode with fused bars) support.

◆ EnableDottedBarcodes

eVision.EMailBarcodeReader.EnableDottedBarcodes = property(_EnableDottedBarcodes__getter, _EnableDottedBarcodes__setter)
static

Enables dotted barcode support.

◆ ExpectedOrientations

eVision.EMailBarcodeReader.ExpectedOrientations = property(_ExpectedOrientations__getter, _ExpectedOrientations__setter)
static

Expected barcode orientations for the Mail Barcode detection.

Remarks:

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

◆ ExpectedSymbologies

eVision.EMailBarcodeReader.ExpectedSymbologies = property(_ExpectedSymbologies__getter, _ExpectedSymbologies__setter)
static

Expected symbologies for the Mail Barcode detection.

Remarks:

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

◆ ValidateChecksum

eVision.EMailBarcodeReader.ValidateChecksum = property(_ValidateChecksum__getter, _ValidateChecksum__setter)
static

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