Configuración de firmas de color#

Una firma de color es una de las dos firmas visuales que utiliza el sensor de visión de IA para identificar colores. Debe configurarse para que el sensor pueda reconocerla.

Nota: Se debe utilizar una conexión por cable para habilitar la Utilidad de visión de inteligencia artificial y configurar las firmas de color para el robot.

Creando una firma de color#

Coloque un objeto de color sólido delante del sensor#

Utilidad de visión de IA en VEXcode AIM. A la izquierda se muestra la señal de la cámara del robot con un cubo rojo en el centro sobre un fondo blanco.

Arrastre el cursor sobre el objeto#

A red box will outline the selected color. The video below shows the cursor being selected and dragged to outline a section of the front of the red box to identify that color selection.

Nota: Manténgase dentro del área de color para evitar incluir colores de fondo que puedan afectar la detección.

Seleccionar Establecer color#

Una vez que se establece un color, el sensor lo guardará como una Firma de color.

Same Utility as before with a red target box 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 color name text box.

Cambie el nombre de la firma de color escribiendo en el campo de texto Nombre#

Zoomed in version of the same AI Vision utility window with a highlight on the Name text box of the color signature that was just set.

Ajustar una firma de color#

Ajustar el rango de tonos#

Use the Hue Range slider to expand or narrow the range of colors around your selected hue. Watch the target box — increase the range until the box fully surrounds the object. The video below shows the target box change as the Hue Range is adjusted with the slider.

Nota: No te excedas o puede incluir colores no deseados.

Ajustar el rango de saturación#

Use the Saturation Range slider to include lighter or dimmer versions of the color. Adjust it until the box stays locked on the object, even in different lighting. The video below shows the target box adjust as the Saturation Range is adjusted with the slider.

Guardar firmas de color#

Seleccione Agregar color para configurar más firmas de color#

El sensor puede rastrear hasta 7 Firmas de color a la vez.

AI Vision Utility Window zoomed in on the right side with a highlight on the add color button, below the Hue Range slider.

Seleccionar Cerrar#

Utilidad de visión de inteligencia artificial en VEXcode AIM con un resaltado en el botón de cierre en la esquina inferior derecha.

Todas las firmas de color configuradas ahora aparecerán en el Panel de control de AIM.

Vista ampliada del Panel de Control en VEXcode AIM con la sección "Colores Configurados" resaltada. Dentro, hay una fila que coincide con el color configurado previamente.