Create
Creates a new Code instance.
Create()
Arguments
No arguments.
Output
Creates a new Code object.
Code editor or code reader depending on the selected library.
from Xenonix.Classic import Code
Filter methods, arguments, and configuration keys on this page.
Use Config(...) with these keys where the class exposes configuration.
| Config key | Default | Common values | What it controls |
|---|---|---|---|
Barcode |
True |
Any valid value | Barcode setting for Code. |
QRCode |
False |
Any valid value | QRCode setting for Code. |
DataMatrix |
False |
Any valid value | DataMatrix setting for Code. |
Rotate |
True |
Any valid value | Rotate setting for Code. |
Downscale |
True |
Any valid value | Downscale setting for Code. |
Invert |
False |
Any valid value | Invert setting for Code. |
Harder |
False |
Any valid value | Harder setting for Code. |
Pure |
False |
Any valid value | Pure setting for Code. |
Creates a new Code instance.
Create()
No arguments.
Creates a new Code object.
Reads one or more configuration values by name.
Config_Get(*Input)
| Argument | Default | Accepted values | What it does |
|---|---|---|---|
Input |
*args |
Any valid value | Input value used by the operation. |
Returns selected configuration values.
Changes one or more supported settings. Pass only the configuration keys you want to update.
Config(**Input)
| Argument | Default | Accepted values | What it does |
|---|---|---|---|
Input |
**kwargs |
Any valid value | Input value used by the operation. |
Updates configuration values on the object.
Runs the Last_Info operation for Code.
Last_Info(Index=None)
| Argument | Default | Accepted values | What it does |
|---|---|---|---|
Index |
None |
Any valid value | Index value used by the operation. |
Returns the calculated result.
Runs the Info operation for Code.
Info(Text=None, Index=None)
| Argument | Default | Accepted values | What it does |
|---|---|---|---|
Text |
None |
Any valid value | Text value used by the operation. |
Index |
None |
Any valid value | Index value used by the operation. |
Returns the calculated result.
Runs the main operation and returns the detected/calculated result.
Find(Frame, Region=None, Pick='All', Index=None)
| Argument | Default | Accepted values | What it does |
|---|---|---|---|
Frame |
Required | Any valid value | Input image/frame data. Can be an image object, array, or frame accepted by this tool. |
Region |
None |
Any valid value | Region of interest used to limit where the operation runs. |
Pick |
'All' |
ALL, FIRST, LAST, INDEX |
Selects which candidate/result should be returned. |
Index |
None |
Any valid value | Index value used by the operation. |
Returns structured data such as a list or dictionary.