Home

Categories/Classes

Bases: BaseModel

Represents a category or class that is assigned to objects in the dataset.

Attributes:

NameTypeDescription
name strName of the category. Examples : ["cat", "dog", "car"]
color Optional [str]Hex color code of the category, typically used for the bounding box color. Examples : ["#FF0000", "#00FF00", "#0000FF"] Default : "#000000"
id Optional [int]Unique dataset category ID, representing the index of the category in the dataset's categories list. Examples : [0, 1, 2] Default : None Constraints : Must be greater than or equal to 0.