Datatypes
rerun.datatypes
class Angle
Bases: AngleExt
Datatype: Angle in either radians or degrees.
inner: float = field(converter=float)
class-attribute
instance-attribute
Radians (float):
3D rotation angle in radians. Only one of degrees
or radians
should be set.
Degrees (float):
3D rotation angle in degrees. Only one of degrees
or radians
should be set.
class AnnotationInfo
Bases: AnnotationInfoExt
Datatype: Annotation info annotating a class id or key-point id.
Color and label will be used to annotate entities/keypoints which reference the id. The id refers either to a class or key-point id
def __init__ (id, label=None, color=None)
Create a new instance of the AnnotationInfo datatype.
PARAMETER | DESCRIPTION |
---|---|
id |
TYPE:
|
label |
The label that will be shown in the UI.
TYPE:
|
color |
The color that will be applied to the annotated entity.
TYPE:
|