The basic command to push video to a dataset is no different from uploading images:
There are a couple of additional things to consider with video, however. For one, your video will be uploaded with a default frame rate of 1 frame per second. You can specify how many fps your uploaded video will have by adding
fps= and your desired frame rate.
You can also choose to import each frame of your video to be annotated as an individual image by using the boolean parameter,
dataset.push(["/path/to/video.mp4"], as_frames=True, fps=10)
Updated 3 months ago