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. | |
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
| None eVision.EQRCodeReader.__init__ | ( | self | ) |
Creates an eVision.EQRCodeReader object.
| None eVision.EQRCodeReader.__init__ | ( | self, | |
| eVision.EQRCodeReader | other ) |
Creates an eVision.EQRCodeReader object.
| other | Another eVision.EQRCodeReader object to be copied in the new eVision.EQRCodeReader object. |
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| eVision.EQRCode eVision.EQRCodeReader.Decode | ( | self, | |
| eVision.EQRCodeGeometry | geometry ) |
| list[eVision._eVision.EQRCodeGeometry] eVision.EQRCodeReader.Detect | ( | self | ) |
| 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'.
| 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'.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| None eVision.EQRCodeReader.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Load the configuration for this eVision.EQRCodeReader instance.
| serializer | The given eVision.ESerializer, it must have been created for reading. |
| None eVision.EQRCodeReader.Load | ( | self, | |
| str | path ) |
Load the configuration for this eVision.EQRCodeReader instance.
| path | The path from which to load the configuration. |
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| eVision.EQRCodePerspectiveMode eVision.EQRCodeReader.PerspectiveMode | ( | self | ) |
| eVision.EQRCodeReader.PerspectiveMode | ( | self, | |
| eVision.EQRCodePerspectiveMode | value ) |
| 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.
| roi | The ROI in which the QR codes have to be found. |
| 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.
| roi | The ROI in which the QR codes have to be found. |
| frame | Reference frame of the input image |
| 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.
| roi | The ROI in which the QR codes have to be found. |
| grid | Grid with cell disabling capabilities |
| 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.
| roi | The ROI in which the QR codes have to be found. |
| grid | Grid with cell disabling capabilities |
| frame | Reference frame of the input image |
| 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, use overloads taking an eVision.EGrid argument instead.
Deprecated in version 26.6. Scheduled to be removed in version 27.6.
| roi | The ROI in which the QR codes have to be found. |
| area | Rectangular Region used as the full grid area |
| frame | Reference frame of the input image |
| grid | Grid with cell disabling capabilities |
| 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, use overloads taking an eVision.EGrid argument instead.
Deprecated in version 26.6. Scheduled to be removed in version 27.6.
| roi | The ROI in which the QR codes have to be found. |
| area | Rectangular Region used as the full grid area |
| frame | Reference frame of the input image |
| grid | Grid with cell disabling capabilities |
| extension | Extension of the grid cells to allow cell overlap. For instance, 0.0f means no extension and 0.1f means a 10% cell size extension. |
| 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, use overloads taking an eVision.EGrid argument instead.
Deprecated in version 26.6. Scheduled to be removed in version 27.6.
| roi | The ROI in which the QR codes have to be found. |
| area | Rectangular Region used as the full grid area |
| frame | Reference frame of the input image |
| numCellsX | Number of grid cells in the X direction |
| numCellsY | Number of grid cells in the Y direction |
| 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, use overloads taking an eVision.EGrid argument instead.
Deprecated in version 26.6. Scheduled to be removed in version 27.6.
| roi | The ROI in which the QR codes have to be found. |
| area | Rectangular Region used as the full grid area |
| frame | Reference frame of the input image |
| numCellsX | Number of grid cells in the X direction |
| numCellsY | Number of grid cells in the Y direction |
| extension | Extension of the grid cells to allow cell overlap. For instance, 0.0f means no extension and 0.1f means a 10% cell size extension. |
| 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, use overloads taking an eVision.EGrid argument instead.
Deprecated in version 26.6. Scheduled to be removed in version 27.6.
| roi | The ROI in which the QR codes have to be found. |
| area | Rectangular Region used as the full grid area |
| grid | Grid with cell disabling capabilities |
| 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, use overloads taking an eVision.EGrid argument instead.
Deprecated in version 26.6. Scheduled to be removed in version 27.6.
| roi | The ROI in which the QR codes have to be found. |
| area | Rectangular Region used as the full grid area |
| grid | Grid with cell disabling capabilities |
| extension | Extension of the grid cells to allow cell overlap. For instance, 0.0f means no extension and 0.1f means a 10% cell size extension. |
| 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, use overloads taking an eVision.EGrid argument instead.
Deprecated in version 26.6. Scheduled to be removed in version 27.6.
| roi | The ROI in which the QR codes have to be found. |
| area | Rectangular Region used as the full grid area |
| numCellsX | Number of grid cells in the X direction |
| numCellsY | Number of grid cells in the Y direction |
| 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, use overloads taking an eVision.EGrid argument instead.
Deprecated in version 26.6. Scheduled to be removed in version 27.6.
| roi | The ROI in which the QR codes have to be found. |
| area | Rectangular Region used as the full grid area |
| numCellsX | Number of grid cells in the X direction |
| numCellsY | Number of grid cells in the Y direction |
| extension | Extension of the grid cells to allow cell overlap. For instance, 0.0f means no extension and 0.1f means a 10% cell size extension. |
| 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.
| roi | The ROI in which the QR codes have to be found. |
| region | Region into the ROI where the qr codes have to be found. |
| 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.
| roi | The ROI in which the QR codes have to be found. |
| region | Region into the ROI where the qr codes have to be found. |
| frame | Reference frame of the input image |
| 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.
| roi | The ROI in which the QR codes have to be found. |
| numCellsX | Number of grid cells in the X direction |
| numCellsY | Number of grid cells in the Y direction |
| 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.
| roi | The ROI in which the QR codes have to be found. |
| numCellsX | Number of grid cells in the X direction |
| numCellsY | Number of grid cells in the Y direction |
| extension | Extension of the grid cells to allow cell overlap. For instance, 0.0f means no extension and 0.1f means a 10% cell size extension. |
| None eVision.EQRCodeReader.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Save the configuration for this eVision.EQRCodeReader instance.
| serializer | The given eVision.ESerializer, it must have been created for writing. |
| None eVision.EQRCodeReader.Save | ( | self, | |
| str | path ) |
Save the configuration for this eVision.EQRCodeReader instance.
| path | The path to which to save the configuration. |
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.