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
Copy file name to clipboardExpand all lines: src/superannotate/lib/app/interface/cli_interface.py
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -96,8 +96,10 @@ def upload_images(
96
96
"""
97
97
To upload images from folder to project use:
98
98
99
-
If optional argument recursive is given then subfolders of <folder_path> are also recursively scanned for available images.
100
-
Optional argument extensions accepts comma separated list of image extensions to look for. If the argument is not given then value jpg,jpeg,png,tif,tiff,webp,bmp is assumed.
99
+
If optional argument recursive is given then subfolders of <folder_path> are also
100
+
recursively scanned for available images.
101
+
Optional argument extensions accepts comma separated list of image extensions to look for.
102
+
If the argument is not given then value jpg,jpeg,png,tif,tiff,webp,bmp is assumed.
101
103
"""
102
104
uploaded_image_entities= []
103
105
failed_images= []
@@ -196,7 +198,8 @@ def upload_preannotations(
196
198
):
197
199
"""
198
200
To upload preannotations from folder to project use
199
-
Optional argument format accepts input annotation format. It can have COCO or SuperAnnotate values. If the argument is not given then SuperAnnotate (the native annotation format) is assumed.
201
+
Optional argument format accepts input annotation format. It can have COCO or SuperAnnotate values.
202
+
If the argument is not given then SuperAnnotate (the native annotation format) is assumed.
200
203
Only when COCO format is specified dataset-name and task arguments are required.
201
204
dataset-name specifies JSON filename (without extension) in <folder_path>.
202
205
task specifies the COCO task for conversion. Please see import_annotation_format for more details.
@@ -343,8 +346,10 @@ def upload_videos(
343
346
"""
344
347
To upload videos from folder to project use
345
348
If optional argument recursive is given then subfolders of <folder_path> are also recursively scanned for available videos.
346
-
Optional argument extensions accepts comma separated list of image extensions to look for. If the argument is not given then value mp4,avi,mov,webm,flv,mpg,ogg is assumed.
347
-
target-fps specifies how many frames per second need to extract from the videos (approximate). If not specified all frames will be uploaded.
349
+
Optional argument extensions accepts comma separated list of image extensions to look for.
350
+
If the argument is not given then value mp4,avi,mov,webm,flv,mpg,ogg is assumed.
351
+
target-fps specifies how many frames per second need to extract from the videos (approximate).
352
+
If not specified all frames will be uploaded.
348
353
start-time specifies time (in seconds) from which to start extracting frames, default is 0.0.
349
354
end-time specifies time (in seconds) up to which to extract frames. If it is not specified, then up to end is assumed.
0 commit comments