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

Represents the QR code reader, that is a context for the detection and decoding of QR codes, represented by eVision.EQRCode objects. More...

Public Member Functions

None __init__ (self)
 Creates an eVision.EQRCodeReader object.
None __init__ (self, eVision.EQRCodeReader other)
 Creates an eVision.EQRCodeReader object.
list[eVision._eVision.EQRCodeGeometry] Detect (self)
eVision.EQRCode Decode (self, eVision.EQRCodeGeometry geometry)
list[eVision._eVision.EQRCode] Read (self, eVision.EROIBW8 roi)
 Detects and decodes all the QR codes in the search field.
list[eVision._eVision.EQRCode] Read (self, eVision.EROIBW8 roi, eVision.ERegion region)
 Detects and decodes all the QR codes in the search field.
list[eVision._eVision.EQRCode] Read (self, eVision.EROIBW8 roi, eVision.ERegion region, eVision.EFrame frame)
 Detects and decodes all the QR codes in the search field.
list[eVision._eVision.EQRCode] Read (self, eVision.EROIBW8 roi, eVision.EFrame frame)
 Detects and decodes all the QR codes in the search field.
eVision.EQRCodeGrid Read (self, eVision.EROIBW8 roi, int numCellsX, int numCellsY, float extension)
 Detects and decodes all the QR codes in the search field.
eVision.EQRCodeGrid Read (self, eVision.EROIBW8 roi, int numCellsX, int numCellsY)
 Detects and decodes all the QR codes in the search field.
eVision.EQRCodeGrid Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, int numCellsX, int numCellsY, float extension)
 Detects and decodes all the QR codes in the search field.
eVision.EQRCodeGrid Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, int numCellsX, int numCellsY)
 Detects and decodes all the QR codes in the search field.
eVision.EQRCodeGrid Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, eVision.EQRCodeGrid grid, float extension)
 Detects and decodes all the QR codes in the search field.
eVision.EQRCodeGrid Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, eVision.EQRCodeGrid grid)
 Detects and decodes all the QR codes in the search field.
eVision.EQRCodeGrid Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, eVision.EFrame frame, int numCellsX, int numCellsY, float extension)
 Detects and decodes all the QR codes in the search field.
eVision.EQRCodeGrid Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, eVision.EFrame frame, int numCellsX, int numCellsY)
 Detects and decodes all the QR codes in the search field.
eVision.EQRCodeGrid Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, eVision.EFrame frame, eVision.EQRCodeGrid grid, float extension)
 Detects and decodes all the QR codes in the search field.
eVision.EQRCodeGrid Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, eVision.EFrame frame, eVision.EQRCodeGrid grid)
 Detects and decodes all the QR codes in the search field.
eVision.EQRCodeGrid Read (self, eVision.EROIBW8 roi, eVision.EGrid grid)
 Detects and decodes all the QR codes in the search field.
eVision.EQRCodeGrid Read (self, eVision.EROIBW8 roi, eVision.EGrid grid, eVision.EFrame frame)
 Detects and decodes all the QR codes in the search field.
None Load (self, str path)
 Load the configuration for this eVision.EQRCodeReader instance.
None Load (self, eVision.ESerializer|None serializer)
 Load the configuration for this eVision.EQRCodeReader instance.
None Save (self, str path)
 Save the configuration for this eVision.EQRCodeReader instance.
None Save (self, eVision.ESerializer|None serializer)
 Save the configuration for this eVision.EQRCodeReader instance.
eVision.EQRCodeScanPrecision ScanPrecision (self)
 Precision of the eVision.EQRCodeReader.__init__ when scanning the search field.
 ScanPrecision (self, eVision.EQRCodeScanPrecision value)
 Precision of the eVision.EQRCodeReader.__init__ when scanning the search field.
eVision.EQRDetectionTradeOff DetectionTradeOff (self)
 This setting controls the trade-off between computation speed versus reliability of the algorithm and particularly of the detection methods.
 DetectionTradeOff (self, eVision.EQRDetectionTradeOff value)
 This setting controls the trade-off between computation speed versus reliability of the algorithm and particularly of the detection methods.
