supervisely 6.73.356__py3-none-any.whl → 6.73.357__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- supervisely/api/labeling_job_api.py +4 -1
- supervisely/volume_annotation/volume_figure.py +8 -2
- {supervisely-6.73.356.dist-info → supervisely-6.73.357.dist-info}/METADATA +1 -1
- {supervisely-6.73.356.dist-info → supervisely-6.73.357.dist-info}/RECORD +8 -8
- {supervisely-6.73.356.dist-info → supervisely-6.73.357.dist-info}/LICENSE +0 -0
- {supervisely-6.73.356.dist-info → supervisely-6.73.357.dist-info}/WHEEL +0 -0
- {supervisely-6.73.356.dist-info → supervisely-6.73.357.dist-info}/entry_points.txt +0 -0
- {supervisely-6.73.356.dist-info → supervisely-6.73.357.dist-info}/top_level.txt +0 -0
|
@@ -88,6 +88,7 @@ class LabelingJobInfo(NamedTuple):
|
|
|
88
88
|
include_images_with_tags: list
|
|
89
89
|
exclude_images_with_tags: list
|
|
90
90
|
entities: list
|
|
91
|
+
priority: int
|
|
91
92
|
|
|
92
93
|
|
|
93
94
|
class LabelingJobApi(RemoveableBulkModuleApi, ModuleWithStatus):
|
|
@@ -179,7 +180,8 @@ class LabelingJobApi(RemoveableBulkModuleApi, ModuleWithStatus):
|
|
|
179
180
|
filter_images_by_tags=[],
|
|
180
181
|
include_images_with_tags=[],
|
|
181
182
|
exclude_images_with_tags=[],
|
|
182
|
-
entities=None
|
|
183
|
+
entities=None,
|
|
184
|
+
priority=2)
|
|
183
185
|
"""
|
|
184
186
|
return [
|
|
185
187
|
ApiField.ID,
|
|
@@ -220,6 +222,7 @@ class LabelingJobApi(RemoveableBulkModuleApi, ModuleWithStatus):
|
|
|
220
222
|
ApiField.INCLUDE_IMAGES_WITH_TAGS,
|
|
221
223
|
ApiField.EXCLUDE_IMAGES_WITH_TAGS,
|
|
222
224
|
ApiField.ENTITIES,
|
|
225
|
+
ApiField.PRIORITY,
|
|
223
226
|
]
|
|
224
227
|
|
|
225
228
|
@staticmethod
|
|
@@ -529,6 +529,7 @@ class VolumeFigure(VideoFigure):
|
|
|
529
529
|
else:
|
|
530
530
|
geometry_json = data[ApiField.GEOMETRY]
|
|
531
531
|
geometry = shape.from_json(geometry_json)
|
|
532
|
+
geometry.sly_id = data.get(ID, None)
|
|
532
533
|
|
|
533
534
|
key = uuid.UUID(data[KEY]) if KEY in data else uuid.uuid4()
|
|
534
535
|
|
|
@@ -636,10 +637,15 @@ class VolumeFigure(VideoFigure):
|
|
|
636
637
|
"""
|
|
637
638
|
if isinstance(geometry_data, str):
|
|
638
639
|
mask_3d = Mask3D.create_from_file(geometry_data)
|
|
639
|
-
|
|
640
|
+
elif isinstance(geometry_data, ndarray):
|
|
640
641
|
mask_3d = Mask3D(geometry_data)
|
|
641
|
-
|
|
642
|
+
elif isinstance(geometry_data, bytes):
|
|
642
643
|
mask_3d = Mask3D.from_bytes(geometry_data)
|
|
644
|
+
else:
|
|
645
|
+
raise TypeError(
|
|
646
|
+
f"geometry_data must be str, ndarray, or bytes, but got {type(geometry_data)}"
|
|
647
|
+
)
|
|
648
|
+
|
|
643
649
|
return cls(
|
|
644
650
|
volume_object,
|
|
645
651
|
mask_3d,
|
|
@@ -33,7 +33,7 @@ supervisely/api/image_annotation_tool_api.py,sha256=YcUo78jRDBJYvIjrd-Y6FJAasLta
|
|
|
33
33
|
supervisely/api/image_api.py,sha256=8qs1AD8h1gyoibp9nZQ3b_A1Vid44Q103tmwRC-2hwQ,224419
|
|
34
34
|
supervisely/api/import_storage_api.py,sha256=BDCgmR0Hv6OoiRHLCVPKt3iDxSVlQp1WrnKhAK_Zl84,460
|
|
35
35
|
supervisely/api/issues_api.py,sha256=BqDJXmNoTzwc3xe6_-mA7FDFC5QQ-ahGbXk_HmpkSeQ,17925
|
|
36
|
-
supervisely/api/labeling_job_api.py,sha256=
|
|
36
|
+
supervisely/api/labeling_job_api.py,sha256=5xorizIYJlyBi-XtPiMyFz-COKR0V_KR5zVhd1kutSM,55187
|
|
37
37
|
supervisely/api/labeling_queue_api.py,sha256=svQKbHtt8304FCFw_ZUoAHrCj3Yetj2RTdgTP_xTGks,28424
|
|
38
38
|
supervisely/api/module_api.py,sha256=8lhsLIvZluHCB23MerHGdENWlfsj5gHIVwUVzMAkwgU,45283
|
|
39
39
|
supervisely/api/neural_network_api.py,sha256=ktPVRO4Jeulougio8F0mioJJHwRJcX250Djp1wBoQ9c,7620
|
|
@@ -1069,7 +1069,7 @@ supervisely/volume_annotation/constants.py,sha256=BdFIh56fy7vzLIjt0gH8xP01EIU-qg
|
|
|
1069
1069
|
supervisely/volume_annotation/plane.py,sha256=wyezAcc8tLp38O44CwWY0wjdQxf3VjRdFLWooCrk-Nw,16301
|
|
1070
1070
|
supervisely/volume_annotation/slice.py,sha256=9m3jtUYz4PYKV3rgbeh2ofDebkyg4TomNbkC6BwZ0lA,4635
|
|
1071
1071
|
supervisely/volume_annotation/volume_annotation.py,sha256=T-50ZmfhQDUtoXkSB9ur3LySCp9xZ1AmUT9KqjPy1DA,30179
|
|
1072
|
-
supervisely/volume_annotation/volume_figure.py,sha256=
|
|
1072
|
+
supervisely/volume_annotation/volume_figure.py,sha256=3_X2drnt_zCGBLWPanW8_O-jM-tI9-34rSacUWqTflk,25329
|
|
1073
1073
|
supervisely/volume_annotation/volume_object.py,sha256=rWzOnycoSJ4-CvFgDOP_rPortU4CdcYR26txe5wJHNo,3577
|
|
1074
1074
|
supervisely/volume_annotation/volume_object_collection.py,sha256=Tc4AovntgoFj5hpTLBv7pCQ3eL0BjorOVpOh2nAE_tA,5706
|
|
1075
1075
|
supervisely/volume_annotation/volume_tag.py,sha256=N2eOhAlbRDVVdSVQ83dzg7URDGtb1xHjxL2g9BW6ljU,9488
|
|
@@ -1085,9 +1085,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
1085
1085
|
supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
|
|
1086
1086
|
supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
|
|
1087
1087
|
supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
|
|
1088
|
-
supervisely-6.73.
|
|
1089
|
-
supervisely-6.73.
|
|
1090
|
-
supervisely-6.73.
|
|
1091
|
-
supervisely-6.73.
|
|
1092
|
-
supervisely-6.73.
|
|
1093
|
-
supervisely-6.73.
|
|
1088
|
+
supervisely-6.73.357.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1089
|
+
supervisely-6.73.357.dist-info/METADATA,sha256=DdNugcuaOhnUNQMeJOHhj7x80PAPBkxnyKQencTMt-Q,33598
|
|
1090
|
+
supervisely-6.73.357.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
1091
|
+
supervisely-6.73.357.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
|
|
1092
|
+
supervisely-6.73.357.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
|
|
1093
|
+
supervisely-6.73.357.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|