|
13 | 13 | .. table:: label classes |
14 | 14 | :widths: auto |
15 | 15 |
|
16 | | - ============================================================= =================================== |
17 | | - label classes explaination |
18 | | - ============================================================= =================================== |
19 | | - :class:`~tensorbay.label.label_classification.Classification` classification type of label |
20 | | - :class:`~tensorbay.label.label_box.LabeledBox2D` 2D bounding box type of label |
21 | | - :class:`~tensorbay.label.label_box.LabeledBox3D` 3D bounding box type of label |
22 | | - :class:`~tensorbay.label.label_polygon.LabeledPolygon` polygon type of label |
23 | | - :class:`~tensorbay.label.label_polyline.LabeledPolyline2D` 2D polyline type of label |
24 | | - :class:`~tensorbay.label.label_keypoints.LabeledKeypoints2D` 2D keypoints type of label |
25 | | - :class:`~tensorbay.label.label_sentence.LabeledSentence` transcripted sentence type of label |
26 | | - ============================================================= =================================== |
| 16 | + ================================ =================================== |
| 17 | + label classes explaination |
| 18 | + ================================ =================================== |
| 19 | + :class:`.Classification` classification type of label |
| 20 | + :class:`.LabeledBox2D` 2D bounding box type of label |
| 21 | + :class:`.LabeledBox3D` 3D bounding box type of label |
| 22 | + :class:`.LabeledPolygon` polygon type of label |
| 23 | + :class:`.LabeledMultiPolygon` polygon lists type of label |
| 24 | + :class:`.LabeledRLE` rle mask type of label |
| 25 | + :class:`.LabeledPolyline2D` 2D polyline type of label |
| 26 | + :class:`.LabeledMultiPolyline2D` 2D polyline lists type of label |
| 27 | + :class:`.LabeledKeypoints2D` 2D keypoints type of label |
| 28 | + :class:`.LabeledSentence` transcripted sentence type of label |
| 29 | + ================================ =================================== |
27 | 30 |
|
28 | 31 | """ |
29 | 32 |
|
|
35 | 38 | from .label_box import LabeledBox2D, LabeledBox3D |
36 | 39 | from .label_classification import Classification |
37 | 40 | from .label_keypoints import LabeledKeypoints2D |
38 | | -from .label_polygon import LabeledMultiPolygon, LabeledPolygon |
| 41 | +from .label_polygon import LabeledMultiPolygon, LabeledPolygon, LabeledRLE |
39 | 42 | from .label_polyline import LabeledMultiPolyline2D, LabeledPolyline2D |
40 | 43 | from .label_sentence import LabeledSentence |
41 | 44 |
|
@@ -74,6 +77,7 @@ class Label(ReprMixin, AttrsMixin): |
74 | 77 | polygon: List[LabeledPolygon] = _attr() |
75 | 78 | polyline2d: List[LabeledPolyline2D] = _attr() |
76 | 79 | multi_polyline2d: List[LabeledMultiPolyline2D] = _attr() |
| 80 | + rle: List[LabeledRLE] = _attr() |
77 | 81 | keypoints2d: List[LabeledKeypoints2D] = _attr() |
78 | 82 | multi_polygon: List[LabeledMultiPolygon] = _attr() |
79 | 83 | sentence: List[LabeledSentence] = _attr() |
|
0 commit comments