@@ -16,17 +16,20 @@ class BoundingBoxFormat(Enum):
16
16
17
17
Available formats are:
18
18
19
- * ``XYXY``
20
- * ``XYWH``
21
- * ``CXCYWH``
22
- * ``XYWHR``: rotated boxes represented via corner, width and height, x1, y1
23
- being top left, w, h being width and height. r is rotation angle in
19
+ * ``XYXY``: bounding box represented via corners; x1, y1 being top left;
20
+ x2, y2 being bottom right.
21
+ * ``XYWH``: bounding box represented via corner, width and height; x1, y1
22
+ being top left; w, h being width and height.
23
+ * ``CXCYWH``: bounding box represented via centre, width and height; cx,
24
+ cy being center of box; w, h being width and height.
25
+ * ``XYWHR``: rotated boxes represented via corner, width and height; x1, y1
26
+ being top left; w, h being width and height. r is rotation angle in
24
27
degrees.
25
- * ``CXCYWHR``: rotated boxes represented via centre , width and height, cx,
26
- cy being center of box, w, h being width and height. r is rotation angle
28
+ * ``CXCYWHR``: rotated boxes represented via center , width and height; cx,
29
+ cy being center of box; w, h being width and height. r is rotation angle
27
30
in degrees.
28
- * ``XYXYXYXY``: rotated boxes represented via corners, x1, y1 being top
29
- left, x2, y2 being top right, x3, y3 being bottom right, x4, y4 being
31
+ * ``XYXYXYXY``: rotated boxes represented via corners; x1, y1 being top
32
+ left; x2, y2 being top right; x3, y3 being bottom right; x4, y4 being
30
33
bottom left.
31
34
"""
32
35
0 commit comments