Tagdesc#
The Tagdesc
class holds the AI Vision Sensor AprilTag IDs. It is used with the AiVision
class to create tags for AprilTags.
An AprilTag is created by using the following constructor:
Tagdesc(id)
This constructor uses one parameter:
Parameter |
Description |
---|---|
|
The AprilTag’s ID number. |
To create a tag to use with the AiVision Class, use the following code:
# Create a new tag "tag_1" with the Tagdesc Class.
tag_1 = AiObjdesc(1)
By default, the ALL_TAGS
tag will return all Tagdesc
objects with the AI Vision Sensor.