float MinimumScore (self)
 Minimum pattern finder score that must be reached to consider that a finder pattern has been found.
 MinimumScore (self, float value)
 Minimum pattern finder score that must be reached to consider that a finder pattern has been found.
float MinimumIsotropy (self)
 QR code minimum isotropy.
 MinimumIsotropy (self, float value)
 QR code minimum isotropy.
eVision.EQRCodePerspectiveMode PerspectiveMode (self)
 PerspectiveMode (self, eVision.EQRCodePerspectiveMode value)
int DetectionMethod (self)
 Sets the detection method for finding QR codes.
 DetectionMethod (self, int value)
 Sets the detection method for finding QR codes.
int ForegroundDetectionThreshold (self)
 Foreground detection threshold.
 ForegroundDetectionThreshold (self, int value)
 Foreground detection threshold.
int AdaptiveThresholdHalfKernelSize (self)
 Sets the half kernel size used to compute the threshold in eVision.EQRDetectionMethod.AdaptiveThreshold.
 AdaptiveThresholdHalfKernelSize (self, int value)
 Sets the half kernel size used to compute the threshold in eVision.EQRDetectionMethod.AdaptiveThreshold.
bool ComputeAdaptiveThresholdHalfKernelSizeFromImage (self)
 Sets whether the half kernel size used to compute the threshold in eVision.EQRDetectionMethod.AdaptiveThreshold is computed from image size or set by eVision.EQRCodeReader.AdaptiveThresholdHalfKernelSize.
 ComputeAdaptiveThresholdHalfKernelSizeFromImage (self, bool value)
 Sets whether the half kernel size used to compute the threshold in eVision.EQRDetectionMethod.AdaptiveThreshold is computed from image size or set by eVision.EQRCodeReader.AdaptiveThresholdHalfKernelSize.
bool FilterOutUnreliablyDecodedQRCodes (self)
 Activate or deactivate the filtering of unreliably decoded QR codes.
 FilterOutUnreliablyDecodedQRCodes (self, bool value)
 Activate or deactivate the filtering of unreliably decoded QR codes.
float CellPolarityConfidenceThreshold (self)
 Sets the minimum cell polarity confidence threshold.
 CellPolarityConfidenceThreshold (self, float value)
 Sets the minimum cell polarity confidence threshold.
bool ComputeGrading (self)
 Allows to choose whether the grading properties of the eVision.EQRCode object will be computed by the eVision.EQRCodeReader.Read method.
 ComputeGrading (self, bool value)
 Allows to choose whether the grading properties of the eVision.EQRCode object will be computed by the eVision.EQRCodeReader.Read method.
list[eVision._eVision.EQRCodeModel] SearchedModels (self)
 QR code models to be searched for.
 SearchedModels (self, list[eVision._eVision.EQRCodeModel] value)
 QR code models to be searched for.
int MinimumVersion (self)
 Minimum version of QR codes to be searched for.
 MinimumVersion (self, int value)
 Minimum version of QR codes to be searched for.
int MaximumVersion (self)
 Maximum version of QR codes to be searched for.
 MaximumVersion (self, int value)
 Maximum version of QR codes to be searched for.
int TimeOut (self)
 Time-out for the eVision.EQRCodeReader.Read method.
 TimeOut (self, int value)
 Time-out for the eVision.EQRCodeReader.Read method.
int MaxNumCodes (self)
 Maximum number of QR codes to find in a single Image/ROI.
 MaxNumCodes (self, int value)
 Maximum number of QR codes to find in a single Image/ROI.

Detailed Description

Represents the QR code reader, that is a context for the detection and decoding of QR codes, represented by eVision.EQRCode objects.

Remarks:

License(s): EasyQRCode

Constructor & Destructor Documentation

◆ __init__() [1/2]

None eVision.EQRCodeReader.__init__ ( self)

Creates an eVision.EQRCodeReader object.

◆ __init__() [2/2]

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

Creates an eVision.EQRCodeReader object.

Parameters
otherAnother eVision.EQRCodeReader object to be copied in the new eVision.EQRCodeReader object.

Member Function Documentation

