Import from cloud storage
Overview
Imports images or videos from a folder of an S3-compatible bucket into the OvalBee dataset you pick. Annotations stored next to the media come along, and their format is recognized from the folder contents.
Works with AWS S3 and with S3-compatible storage such as MinIO, Ceph or RustFS. The media are copied into OvalBee storage, so the dataset keeps working when the bucket changes.
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 should the S3 secret contain?
For AWS, the region is enough and the endpoint can stay empty. For MinIO and other S3-compatible storage, set the endpoint and turn on Force path style. The endpoint never includes the bucket name: use https://s3.eu-central-1.amazonaws.com, not https://my-bucket.s3.eu-central-1.amazonaws.com. IAM role secrets aren’t supported yet.
Why did the run fail?
The secret may not have permission to list or read the bucket, 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, and every file gets a second copy in the destination dataset. Point the node at a new dataset when you don’t want duplicates.
Inputs
S3 secret with an access key pair and a region or endpoint. Works with AWS S3 and S3-compatible storage such as MinIO. Allowed credential types: s3. Key: S3_SECRET.
Bucket and folder to import from, for example s3://my-bucket/datasets/cars/. Every file under the folder is scanned. Placeholder: s3://my-bucket/path/to/dataset/. Key: PATH.
Whether the folder holds images or videos. Key: MEDIA_TYPE.
Options:
- Images (
images) - Videos (
videos)
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. Type a new name to create it. Key: DATASET.
Outputs
ID of the OvalBee dataset that received the imported media. Key: DATASET.
JSON config
Machine-readable node interface for automation and advanced usage.