Configuring Color Codes with the AI Vision Sensor in VEXcode V5

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 V5 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.

The Add Color Code button will become available once 2 or more Color Signatures have been configured. Select Add Color Code.

2. By default, the first two configured Color Signatures will be set in the new Color Code.

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

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

Diagram illustrating the AI Vision Sensor for V5 robotics, showcasing its components and functionality in a clear layout, highlighting key features and connections.
Diagram illustrating the AI Vision Sensor for V5 robotics, showcasing its components and functionality in a clear and informative layout.

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

6. 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.

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

8. 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 V5 Blocks to learn about the new blocks introduced to VEXcode V5 with the AI Vision Sensor.

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

Last Updated: