Import images
Overview
Imports images from a Supervisely project, dataset, or collection into an OvalBee dataset, optionally with their annotations.
Every run creates a new version of the destination dataset that keeps what it already held and adds the imported images. The LAST_RUN output opens a hidden dataset holding only the images handled in the latest run, and the node badge shows how many there were.
Prerequisites
How it works
Reads the source from the URL. A project URL covers all its datasets, while a dataset or collection URL covers only that selection.
Copies the images, with their annotations when Import annotations is on. Only labeled images then skips images that carry no annotations.
FAQ
What can this node import?
Images from Supervisely image projects only. A video or other project type fails the run before anything is copied.
What does Reuse existing assets do?
An image that went to Supervisely in an earlier export from OvalBee remembers which OvalBee asset it came from. With reuse on, that image is attached back to the original asset instead of being uploaded again. If the original asset no longer exists in this workspace, a new one is uploaded. Turn reuse off to always upload new assets.
What happens to annotations when an asset is reused?
With Import annotations on, a reused image gets the Supervisely annotation as a new annotation, and nothing existing is replaced or merged. If the destination dataset already held an annotation for that image, OvalBee reads the newest one.
Does a rerun import the same images again?
Yes. Each run imports everything in the source, whatever an earlier run brought in. Images uploaded as new assets arrive again as new copies. Reused images stay single assets, because the import never writes an OvalBee asset reference back to Supervisely: only images exported from OvalBee can be reused.
Which tags does the node restore or override?
New uploads restore the OvalBee tags saved on the image in Supervisely during an earlier export. If the same tag name appears there, the import tag wins.
What does the import badge count?
Every handled image, including reused assets, not only new uploads.
What happens when several source images point to the same OvalBee asset?
Only the first source image is reused. The rest are uploaded as new assets.
Why were no labeled images found?
Import annotations and Only labeled images are on, but the selected source has no labeled images. Turn off Only labeled images or choose a labeled source.
Why did the run finish with +0 images?
Why did the run finish with +0 images?
The selected source is empty. Check the source URL. The run still creates a new, unchanged version of the destination dataset and an empty LAST_RUN.
Inputs
Supervisely project, dataset or collection the images come from. Paste its URL, or a project ID on its own. Key: SLY_URL.
Destination dataset the imported images are added to. Every run creates a new version of it. Key: DATASET.
Your Supervisely server address and API token, stored as a secret. Allowed credential types: supervisely. Key: SLY_SECRET.
Copy the annotations of each image too, not only the image files. Key: WITH_ANNOTATIONS.
Skip source images that carry no annotations. Import fails when nothing in the source is labeled. Visible when WITH_ANNOTATIONS is True. Key: ONLY_LABELED_IMAGES.
Images that came from OvalBee in an earlier export are attached back to their original asset instead of being uploaded a second time. Everything else is imported as a new asset. Key: REUSE_EXISTING.
Tag name attached to every imported asset. Leave empty to tag each asset with the Supervisely project, dataset or collection it came from. Key: ASSET_TAG_NAME.
Text stored under that tag name. Required once Asset tag name is set. Visible when ASSET_TAG_NAME is not empty. Key: ASSET_TAG_VALUE.
Outputs
ID of the OvalBee dataset that received imported image assets. Key: DATASET.
Hidden dataset containing image assets handled during this import run, including reused assets. A rerun writes a new version of it. Shown as an artifact. Key: LAST_RUN.
Short badge with the number of image assets handled during the last import, including reused assets. Shown on the node as a badge. Selecting the badge opens LAST_RUN. Key: LAST_IMAGES_COUNT.
JSON config
Machine-readable node interface for automation and advanced usage.