aiobjdesc#
The aiobjdesc
class holds the AI Vision Sensor AI Object IDs. It is used with the aivision
class to create tags for AI Classifications.
Clasificaciones de IA disponibles:
Elementos del aula |
Elementos de la competencia |
|||
---|---|---|---|---|
Número de identificación |
Clasificación de IA |
Número de identificación |
Clasificación de IA |
|
0 |
Bola azul |
0 |
Objetivo móvil |
|
1 |
Bola verde |
1 |
Anillo rojo |
|
2 |
Bola roja |
2 |
Anillo azul |
|
3 |
Anillo azul |
|||
4 |
Anillo verde |
|||
5 |
Anillo rojo |
|||
6 |
Cubo azul |
|||
7 |
Cubo verde |
|||
8 |
Cubo rojo |
Para crear una etiqueta para usar con la clase AiVision, utilice el siguiente código:
// Create a new tag "greencube" with the AiObjdesc Class.
aivision::aiobjdesc greencube = aiobjdesc(7);
By default, the ALL_AIOBJS
tag will return all aiobjdesc
objects with the AI Vision Sensor.