When a Python script is used, it has to follow certain definitions in order to allow ibaVision detecting its features and procedures.

  • The necessary parameters must be specified in the Python script, control variables for numbers, texts, etc. and iconic variables for images, regions, etc.

  • Functions need to be defined which can be selected to be executed as Initialization, Main and Cleanup procedures in ibaVision programs.

  • The Python image processing application must be available as *.py file.

When the ibaVision program is executed, only code within the defined procedures for Initialization, Main and Cleanup will be executed. Also see chapter Creating a Python script.