Skip to content

Commit 9a08520

Browse files
committed
tutorial updated
1 parent 811e88f commit 9a08520

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

docs/source/tutorial.sdk.rst

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,11 @@ to convert them to other annotation formats:
238238
.. code-block:: python
239239
240240
sa.export_annotation("<input_folder>", "<output_folder>", "<dataset_format>", "<dataset_name>",
241-
"<project_type>", "<task>", "<platform>")
241+
"<project_type>", "<task>")
242242
243243
.. note::
244244

245-
Right now we support only SuperAnnotate annotation format to COCO annotation format conversion, but you can convert from "COCO", "Pascal VOC" or "LabelBox" annotation formats to SuperAnnotate annotation format.
245+
Right now we support only SuperAnnotate annotation format to COCO annotation format conversion, but you can convert from "COCO", "Pascal VOC", "DataLoop", "LabelBox", "SageMaker", "Supervisely", "VGG", "VoTT" or "YOLO" annotation formats to SuperAnnotate annotation format.
246246

247247
.. _git_repo: https://github.com/superannotateai/superannotate-python-sdk
248248

@@ -252,81 +252,81 @@ You can find more information annotation format conversion :ref:`here <ref_conve
252252
253253
import superannotate as sa
254254
255-
# From SA panoptic format to COCO panoptic format
255+
# From SA format to COCO panoptic format
256256
sa.export_annotation(
257257
"tests/converter_test/COCO/input/fromSuperAnnotate/cats_dogs_panoptic_segm",
258258
"tests/converter_test/COCO/output/panoptic",
259-
"COCO", "panoptic_test", "Pixel","panoptic_segmentation","Web"
259+
"COCO", "panoptic_test", "Pixel","panoptic_segmentation"
260260
)
261261
262-
# From COCO keypoints detection format to SA keypoints detection desktop application format
262+
# From COCO keypoints detection format to SA annotation format
263263
sa.import_annotation(
264264
"tests/converter_test/COCO/input/toSuperAnnotate/keypoint_detection",
265265
"tests/converter_test/COCO/output/keypoints",
266-
"COCO", "person_keypoints_test", "Vector", "keypoint_detection", "Desktop"
266+
"COCO", "person_keypoints_test", "Vector", "keypoint_detection"
267267
)
268268
269-
# Pascal VOC annotation format to SA Web platform annotation format
269+
# Pascal VOC annotation format to SA annotation format
270270
sa.import_annotation(
271271
"tests/converter_test/VOC/input/fromPascalVOCToSuperAnnotate/VOC2012",
272272
"tests/converter_test/VOC/output/instances",
273-
"VOC", "instances_test", "Pixel", "instance_segmentation", "Web"
273+
"VOC", "instances_test", "Pixel", "instance_segmentation"
274274
)
275275
276-
# YOLO annotation format to SA Web platform annotation format
276+
# YOLO annotation format to SA annotation format
277277
sa.import_annotation(
278278
'tests/converter_test/YOLO/input/toSuperAnnotate',
279279
'tests/converter_test/YOLO/output',
280-
'YOLO', '', 'Vector', 'object_detection', 'Web'
280+
'YOLO', '', 'Vector', 'object_detection'
281281
)
282282
283-
# LabelBox annotation format to SA Desktop application annotation format
283+
# LabelBox annotation format to SA annotation format
284284
sa.import_annotation(
285285
"tests/converter_test/LabelBox/input/toSuperAnnotate/",
286286
"tests/converter_test/LabelBox/output/objects/",
287-
"LabelBox", "labelbox_example", "Vector", "object_detection", "Desktop"
287+
"LabelBox", "labelbox_example", "Vector", "object_detection"
288288
)
289289
290-
# Supervisely annotation format to SA Web platform annotation format
290+
# Supervisely annotation format to SA annotation format
291291
sa.import_annotation(
292292
"tests/converter_test/Supervisely/input/toSuperAnnotate",
293293
"tests/converter_test/Supervisely/output",
294-
"Supervisely", "", "Vector", "vector_annotation", "Web"
294+
"Supervisely", "", "Vector", "vector_annotation"
295295
)
296296
297-
# DataLoop annotation format to SA Web platform annotation format
297+
# DataLoop annotation format to SA annotation format
298298
sa.import_annotation(
299299
"tests/converter_test/DataLoop/input/toSuperAnnotate",
300300
"tests/converter_test/DataLoop/output",
301-
"DataLoop", "", "Vector", "vector_annotation", "Web"
301+
"DataLoop", "", "Vector", "vector_annotation"
302302
)
303303
304-
# VGG annotation format to SA Web platform annotation format
304+
# VGG annotation format to SA annotation format
305305
sa.import_annotation(
306306
"tests/converter_test/VGG/input/toSuperAnnotate",
307307
"tests/converter_test/VGG/output",
308-
"VGG", "vgg_test", "Vector", "instance_segmentation", "Web"
308+
"VGG", "vgg_test", "Vector", "instance_segmentation"
309309
)
310310
311-
# VoTT annotation format to SA Web platform annotation format
311+
# VoTT annotation format to SA annotation format
312312
sa.import_annotation(
313313
"tests/converter_test/VoTT/input/toSuperAnnotate",
314314
"tests/converter_test/VoTT/output",
315-
"VoTT", "", "Vector", "vector_annotation", "Web"
315+
"VoTT", "", "Vector", "vector_annotation"
316316
)
317317
318-
# GoogleCloud annotation format to SA Web platform annotation format
318+
# GoogleCloud annotation format to SA annotation format
319319
sa.import_annotation(
320320
"tests/converter_test/GoogleCloud/input/toSuperAnnotate",
321321
"tests/converter_test/GoogleCloud/output",
322-
"GoogleCloud", "image_object_detection", "Vector", "object_detection", "Web"
322+
"GoogleCloud", "image_object_detection", "Vector", "object_detection"
323323
)
324324
325-
# GoogleCloud annotation format to SA desktop application annotation format
325+
# GoogleCloud annotation format to SA annotation format
326326
sa.import_annotation(
327327
"tests/converter_test/SageMaker/input/toSuperAnnotate",
328328
"tests/converter_test/SageMaker/output",
329-
"SageMaker", "test-obj-detect", "Vector", "object_detection", "Desktop"
329+
"SageMaker", "test-obj-detect", "Vector", "object_detection"
330330
)
331331
332332

0 commit comments

Comments
 (0)