Ρύθμιση παραμέτρων υπογραφών χρώματος#

Configuring Color Signatures

This tutorial walks you through configuring a Color Signature for the AI Vision Sensor in VEXcode AIM. By the end, you’ll have a tuned Color Signature your projects can use to detect that color.

A Color Signature is one of two visual signatures used by the AI Vision Sensor to identify colors. It must be configured before the sensor can recognize it.

Note: A wired connection must be used to enable the AI Vision Utility and configure Color Signatures for the robot.

  1. Select the Control Panel tab.

Screenshot of the VEXcode AIM tabs on the right side of the screen, with the Control Panel tab highlighted.
  1. Select AI Vision.

Screenshot of the Control Panel, with the AI Vision tab highlighted.
  1. Select Open AI Vision Utility.

Screenshot of the AI Vision tab in the Control Panel, with the Open AI Vision Utility button highlighted.
  1. Place a solid-colored object in front of the sensor.

Βοηθητικό πρόγραμμα AI Vision στο VEXcode AIM. Στα αριστερά φαίνεται η ροή της κάμερας από το ρομπότ με έναν κόκκινο κύβο στο κέντρο ενός λευκού φόντου.
  1. Drag the cursor over the object. A red box will outline the selected color.

Σημείωση: Παραμείνετε εντός της χρωματικής περιοχής για να αποφύγετε τη συμπερίληψη χρωμάτων φόντου που θα μπορούσαν να επηρεάσουν την ανίχνευση.

  1. Select Set Color. The sensor will save it as a Color Signature.

AI Vision Utility with a red box drawn on the red cube, showing where the color was selected. On the right side of the window, the Set Color button is highlighted to the right of the Name field.
  1. Rename the Color Signature by typing into the Name field.

Zoomed in view of the AI Vision Utility, with the Name field highlighted. The Color Signature has been renamed to Red_Box.
  1. Use the Hue slider to expand or narrow the range of colors around your selected hue. Increase the range until the target box fully surrounds the object.

Note: Don’t go too far, or the signature may include unwanted colors.

  1. Use the Saturation slider to include lighter or dimmer versions of the color. Adjust it until the box stays locked on the object, even in different lighting.

  1. Select Add Color to set more Color Signatures. The sensor can track up to 7 Color Signatures at a time.

Zoomed in view of the right side of the AI Vision Utility, with the Add Color button highlighted below the Hue and Saturation sliders.
  1. Select Done.

AI Vision Utility in VEXcode AIM with the Done button in the bottom right corner highlighted.
  1. All configured Color Signatures will now appear in the AI Vision tab of the Control Panel.

Zoomed in view of the AI Vision tab in the Control Panel, with the Configured Colors section highlighted. It lists Red_Box with its Hue and Saturation values.