Upload Images, Videos, and Annotations
Upload images, videos, and annotations to Roboflow.
Last updated
Was this helpful?
Upload images, videos, and annotations to Roboflow.
Last updated
Was this helpful?
The first step to training and deploying a model with Roboflow is to upload data to a Project.
First, you will need to .
Then, you will be taken to a web page from which you can upload data. You can also access this page from the "Upload Data" button available in your project sidebar.
You can add data to your Roboflow account by:
Using the web application: Recommended for datasets with fewer than 1,000 images.
Using the command line: Recommended for datasets with greater than 1,000 images.
Using the Dataset Upload Workflow Block: Recommended for collecting data from Workflows with a model already in production.
From the web application and command line, you can upload:
JPG, PNG, WEBP, and BMP images .
MOV and .mp4 videos.
You can only upload annotations with images. You cannot upload annotations for images that have already been imported into your dataset.
When you create a project, or on the Upload Data page, you will see a box into which you can drag and drop images, videos, and annotations:
Uploaded videos are broken up into individual frames you can annotate. If you upload a video, a window will open from which you can choose how often frames are sampled for use in your dataset:
Once you click "Choose Frame Rate", your video will be split up into frames. These frames will then be uploaded to your dataset.
Once you have uploaded your dataset, you will be able to assign the data for labeling.
Once you drop them into the Web UI, a dialog box will ask you to choose the frame rate. This will tell us how many images we should sample from your video per second.
The highest frame rate you can select is 60 frames per second, which will generate 60 images for each second of video you upload.
The lowest frame rate you can select is 1 frame per 60 seconds.
After sampling from your video, the images will appear as if you had originally uploaded images to Roboflow.
You can also import a YouTube video directly using a similar process as shown above by pasting a YouTube link on the Upload page.
You can upload larger datasets using the Roboflow Python command line interface.
To get started, first install roboflow-python
:
Finally, prepare a command in the following format:
Here are the arguments you need to specify:
-w testupload
: This is the name of the batch that will be created.
-p <project-id>
: This is your project ID.
When you run the command, you will see a message that indicates the upload process has started. You will then see logs as images upload:
We have a video walkthrough that shows how to upload data from the command line:
All data uploaded to Roboflow is uploaded in a "batch". These batches can be viewed on your Project Annotate page:
The maximum size for an image is 20 MB
The maximum pixel dimensions are 16,400 × 10,900 pixels.
If you try to upload an image that is already in a Project, upload for that image will be skipped.
You retain all ownership rights in any content, information, or materials You post, submit, publish, display, or transmit
Public Plan: If you are on the Public plan unless explicitly specified and arranged by Roboflow, your datasets will be public on Roboflow Universe.
Paid Plans (including Enterprise): Unless otherwise specified, your data is private to your account.
The formats supported vary depending on your project type.
You can .
If you are having trouble getting your video file loaded into Roboflow, you can post on our or contact your account representative.
You can only upload images with the command line interface. If you have videos, you will need to . These files can then be uploaded to Roboflow.
Next, .
If you , the merged dataset and the two original datasets exist in your account. Therefore, there is no charge for the merge, because the images are duplicates.
You retain ownership over all images and videos you upload to Roboflow. This is defined in :