◆ AdaptiveThresholdHalfKernelSize() [1/2]

int eVision.EQRCodeReader.AdaptiveThresholdHalfKernelSize ( self)

Sets the half kernel size used to compute the threshold in eVision.EQRDetectionMethod.AdaptiveThreshold.

Default: 50.

Remarks:

Prior to eVision 26.10, this setting was computed from the image size, to get previous behavior, set eVision.EQRCodeReader.ComputeAdaptiveThresholdHalfKernelSizeFromImage to true.

◆ AdaptiveThresholdHalfKernelSize() [2/2]

eVision.EQRCodeReader.AdaptiveThresholdHalfKernelSize ( self,
int value )

Sets the half kernel size used to compute the threshold in eVision.EQRDetectionMethod.AdaptiveThreshold.

Default: 50.

Remarks:

Prior to eVision 26.10, this setting was computed from the image size, to get previous behavior, set eVision.EQRCodeReader.ComputeAdaptiveThresholdHalfKernelSizeFromImage to true.

◆ CellPolarityConfidenceThreshold() [1/2]

float eVision.EQRCodeReader.CellPolarityConfidenceThreshold ( self)

Sets the minimum cell polarity confidence threshold.

When the cell confidence is under the threshold, additional processing is attempted to improve its polarity detection. The cell polarity confidence reflects the confidence in the cell digitization result, on a scale from 0 to 1. Increasing the threshold can improve reading of overprinted or underprinted QR codes. Default: 0.2f.

Remarks:

Large values can affect the speed and will increase the probability of false positive changes.

◆ CellPolarityConfidenceThreshold() [2/2]

eVision.EQRCodeReader.CellPolarityConfidenceThreshold ( self,
float value )

Sets the minimum cell polarity confidence threshold.

When the cell confidence is under the threshold, additional processing is attempted to improve its polarity detection. The cell polarity confidence reflects the confidence in the cell digitization result, on a scale from 0 to 1. Increasing the threshold can improve reading of overprinted or underprinted QR codes. Default: 0.2f.

Remarks:

Large values can affect the speed and will increase the probability of false positive changes.

◆ ComputeAdaptiveThresholdHalfKernelSizeFromImage() [1/2]

bool eVision.EQRCodeReader.ComputeAdaptiveThresholdHalfKernelSizeFromImage ( self)

Sets whether the half kernel size used to compute the threshold in eVision.EQRDetectionMethod.AdaptiveThreshold is computed from image size or set by eVision.EQRCodeReader.AdaptiveThresholdHalfKernelSize.

Default: false.

Remarks:

Prior to eVision 26.10, eVision.EQRCodeReader.AdaptiveThresholdHalfKernelSize was computed from the image size, to get previous behavior, set this to true.

◆ ComputeAdaptiveThresholdHalfKernelSizeFromImage() [2/2]

eVision.EQRCodeReader.ComputeAdaptiveThresholdHalfKernelSizeFromImage ( self,
bool value )

Sets whether the half kernel size used to compute the threshold in eVision.EQRDetectionMethod.AdaptiveThreshold is computed from image size or set by eVision.EQRCodeReader.AdaptiveThresholdHalfKernelSize.

Default: false.

Remarks:

Prior to eVision 26.10, eVision.EQRCodeReader.AdaptiveThresholdHalfKernelSize was computed from the image size, to get previous behavior, set this to true.

◆ ComputeGrading() [1/2]

bool eVision.EQRCodeReader.ComputeGrading ( self)

Allows to choose whether the grading properties of the eVision.EQRCode object will be computed by the eVision.EQRCodeReader.Read method.

The default setting for this property is false.

Remarks:

This setting is not available for Micro QR code symbols.

◆ ComputeGrading() [2/2]

eVision.EQRCodeReader.ComputeGrading ( self,
bool value )

Allows to choose whether the grading properties of the eVision.EQRCode object will be computed by the eVision.EQRCodeReader.Read method.

The default setting for this property is false.

Remarks:

This setting is not available for Micro QR code symbols.

◆ Decode()

eVision.EQRCode eVision.EQRCodeReader.Decode ( self,
eVision.EQRCodeGeometry geometry )

