Upload images
Find out how to upload images to V7 using our Python SDK
Now that our dataset has been created, we can upload images to it using the push function. Push uses a list of paths to indicate which files are going to be uploaded to the dataset. If you're uploading images, you can push them to your dataset by entering their paths in the format of the code snippet below:
dataset.push(["/path/to/1.jpg", "/path/to/2.jpg"])
If you're sorting images into separate folders within your dataset, this can be done by adding path=
and the name of the folder to the end of the push command.
dataset.push(["/path/to/1.jpg", "/path/to/2.jpg"], path="myfolder")
This can also be used to push videos to folders within a dataset. Speaking of video,
Updated 12 months ago