Properties
-
annotation_id
UUID of the Annotation holding this Rectangle -
x
Coordinates x of this Rectangle -
y
Coordinates y of this Rectangle -
w
Width of this Rectangle -
h
Height of this Rectangle -
label
Methods
update
update(
x: Optional[int] = None, y: Optional[int] = None, w: Optional[int] = None,
h: Optional[int] = None, label: Optional[Label] = None
)
Description
Update this rectangle with new coordinates or new label.
Examples
rect.update(x=10, label=label_car)
delete
delete()
Description
Delete this rectangle from the platform.
DANGER ZONE: Be very careful here!
Examples
rect.delete()