◆ Detect()

list[eVision._eVision.EQRCodeGeometry] eVision.EQRCodeReader.Detect ( self)

◆ DetectionMethod() [1/2]

int eVision.EQRCodeReader.DetectionMethod ( self)

Sets the detection method for finding QR codes.

The method can be any combination of the eVision.EQRDetectionMethod enums.

Remarks:

The default value is: 'eVision.EQRDetectionMethod.Gradient | eVision.EQRDetectionMethod.AdaptiveThreshold'.

◆ DetectionMethod() [2/2]

eVision.EQRCodeReader.DetectionMethod ( self,
int value )

Sets the detection method for finding QR codes.

The method can be any combination of the eVision.EQRDetectionMethod enums.

Remarks:

The default value is: 'eVision.EQRDetectionMethod.Gradient | eVision.EQRDetectionMethod.AdaptiveThreshold'.

◆ DetectionTradeOff() [1/2]

eVision.EQRDetectionTradeOff eVision.EQRCodeReader.DetectionTradeOff ( self)

This setting controls the trade-off between computation speed versus reliability of the algorithm and particularly of the detection methods.

Setting the trade-off will overwrite the current settings for eVision.EQRCodeScanPrecision and eVision.EQRDetectionMethod.

Remarks:

Available values are defined by eVision.EQRDetectionTradeOff. The default value is EQRDetectionTradeOff_Balanced.

◆ DetectionTradeOff() [2/2]

eVision.EQRCodeReader.DetectionTradeOff ( self,
eVision.EQRDetectionTradeOff value )

This setting controls the trade-off between computation speed versus reliability of the algorithm and particularly of the detection methods.

Setting the trade-off will overwrite the current settings for eVision.EQRCodeScanPrecision and eVision.EQRDetectionMethod.

Remarks:

Available values are defined by eVision.EQRDetectionTradeOff. The default value is EQRDetectionTradeOff_Balanced.

◆ FilterOutUnreliablyDecodedQRCodes() [1/2]

bool eVision.EQRCodeReader.FilterOutUnreliablyDecodedQRCodes ( self)

Activate or deactivate the filtering of unreliably decoded QR codes.

Remarks:

By default, the QR code reader does not return unreliably decoded QR codes.

◆ FilterOutUnreliablyDecodedQRCodes() [2/2]

eVision.EQRCodeReader.FilterOutUnreliablyDecodedQRCodes ( self,
bool value )

Activate or deactivate the filtering of unreliably decoded QR codes.

Remarks:

By default, the QR code reader does not return unreliably decoded QR codes.

◆ ForegroundDetectionThreshold() [1/2]

int eVision.EQRCodeReader.ForegroundDetectionThreshold ( self)

Foreground detection threshold.

This parameter determines by how many grayscale-values a pixel should deviate from its local background to be considered part of the foreground.

Remarks:

In most cases, changing the value of this parameter is not required. A small threshold value may help to locate codes in low contrast images. If you think you might need to use this parameter, contact technical support for advice. The default value for this parameter is 10.

◆ ForegroundDetectionThreshold() [2/2]

eVision.EQRCodeReader.ForegroundDetectionThreshold ( self,
int value )

Foreground detection threshold.

This parameter determines by how many grayscale-values a pixel should deviate from its local background to be considered part of the foreground.

Remarks:

In most cases, changing the value of this parameter is not required. A small threshold value may help to locate codes in low contrast images. If you think you might need to use this parameter, contact technical support for advice. The default value for this parameter is 10.

◆ Load() [1/2]

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

Load the configuration for this eVision.EQRCodeReader instance.

Parameters
serializerThe given eVision.ESerializer, it must have been created for reading.

◆ Load() [2/2]

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

Load the configuration for this eVision.EQRCodeReader instance.

Parameters
pathThe path from which to load the configuration.

◆ MaximumVersion() [1/2]

int eVision.EQRCodeReader.MaximumVersion ( self)

Maximum version of QR codes to be searched for.

Remarks:

This parameter value ranges from 1 to 40. Default value: 40.

◆ MaximumVersion() [2/2]

