You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Sorry, but Desktop Application doesn't support 'Pixel' projects."
127
-
)
128
-
129
113
130
114
def_passes_converter_sanity(args, direction):
131
115
converter_values= (args.project_type, args.task)
@@ -153,7 +137,6 @@ def export_annotation(
153
137
dataset_name,
154
138
project_type="Vector",
155
139
task="object_detection",
156
-
platform="Web",
157
140
):
158
141
"""Converts SuperAnnotate annotation formate to the other annotation formats. Currently available (project_type, task) combinations for converter
159
142
presented below:
@@ -189,8 +172,6 @@ def export_annotation(
189
172
'instance_segmentation' 'Pixel' project_type converts instance masks and 'Vector' project_type generates bounding boxes and polygons from instance masks. Masks should be in the input folder if it is 'Pixel' project_type.
190
173
'object_detection' converts objects from/to available annotation format
191
174
:type task: str
192
-
:param platform: SuperAnnotate has both 'Web' and 'Desktop' platforms. Choose from which one you are converting. (Default: "Web")
193
-
:type platform: str
194
175
195
176
"""
196
177
@@ -206,7 +187,6 @@ def export_annotation(
206
187
dataset_name=dataset_name,
207
188
project_type=project_type,
208
189
task=task,
209
-
platform=platform,
210
190
)
211
191
212
192
_passes_sanity_checks(args)
@@ -222,7 +202,6 @@ def import_annotation(
222
202
dataset_name='',
223
203
project_type="Vector",
224
204
task="object_detection",
225
-
platform="Web",
226
205
images_root='',
227
206
images_extensions=['jpg']
228
207
):
@@ -348,14 +327,10 @@ def import_annotation(
348
327
'instance_segmentation' 'Pixel' project_type converts instance masks and 'Vector' project_type generates bounding boxes and polygons from instance masks. Masks should be in the input folder if it is 'Pixel' project_type.
349
328
'object_detection' converts objects from/to available annotation format
350
329
'vector_annotation' can be used to convert all annotations (point, ellipse, circule, cuboid and etc) to SuperAnnotate vector project.
351
-
:param platform: SuperAnnotate has both 'Web' and 'Desktop' platforms. Choose to which platform you want convert. (Default: "Web")
352
-
:type platform: str
353
-
:param images_root: Additonal path to images directory in input_dir
354
-
:type platform: str
355
330
:param images_root: Additonal path to images directory in input_dir
356
-
:type platform: str
331
+
:type images_root: str
357
332
:param image_extensions: List of image files xtensions in the images_root folder
0 commit comments