An eVision.ECodeReader instance can detect and decode various types of codes. More...
Public Member Functions | |
| None | __init__ (self) |
| Creates an eVision.ECodeReader object. | |
| None | __init__ (self, eVision.ECodeReader other) |
| Creates an eVision.ECodeReader object. | |
| list[eVision._eVision.ECode] | Read (self, eVision.EROIBW8 roi) |
| Tries to locate, decode and read data codes in the given ROI. | |
| list[eVision._eVision.ECode] | Read (self, eVision.EROIBW8 roi, eVision.EFrame frame) |
| Tries to locate, decode and read data codes in the given ROI. | |
| list[eVision._eVision.ECode] | Read (self, eVision.EROIBW8 roi, eVision.ERegion region) |
| Tries to locate, decode and read data codes in the given ROI. | |
| list[eVision._eVision.ECode] | Read (self, eVision.EROIBW8 roi, eVision.ERegion region, eVision.EFrame frame) |
| Tries to locate, decode and read data codes in the given ROI. | |
| eVision.ECodeGrid | Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, int numCellsX, int numCellsY, float extension) |
| Tries to locate, decode and read data codes in the given ROI. | |
| eVision.ECodeGrid | Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, int numCellsX, int numCellsY) |
| Tries to locate, decode and read data codes in the given ROI. | |
| eVision.ECodeGrid | Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, eVision.EFrame frame, int numCellsX, int numCellsY, float extension) |
| Tries to locate, decode and read data codes in the given ROI. | |
| eVision.ECodeGrid | Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, eVision.EFrame frame, int numCellsX, int numCellsY) |
| Tries to locate, decode and read data codes in the given ROI. | |
| eVision.ECodeGrid | Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, eVision.ECodeGrid grid, float extension) |
| Tries to locate, decode and read data codes in the given ROI. | |
| eVision.ECodeGrid | Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, eVision.ECodeGrid grid) |
| Tries to locate, decode and read data codes in the given ROI. | |
| eVision.ECodeGrid | Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, eVision.EFrame frame, eVision.ECodeGrid grid, float extension) |
| Tries to locate, decode and read data codes in the given ROI. | |
| eVision.ECodeGrid | Read (self, eVision.EROIBW8 roi, eVision.ERectangleRegion area, eVision.EFrame frame, eVision.ECodeGrid grid) |
| Tries to locate, decode and read data codes in the given ROI. | |
| eVision.ECodeGrid | Read (self, eVision.EROIBW8 roi, eVision.EGrid grid) |
| Tries to locate, decode and read data codes in the given ROI. | |
| eVision.ECodeGrid | Read (self, eVision.EROIBW8 roi, eVision.EGrid grid, eVision.EFrame frame) |
| Tries to locate, decode and read data codes in the given ROI. | |
| None | Load (self, str path) |
| Load the configuration for this eVision.ECodeReader instance. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Load the configuration for this eVision.ECodeReader instance. | |
| None | Save (self, str path) |
| Save the configuration for this eVision.ECodeReader instance. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Save the configuration for this eVision.ECodeReader instance. | |
| int | MaxNumCodesPerType (self) |
| The maximum number of codes that the reader should try to find. | |
| MaxNumCodesPerType (self, int value) | |
| The maximum number of codes that the reader should try to find. | |
| int | TimeOut (self) |
| The timeout for the eVision.ECodeReader.Read method in microseconds. | |
| TimeOut (self, int value) | |
| The timeout for the eVision.ECodeReader.Read method in microseconds. | |
| list[eVision._eVision.ECodeType] | EnabledCodeTypes (self) |
| The enabled code types. | |
| EnabledCodeTypes (self, list[eVision._eVision.ECodeType] value) | |
| The enabled code types. | |
| eVision.EasyMatrixCode2.EMatrixCodeReader | MatrixCodeReader (self) |
| Gets the underlying EMatrixCodeReader instance. | |
| eVision.EasyBarCode2.EBarCodeReader | BarCodeReader (self) |
| Gets the underlying EBarCodeReader instance. | |
| eVision.EQRCodeReader | QRCodeReader (self) |
| Gets the underlying EQRCodeReader instance. | |
An eVision.ECodeReader instance can detect and decode various types of codes.
Remarks:
License(s): EasyMatrixCode and EasyBarCode and EasyQRCode
| None eVision.ECodeReader.__init__ | ( | self | ) |
Creates an eVision.ECodeReader object.
| None eVision.ECodeReader.__init__ | ( | self, | |
| eVision.ECodeReader | other ) |
Creates an eVision.ECodeReader object.
| other | Another eVision.ECodeReader object to be copied in the new eVision.ECodeReader object. |
| eVision.EasyBarCode2.EBarCodeReader eVision.ECodeReader.BarCodeReader | ( | self | ) |
Gets the underlying EBarCodeReader instance.
| list[eVision._eVision.ECodeType] eVision.ECodeReader.EnabledCodeTypes | ( | self | ) |
The enabled code types.
Remarks:
All code types enabled by default
| eVision.ECodeReader.EnabledCodeTypes | ( | self, | |
| list[eVision._eVision.ECodeType] | value ) |
The enabled code types.
Remarks:
All code types enabled by default
| None eVision.ECodeReader.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Load the configuration for this eVision.ECodeReader instance.
| serializer | The serializer. |
| None eVision.ECodeReader.Load | ( | self, | |
| str | path ) |
Load the configuration for this eVision.ECodeReader instance.
| path | The path from which to load the configuration. |
| eVision.EasyMatrixCode2.EMatrixCodeReader eVision.ECodeReader.MatrixCodeReader | ( | self | ) |
Gets the underlying EMatrixCodeReader instance.
| int eVision.ECodeReader.MaxNumCodesPerType | ( | self | ) |
The maximum number of codes that the reader should try to find.
Remarks:
By default, this parameter is set to 1.
| eVision.ECodeReader.MaxNumCodesPerType | ( | self, | |
| int | value ) |
The maximum number of codes that the reader should try to find.
Remarks:
By default, this parameter is set to 1.
| eVision.EQRCodeReader eVision.ECodeReader.QRCodeReader | ( | self | ) |
Gets the underlying EQRCodeReader instance.
| list[eVision._eVision.ECode] eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid class documentation for more information.
| roi | The ROI in which the data matrix codes have to be found. |
| list[eVision._eVision.ECode] eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.EFrame | frame ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid class documentation for more information.
| roi | The ROI in which the data matrix codes have to be found. |
| frame | Reference frame of the input image |
| eVision.ECodeGrid eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.EGrid | grid ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid class documentation for more information.
| roi | The ROI in which the data matrix codes have to be found. |
| grid | Grid with cell disabling capabilities |
| eVision.ECodeGrid eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.EGrid | grid, | ||
| eVision.EFrame | frame ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid class documentation for more information.
| roi | The ROI in which the data matrix codes have to be found. |
| grid | Grid with cell disabling capabilities |
| frame | Reference frame of the input image |
| eVision.ECodeGrid eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.ERectangleRegion | area, | ||
| eVision.ECodeGrid | grid ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid 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 data matrix codes have to be found. |
| area | Rectangular Region used as the full grid area |
| grid | Grid with cell disabling capabilities |
| eVision.ECodeGrid eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.ERectangleRegion | area, | ||
| eVision.ECodeGrid | grid, | ||
| float | extension ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid 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 data matrix 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.ECodeGrid eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.ERectangleRegion | area, | ||
| eVision.EFrame | frame, | ||
| eVision.ECodeGrid | grid ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid 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 data matrix 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.ECodeGrid eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.ERectangleRegion | area, | ||
| eVision.EFrame | frame, | ||
| eVision.ECodeGrid | grid, | ||
| float | extension ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid 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 data matrix 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.ECodeGrid eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.ERectangleRegion | area, | ||
| eVision.EFrame | frame, | ||
| int | numCellsX, | ||
| int | numCellsY ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid 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 data matrix 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.ECodeGrid eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.ERectangleRegion | area, | ||
| eVision.EFrame | frame, | ||
| int | numCellsX, | ||
| int | numCellsY, | ||
| float | extension ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid 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 data matrix 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.ECodeGrid eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.ERectangleRegion | area, | ||
| int | numCellsX, | ||
| int | numCellsY ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid 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 data matrix 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.ECodeGrid eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.ERectangleRegion | area, | ||
| int | numCellsX, | ||
| int | numCellsY, | ||
| float | extension ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid 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 data matrix 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.ECode] eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.ERegion | region ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid class documentation for more information.
| roi | The ROI in which the data matrix codes have to be found. |
| region | Region into the search field where the data matrix codes have to be found. |
| list[eVision._eVision.ECode] eVision.ECodeReader.Read | ( | self, | |
| eVision.EROIBW8 | roi, | ||
| eVision.ERegion | region, | ||
| eVision.EFrame | frame ) |
Tries to locate, decode and read data codes in the given ROI.
Remarks:
The grid overload allows you to disable some cells of the grid if those cells are not supposed to contain codes. See the eVision.ECodeGrid class documentation for more information.
| roi | The ROI in which the data matrix codes have to be found. |
| region | Region into the search field where the data matrix codes have to be found. |
| frame | Reference frame of the input image |
| None eVision.ECodeReader.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Save the configuration for this eVision.ECodeReader instance.
| serializer | The serializer. |
| None eVision.ECodeReader.Save | ( | self, | |
| str | path ) |
Save the configuration for this eVision.ECodeReader instance.
| path | The path to which to save the configuration. |
| int eVision.ECodeReader.TimeOut | ( | self | ) |
The timeout for the eVision.ECodeReader.Read method in microseconds.
Remarks:
If the processing time of one of these methods becomes longer than the set time-out period, the process is stopped.
The eVision.ECodeReader.Read method will return all the codes it has decoded up to that point.
Note that the time-out period is not exact: the process is stopped at the first checkpoint after the time-out period has elapsed.
| eVision.ECodeReader.TimeOut | ( | self, | |
| int | value ) |
The timeout for the eVision.ECodeReader.Read method in microseconds.
Remarks:
If the processing time of one of these methods becomes longer than the set time-out period, the process is stopped.
The eVision.ECodeReader.Read method will return all the codes it has decoded up to that point.
Note that the time-out period is not exact: the process is stopped at the first checkpoint after the time-out period has elapsed.