eVision.EQRCodeReader.MaximumVersion ( self,
int value )

Maximum version of QR codes to be searched for.

Remarks:

This parameter value ranges from 1 to 40. Default value: 40.

◆ MaxNumCodes() [1/2]

int eVision.EQRCodeReader.MaxNumCodes ( self)

Maximum number of QR codes to find in a single Image/ROI.

Remarks:

By default, this parameter is set to 1.

◆ MaxNumCodes() [2/2]

eVision.EQRCodeReader.MaxNumCodes ( self,
int value )

Maximum number of QR codes to find in a single Image/ROI.

Remarks:

By default, this parameter is set to 1.

◆ MinimumIsotropy() [1/2]

float eVision.EQRCodeReader.MinimumIsotropy ( self)

QR code minimum isotropy.

Remarks:

The isotropy of a QR code is defined as its short side divided by its long side.

This parameter value ranges from 0 to 1. Default value: 0.75.

◆ MinimumIsotropy() [2/2]

eVision.EQRCodeReader.MinimumIsotropy ( self,
float value )

QR code minimum isotropy.

Remarks:

The isotropy of a QR code is defined as its short side divided by its long side.

This parameter value ranges from 0 to 1. Default value: 0.75.

◆ MinimumScore() [1/2]

float eVision.EQRCodeReader.MinimumScore ( self)

Minimum pattern finder score that must be reached to consider that a finder pattern has been found.

Remarks:

The pattern finder score is based on a normalized correlation with a perfect finder pattern model.

A perfect match with the model would return a score of 1. This parameter value ranges from 0 to 1. Default value: 0.7.

◆ MinimumScore() [2/2]

eVision.EQRCodeReader.MinimumScore ( self,
float value )

Minimum pattern finder score that must be reached to consider that a finder pattern has been found.

Remarks:

The pattern finder score is based on a normalized correlation with a perfect finder pattern model.

A perfect match with the model would return a score of 1. This parameter value ranges from 0 to 1. Default value: 0.7.

◆ MinimumVersion() [1/2]

int eVision.EQRCodeReader.MinimumVersion ( self)

Minimum version of QR codes to be searched for.

Remarks:

This parameter value ranges from 1 to 40. Default value: 1.

◆ MinimumVersion() [2/2]

eVision.EQRCodeReader.MinimumVersion ( self,
int value )

Minimum version of QR codes to be searched for.

Remarks:

This parameter value ranges from 1 to 40. Default value: 1.

◆ PerspectiveMode() [1/2]

eVision.EQRCodePerspectiveMode eVision.EQRCodeReader.PerspectiveMode ( self)

◆ PerspectiveMode() [2/2]

eVision.EQRCodeReader.PerspectiveMode ( self,
eVision.EQRCodePerspectiveMode value )

◆ Read() [1/16]

list[eVision._eVision.EQRCode] eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Parameters
roiThe ROI in which the QR codes have to be found.

◆ Read() [2/16]

list[eVision._eVision.EQRCode] eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.EFrame frame )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Parameters
roiThe ROI in which the QR codes have to be found.
frameReference frame of the input image

◆ Read() [3/16]

eVision.EQRCodeGrid eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.EGrid grid )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Parameters
roiThe ROI in which the QR codes have to be found.
gridGrid with cell disabling capabilities

◆ Read() [4/16]

eVision.EQRCodeGrid eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.EGrid grid,
eVision.EFrame frame )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Parameters
roiThe ROI in which the QR codes have to be found.
gridGrid with cell disabling capabilities
frameReference frame of the input image

◆ Read() [5/16]

eVision.EQRCodeGrid eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.ERectangleRegion area,
eVision.EFrame frame,
eVision.EQRCodeGrid grid )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Deprecated

Deprecated, use overloads taking an eVision.EGrid argument instead.

Deprecated in version 26.6. Scheduled to be removed in version 27.6.

Parameters
roiThe ROI in which the QR codes have to be found.
areaRectangular Region used as the full grid area
frameReference frame of the input image
gridGrid with cell disabling capabilities

◆ Read() [6/16]

