omron — Default Custom Vision Tool

Acquire Image Tool Properties Vision Tool Customization This sample shows how to create a custom vision tool. Default Custom Vision Tool When a custom vision tool is created, the following is created: The script is comprised of several major elements: l C# class defenition l IAceServer field l Main method entry point l return values from the script The script contains many lines that cannot be modified and are considered protected. These are designated by the light grey background. Notice that the namespace, class name, IAceServer field name, and Main method lines are protected and cannot be changed.

When the custom vision tool is invoked, the text in the script is dynamically compiled in memory and the Main method is called. By default, the script must return an array of VisionTransform objects. These define the coordinates of any objects located by the tool. The default custom vision tool simply returns an empty array of transformations. It is up to the user to define the logic of the script and to return an array of transformations. ACE Reference Guide, 18317-000 Rev A Page 632