Data Acquisition
Collecting image data
Add photos to an Image project, with or without existing labels.
Try it in StudioOn this page
Goal
By the end of this page your project will have images in its training and testing sets, ready to label.
Upload images
- Open Data acquisition in Studio.
- Choose an Upload category (see the table below).
- Drag files onto the page, or select Choose files or Upload folder.
- Select Upload (the button shows how many files are waiting, for example Upload 40 files).
Supported image files are JPG, JPEG and PNG.
| Upload category | What it does |
|---|---|
| Training data | Every file goes to the training set. |
| Testing data | Every file goes to the testing set. |
| Automatically split between training and testing (default) | About 80 % to training and 20 % to testing. The same file always lands in the same set. |
| Post-processing | Videos (MP4, MOV, AVI) for the Post-processing preview. They are not used for training. |
Upload images that already have boxes
If you labelled your images in another tool, select the images and their label files in the same upload. Studio reads these formats:
| Format | Label files |
|---|---|
| Pascal VOC | One .xml file per image |
| YOLO (Darknet) | One .txt file per image, plus classes.txt, obj.names or data.yaml for the class names |
| COCO | One .json file for the whole dataset |
| Open Images | A .csv file of boxes |
| PetalEdge | A .labels JSON file with boundingBoxes |
After the upload, open Data labeling to check that the boxes are in the right place.
Collect from a connected device
The Collect from device panel on the same page records data from a device that is connected to your project. Choose the Device, Sensor, Label, Length (ms) and Category, then select Start sampling. The list of sensors comes from the device itself.
Generate synthetic images (optional)
If you have only a few photos, Studio can create extra ones with OpenAI image generation.
- Open Data labeling and select Synthetic Data.
- Paste your own OpenAI API Key. It is sent with the request and is never stored; the cost goes to your OpenAI account.
- Write a Prompt, for example A photo of a factory worker wearing a hard hat.
- Enter the Label, the Number of images (1 to 25 per job), Image size, Quality, Background and Dataset split.
- Select Generate Synthetic Data.
Result
Your images appear in Data labeling, split into Training and Testing.