Using the AI Vision Utility with the AI Vision Sensor in VEXcode V5

The AI Vision Utility is what allows you to connect and configure your AI Vision Sensor. To read about how to do so, you can read these articles here:

Understanding how the AI Vision Sensor detects and measures objects can help you better use these measurements in your coding projects. With this knowledge, you can improve your coding skills and create more precise solutions for tasks like object recognition and spatial analysis.

Understanding Pixels and Resolution

 

grid-doodle-house.png

Imagine you're drawing a picture on a piece of grid paper. Each tiny square on the paper is like a pixel. When you color in these squares, you're making your picture.

Low Resolution High Resolution

Now, let's talk about resolution. Resolution is the number of pixels in an image. If you have lots of tiny squares (pixels) in your grid paper, your picture will look sharp and detailed. But if you only have a few pixels, your picture might look blurry and not very clear.

 

The AI Vision Sensor boasts a resolution of 320 pixels horizontally by 240 pixels vertically. This means that the precise center of detection aligns with coordinates 160 on the X-axis and 120 on the Y-axis.

How Does the AI Vision Sensor Measure Objects

 

In this setup, "Blue" has been configured as a Color Signature recognizable by the AI Vision Sensor.

The AI Vision Sensor measures this color as spanning 100 pixels in width and 100 pixels in height, with its center situated at coordinates (176,126) on the screen.

The AI Vision Sensor will also track the object as it moves. This allows for real-time continuous tracking of the object's position within view of the AI Vision Sensor.

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

Last Updated: