Import from cloud storage
Overview
Imports images or videos from a folder of a storage bucket connected to the workspace into the OvalBee dataset you pick. Annotations stored next to the media come along, and their format is recognized from the folder contents.
The bucket can be on AWS S3 or S3-compatible storage such as MinIO, Ceph or RustFS, on Azure Blob Storage or on Google Cloud Storage. The media are copied into OvalBee storage, so the dataset keeps working when the bucket changes. Turn on Link images and videos instead of copying to leave them in the bucket instead.
Every run creates a new version of the destination dataset that keeps what it already held and adds the imported media. The LAST_RUN output opens a hidden dataset holding only the media and annotations of the latest run.
Prerequisites
How it works
Recognizes the annotation format from the file layout and the annotation files, or uses the format picked in Annotation format.
FAQ
Which formats are recognized?
For images: Supervisely, COCO, YOLO, Pascal VOC, LabelMe and Cityscapes. For videos: Supervisely. A folder with media and no annotation files in a known format is imported as plain images or videos.
What if the format is detected wrong or several formats match?
Pick the format in Annotation format instead of Auto. The node then reads the folder as that format and skips detection.
How do I import only the media?
Turn off With annotations. Every image or video under the folder is imported, and annotation files are ignored.
What changes when I link the media instead of copying them?
The images and videos stay in the bucket, and the dataset points at them there, so they take no OvalBee storage and don’t count toward your storage limit. Annotations are still copied into OvalBee storage, and so is each video’s thumbnail. Files that are already in OvalBee’s own workspace storage are copied, not linked.
A copied image is stored upright, but a linked one keeps its original pixels, including a camera’s EXIF orientation tag that says how to turn them. OvalBee shows such an image upright and records the tag in the image’s metadata, but some nodes read the pixels without applying it and work on the turned picture. For example, Crop objects cuts the wrong regions without any error, Serve live training with Grounding DINO swaps the width and height of images turned a quarter and clips boxes to them, the predictions or masks of nodes including Predict DEIM, Predict Grounding DINO and Serve SAM3 in the labeling tool land in the wrong frame, and Train TIMM trains on the turned pictures. Import photos that carry an orientation tag, such as phone pictures, with the option off so they are copied upright.
Linked media are read from the bucket every time they are shown, labeled or exported. They stop opening when the files are moved or deleted in the bucket, when the bucket is removed under Settings > Storage, or when it is no longer served because your plan’s bucket limit is lower. Deleting the assets in OvalBee never deletes the files in the bucket.
Where do the bucket and its credentials come from?
Bucket path offers the buckets connected under Settings > Storage, and the node reads them through OvalBee with the credentials stored on their provider. The node itself holds no credentials, so changing a provider’s keys changes them for every node that uses its buckets.
Why did the run fail?
The provider’s credentials may not allow listing or reading the bucket, the bucket may be over your plan’s bucket limit, the bucket path may point at an empty folder, or no image or video was found under it. For videos, only Auto and Supervisely are accepted in Annotation format.
What happens when I run it again?
The folder is imported again into another new version of the destination dataset, and every file gets a second copy there. The earlier versions stay available, and LAST_RUN moves to a new version holding only this run. Point the node at a new dataset when you don’t want duplicates.
Inputs
Bucket and folder to import from, for example s3://my-bucket/datasets/cars/. The bucket is one connected under Settings > Storage. Every file under the folder is scanned. Placeholder: datasets/cars/. Key: PATH.
Whether the folder holds images or videos. Key: MEDIA_TYPE.
Options:
- Images (
images) - Videos (
videos)
Leave the media files in the bucket and add them to the dataset by reference, so they take no workspace storage. Annotations are still copied. Key: LINK_MEDIA.
Import annotations next to the media. Turn off to import only the media files. Key: WITH_ANNOTATIONS.
Format of the annotations. Auto detects it from the folder contents. Videos support Auto and Supervisely only. Visible when WITH_ANNOTATIONS is not False. Key: ANNOTATION_FORMAT.
Options:
- Auto (
auto) - Supervisely (
supervisely) - COCO (
coco) - YOLO (
yolo) - Pascal VOC (
pascal_voc)
Dataset that receives the imported media and annotations, or a new name to create one. Each import adds a new version, so what the dataset held before stays available. Key: DATASET.
Outputs
ID of the OvalBee dataset that received the imported media. Key: DATASET.
Hidden dataset containing the media and annotations imported during the last run. A rerun writes a new version of it. Shown as an artifact. Key: LAST_RUN.
JSON config
Machine-readable node interface for automation and advanced usage.