Using AI Classifications with the AI Vision Sensor

AI Classifications are Game Objects that an AI Vision Sensor can detect. These classifications allow the AI Vision Sensor to distinguish between different types of objects in its field of view.

AI Classification Models

There are three different AI Classification Models available for the AI Vision Sensor to use. These Models change what objects the AI Vision Sensor can detect.

Classroom Objects

The Classroom Objects model includes game objects found within the EXP Classroom Bundles and IQ Classroom Bundle.

The AI Classifications include:

  • Blue and Red Buckyballs
  • Blue, Red, and Green Rings
  • Blue, Red, and Green Cubes

In Text-based VEXcode, each of these classifications has an assigned ID which is what is used to differentiate between them in projects.

Game Object AI Classification Python ID C++ ID

Classroom Elements Blue and Red Bucky Balls

Blue and Red Buckyballs

Blue Ball ClassroomElements.BLUE_BALL blueBall
Red Ball ClassroomElements.RED_BALL redBall

 

Classroom Elements Blue, Red and Green Rings.

Blue, Red, and Green Rings

Blue Ring ClassroomElements.BLUE_RING blueRing
Green Ring ClassroomElements.GREEN_RING greenRing
Red Ring ClassroomElements.RED_RING redRing

 

Classroom Elements Blue, Red and Green Cubes

Blue, Red, and Green Cubes

Blue Cube ClassroomElements.BLUE_CUBE blueCube
Green Cube ClassroomElements.GREEN_CUBE greenCube
Red Cube ClassroomElements.RED_CUBE redCube

 

V5RC Push Back

The V5RC Push Back model includes game objects for the 2025-2026 V5RC game "Push Back".

Game Object AI Classification Python ID C++ ID

2025-2026 V5RC Push Back Red and Blue Blocks

Red and Blue Blocks

Blue Block GameElementsPushBack.BLUE_BLOCK blueBlock
Red Block GameElementsPushBack.RED_BLOCK
redBlock

 

V5RC High Stakes

The V5RC High Stakes model includes game objects for the 2024-2025 V5RC game "High Stakes".

Game Object AI Classification Python ID C++ ID
2024-2025 V5RC High Stakes Mobile Goal Mobile Goal
GameElementsHighStakes.MOBILE_GOAL
mobileGoal
2024-2025 V5RC High Stakes Red Ring Red Ring
GameElementsHighStakes.RED_RING
redRing
2024-2025 V5RC High Stakes Blue Ring Blue Ring
GameElementsHighStakes.BLUE_RING
blueRing

 


Enable AI Classification Detection

To be able to detect AI Classifications, the AI Vision Sensor's Detection Mode must first be enabled in the AI Vision Utility.

AI Vision Device menu, The configure button in the middle is highlighted.

Select Configure in the AI Vision Sensor's device menu.

The AI Vision Utility will open. Select the toggle underneath AI Classification to turn on the AI Classification Detection Mode.

AI Classification selection. Select a model, classroom objects, V5RC Push Back, V5RC High Stakes

Select which AI Classification model to use.

For more information on what AI Classifications are included in each model, go to the "AI Classification Models" section in this article.

AI Vision Utility with a blue ball in the middle and the AI classification is on.  the close button is highlighted.

Select Close to exit the AI Vision Utility.

AI Vision Device menu, with the AI Classification turned on and the done button on the bottom right highlighted.

You will see the new AI Classification Detection Mode be set to on and the AI Classifications that will be detected are added at the bottom of the AI Vision Sensor's device menu.

Select Done to save your changes to the AI Vision Sensor's configuration.

Coding with AI Classifications

To see the AI Vision Sensor move in real time and interact with AI Classifications, use the Detecting AI Classifications (AI Vision) Example Project found within VEXcode.

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

Last Updated: