Create classes

Find out how to create V7 classes using our Python SDK

To create one or more annotation classes within a dataset, enter the name of the class you would like to create, and the class type. The class types you can choose from are bounding_box, cuboid, ellipse, keypoint, line, polygon, and tag

dataset.create_annotation_class("label_name", "polygon")

A couple of things to note here: Keypoint skeletons and sub-annotations like attributes cannot yet be created via the Python SDK. You can create Keypoint skeletons, and sub-annotations for any of the classes you've created, under the Classes page of your dataset in V7, or via our REST API.


Now that you've got a complete dataset complete with the annotation classes that your team will be using, all that's left is to annotate it!