eVision.EQRCodeGrid eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.ERectangleRegion area,
eVision.EFrame frame,
eVision.EQRCodeGrid grid,
float extension )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Deprecated

Deprecated, use overloads taking an eVision.EGrid argument instead.

Deprecated in version 26.6. Scheduled to be removed in version 27.6.

Parameters
roiThe ROI in which the QR codes have to be found.
areaRectangular Region used as the full grid area
frameReference frame of the input image
gridGrid with cell disabling capabilities
extensionExtension of the grid cells to allow cell overlap. For instance, 0.0f means no extension and 0.1f means a 10% cell size extension.

◆ Read() [7/16]

eVision.EQRCodeGrid eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.ERectangleRegion area,
eVision.EFrame frame,
int numCellsX,
int numCellsY )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Deprecated

Deprecated, use overloads taking an eVision.EGrid argument instead.

Deprecated in version 26.6. Scheduled to be removed in version 27.6.

Parameters
roiThe ROI in which the QR codes have to be found.
areaRectangular Region used as the full grid area
frameReference frame of the input image
numCellsXNumber of grid cells in the X direction
numCellsYNumber of grid cells in the Y direction

◆ Read() [8/16]

eVision.EQRCodeGrid eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.ERectangleRegion area,
eVision.EFrame frame,
int numCellsX,
int numCellsY,
float extension )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Deprecated

Deprecated, use overloads taking an eVision.EGrid argument instead.

Deprecated in version 26.6. Scheduled to be removed in version 27.6.

Parameters
roiThe ROI in which the QR codes have to be found.
areaRectangular Region used as the full grid area
frameReference frame of the input image
numCellsXNumber of grid cells in the X direction
numCellsYNumber of grid cells in the Y direction
extensionExtension of the grid cells to allow cell overlap. For instance, 0.0f means no extension and 0.1f means a 10% cell size extension.

◆ Read() [9/16]

eVision.EQRCodeGrid eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.ERectangleRegion area,
eVision.EQRCodeGrid grid )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Deprecated

Deprecated, use overloads taking an eVision.EGrid argument instead.

Deprecated in version 26.6. Scheduled to be removed in version 27.6.

Parameters
roiThe ROI in which the QR codes have to be found.
areaRectangular Region used as the full grid area
gridGrid with cell disabling capabilities

◆ Read() [10/16]

eVision.EQRCodeGrid eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.ERectangleRegion area,
eVision.EQRCodeGrid grid,
float extension )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Deprecated

Deprecated, use overloads taking an eVision.EGrid argument instead.

Deprecated in version 26.6. Scheduled to be removed in version 27.6.

Parameters
roiThe ROI in which the QR codes have to be found.
areaRectangular Region used as the full grid area
gridGrid with cell disabling capabilities
extensionExtension of the grid cells to allow cell overlap. For instance, 0.0f means no extension and 0.1f means a 10% cell size extension.

◆ Read() [11/16]

eVision.EQRCodeGrid eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.ERectangleRegion area,
int numCellsX,
int numCellsY )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Deprecated

Deprecated, use overloads taking an eVision.EGrid argument instead.

Deprecated in version 26.6. Scheduled to be removed in version 27.6.

Parameters
roiThe ROI in which the QR codes have to be found.
areaRectangular Region used as the full grid area
numCellsXNumber of grid cells in the X direction
numCellsYNumber of grid cells in the Y direction

◆ Read() [12/16]

eVision.EQRCodeGrid eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.ERectangleRegion area,
int numCellsX,
int numCellsY,
float extension )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Deprecated

Deprecated, use overloads taking an eVision.EGrid argument instead.

Deprecated in version 26.6. Scheduled to be removed in version 27.6.

Parameters
roiThe ROI in which the QR codes have to be found.
areaRectangular Region used as the full grid area
numCellsXNumber of grid cells in the X direction
numCellsYNumber of grid cells in the Y direction
extensionExtension of the grid cells to allow cell overlap. For instance, 0.0f means no extension and 0.1f means a 10% cell size extension.

◆ Read() [13/16]

