Configuring Color Codes with the AI Vision Sensor in VEXcode EXP

A Color Code is a combination of 2 to 5 previously configured Color Signatures that the AI Vision Sensor can identify. To be able to create Color Codes, you must first have 2 or more configured Color Signatures. Read Configuring Color Signatures with the AI Vision Sensor in VEXcode EXP to learn how to configure a Color Signature.

Follow the steps below to learn how to configure Color Codes in the AI Vision Utility.

1. Set your desired color signatures in the configuration window. 


For more detailed information on how to configure colors, read Setup the AI Vision Sensor.

2. Once two or more colors have been set, the Add Color Code button will become available. Select the button to begin configuring a Color Code.

3. By default, the first two Color Signatures that have been set will appear in the new code.

4. To change what Color Signatures are included inside of a Color Code, select on the Color Signature(s) inside the Color Code that you would like to change.

5. Rename the Color Code by selecting into the Name textbox and typing.

6. Ensure that the colors are closely aligned; otherwise, they may not be interpreted as a unified Color Code but rather as distinct Color Signatures.

7. Select Add Color Code to add up to 5 configurable Color Codes.

Note: If a Color Signature is currently utilized within a Color Code, you won't be able to remove it until it's no longer part of any existing Color Code.

 

The AI Vision Sensor can track up to 5 Color Codes at a time.

8. Once all desired Color Codes have been set, select Close.

9. Once the AI Vision Sensor window is gone, select Done to exit the Devices menu and save your configuration changes.

You can now disconnect the AI Vision Sensor from the computer.

Now that your AI Vision Sensor is configured, you can start using the sensor in VEXcode! Read Learning the Basics of Using the AI Vision Sensor with VEXcode EXP Blocks to learn about the new blocks introduced to VEXcode EXP with the AI Vision Sensor.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: