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.

可用的AI分类:

课堂元素

比赛要素

身份证号码

AI分类

身份证号码

AI分类

0

蓝球

0

移动目标

1

绿球

1

红环

2

红球

2

蓝环

3

蓝环

4

绿环

5

红环

6

蓝色立方体

7

绿色立方体

8

红色立方体

要创建与 AiVision 类一起使用的标签,请使用以下代码:

# Create a new tag "greencube" with the AiObjdesc Class.
greencube = AiObjdesc(7)

By default, the ALL_AIOBJS tag will return all AiObjdesc objects with the AI Vision Sensor.