list[eVision._eVision.EQRCode] eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.ERegion region )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Parameters
roiThe ROI in which the QR codes have to be found.
regionRegion into the ROI where the qr codes have to be found.

◆ Read() [14/16]

list[eVision._eVision.EQRCode] eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
eVision.ERegion region,
eVision.EFrame frame )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Parameters
roiThe ROI in which the QR codes have to be found.
regionRegion into the ROI where the qr codes have to be found.
frameReference frame of the input image

◆ Read() [15/16]

eVision.EQRCodeGrid eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
int numCellsX,
int numCellsY )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Parameters
roiThe ROI in which the QR codes have to be found.
numCellsXNumber of grid cells in the X direction
numCellsYNumber of grid cells in the Y direction

◆ Read() [16/16]

eVision.EQRCodeGrid eVision.EQRCodeReader.Read ( self,
eVision.EROIBW8 roi,
int numCellsX,
int numCellsY,
float extension )

Detects and decodes all the QR codes in the search field.

Returns them as eVision.EQRCode objects.

Remarks:

The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain QR Codes. See the eVision.EQRCodeGrid class documentation for more information.

Parameters
roiThe ROI in which the QR codes have to be found.
numCellsXNumber of grid cells in the X direction
numCellsYNumber of grid cells in the Y direction
extensionExtension of the grid cells to allow cell overlap. For instance, 0.0f means no extension and 0.1f means a 10% cell size extension.

◆ Save() [1/2]

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

Save the configuration for this eVision.EQRCodeReader instance.

Parameters
serializerThe given eVision.ESerializer, it must have been created for writing.

◆ Save() [2/2]

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

Save the configuration for this eVision.EQRCodeReader instance.

Parameters
pathThe path to which to save the configuration.

◆ ScanPrecision() [1/2]

eVision.EQRCodeScanPrecision eVision.EQRCodeReader.ScanPrecision ( self)

Precision of the eVision.EQRCodeReader.__init__ when scanning the search field.

Remarks:

Available values are defined by eVision.EQRCodeScanPrecision. The default value is EQRCodeScanPrecision_Automatic.

◆ ScanPrecision() [2/2]

eVision.EQRCodeReader.ScanPrecision ( self,
eVision.EQRCodeScanPrecision value )

Precision of the eVision.EQRCodeReader.__init__ when scanning the search field.

Remarks:

Available values are defined by eVision.EQRCodeScanPrecision. The default value is EQRCodeScanPrecision_Automatic.

◆ SearchedModels() [1/2]

list[eVision._eVision.EQRCodeModel] eVision.EQRCodeReader.SearchedModels ( self)

QR code models to be searched for.

Remarks:

By default, the QR code reader searches for eVision.EQRCodeModel.Model1 and eVision.EQRCodeModel.Model2.

◆ SearchedModels() [2/2]

eVision.EQRCodeReader.SearchedModels ( self,
list[eVision._eVision.EQRCodeModel] value )

QR code models to be searched for.

Remarks:

By default, the QR code reader searches for eVision.EQRCodeModel.Model1 and eVision.EQRCodeModel.Model2.

◆ TimeOut() [1/2]

int eVision.EQRCodeReader.TimeOut ( self)

Time-out for the eVision.EQRCodeReader.Read method.

Remarks:

If the processing time of one of these functions becomes longer than the set time-out, the processing is stopped and an exception is thrown. In that case, the error code of the exception is eVision.EError.TimeoutReached.

The time-out is set in microseconds.

This time-out is not a real time-out. The processing is stopped as soon as possible after the time-out has been reached. This means that the time elapsed effectively in the method can be greater than the time-out itself.

◆ TimeOut() [2/2]

eVision.EQRCodeReader.TimeOut ( self,
int value )

Time-out for the eVision.EQRCodeReader.Read method.

Remarks:

If the processing time of one of these functions becomes longer than the set time-out, the processing is stopped and an exception is thrown. In that case, the error code of the exception is eVision.EError.TimeoutReached.

The time-out is set in microseconds.

This time-out is not a real time-out. The processing is stopped as soon as possible after the time-out has been reached. This means that the time elapsed effectively in the method can be greater than the time-out itself.