Ellipse¶
-
class
scenebox.models.annotation.
Ellipse
(label=None, uid=None, confidence=None, attributes=None, centre_x=None, centre_y=None, radius_x=None, radius_y=None, rotation=None)¶ Annotation model for a single Ellipse. Several such Ellipse objects can be compiled together in a list to form a EllipseAnnotation.
- Variables:
centre_x – X-axis coordinate for the centre. Must be a positive value.
centre_y – Y-axis coordinate for the centre. Must be a positive value.
radius_x – Distance of the farthest point on the ellipse along the x-axis. Must be a positive value.
radius_y – Distance of the farthest point on the ellipse along the y-axis. Must be a positive value.
rotation – Angle of rotation with respect to the positive x-axis in degrees.
label – A label for the ellipse.
confidence – Labelling confidence. Must be between 0 and 1.
attributes – Additional bounding box metadata.