Skip to navigation

Export images

Overview

Exports image assets from an OvalBee dataset to an existing Supervisely dataset.

The Delete source assets option removes only successfully exported assets from the source OvalBee dataset.

Use it after creating or selecting a Supervisely labeling dataset.

Supervisely dataset Export images

Prerequisites

RequirementWhat you need
Supervisely credentialsAn existing supervisely secret with write access to the destination.
Destination datasetAn existing Supervisely dataset URL or ID. Projects and collections are not valid destinations.

How it works

1

Reads image assets from the source OvalBee dataset, limited to Images Count when it is set.

2

Adds any missing classes and tags to the destination project meta when annotations are exported.

3

Uploads the images with their annotations, applying the extra tag when one is configured.

4

Records an export baseline on each uploaded image, then removes the exported assets from the source dataset when Delete source assets is on.

FAQ

No. The destination must be a Supervisely dataset URL or ID.

They are added to the destination project meta before upload, so annotations keep their classes.

Only assets that uploaded successfully. They lose their membership in the source OvalBee dataset, and nothing is removed when the export produced no images.

Each exported image is stamped with the time of its export. Nodes such as Filter labeled images use that stamp to tell later labeling work from the export itself.

Extra tag value is required whenever Extra tag name is set. Fill both fields or leave both empty.

Inputs

From dataset
datasetRequired

Source dataset the exported images are taken from. Key: DATASET.

To Supervisely dataset
stringRequired

Supervisely dataset the images are uploaded to, as a URL or a numeric ID. It must already exist, and a project or a collection is not accepted here. Key: SLY_URL.

Supervisely credentials
secretRequired

Your Supervisely server address and API token, stored as a secret. Allowed credential types: supervisely. Key: SLY_SECRET.

Images count
integer

How many image assets to upload. Leave empty to export every image in the dataset. Minimum: 0. Key: IMAGES_COUNT.

Export annotations
booleanDefaults to true

Upload the annotations of each image too. All annotations of one image are merged into a single Supervisely annotation. Key: WITH_ANNOTATIONS.

Delete source assets
booleanDefaults to false

Remove successfully exported assets from the source OvalBee dataset after upload. Key: DELETE_SOURCE.

Extra tag name
string

Extra tag name added to every uploaded image, on top of the tags its asset already carries. Key: EXPORT_TAG_NAME.

Extra tag value
string

Text stored under that tag name. Required once Extra tag name is set. Visible when EXPORT_TAG_NAME is not empty. Key: EXPORT_TAG_VALUE.

Outputs

Supervisely Dataset ID
number

ID of the target Supervisely dataset. Key: SLY_DATASET_ID.

Supervisely Dataset URL
string

URL of the target Supervisely dataset. Key: SLY_DATASET_URL.

JSON config

Machine-readable node interface for automation and advanced usage.

{
"name": "Export images",
"description": "Exports image assets from an OvalBee dataset to an existing Supervisely dataset. The node uploads image files and all annotations of each asset merged into one.",
"category": "Supervisely",
"namespace": "supervisely",
"templateKey": "supervisely/export_images",
"version": "v1",
"inputs": [
{
"key": "DATASET",
"label": "From dataset",
"type": "dataset",
"description": "Source dataset the exported images are taken from.",
"required": true,
"default": null,
"visibleWhen": null,
"options": {
"creatable": false
}
},
{
"key": "SLY_URL",
"label": "To Supervisely dataset",
"type": "string",
"description": "Supervisely dataset the images are uploaded to, as a URL or a numeric ID. It must already exist, and a project or a collection is not accepted here.",
"required": true,
"default": null,
"visibleWhen": null
},
{
"key": "SLY_SECRET",
"label": "Supervisely credentials",
"type": "secret",
"description": "Your Supervisely server address and API token, stored as a secret.",
"required": true,
"default": null,
"visibleWhen": null,
"options": {
"types": [
"supervisely"
]
}
},
{
"key": "IMAGES_COUNT",
"label": "Images count",
"type": "number",
"description": "How many image assets to upload. Leave empty to export every image in the dataset.",
"required": false,
"default": null,
"visibleWhen": null,
"options": {
"type": "integer",
"min": 0
}
},
{
"key": "WITH_ANNOTATIONS",
"label": "Export annotations",
"type": "boolean",
"description": "Upload the annotations of each image too. All annotations of one image are merged into a single Supervisely annotation.",
"required": false,
"default": true,
"visibleWhen": null
},
{
"key": "DELETE_SOURCE",
"label": "Delete source assets",
"type": "boolean",
"description": "Remove successfully exported assets from the source OvalBee dataset after upload.",
"required": false,
"default": false,
"visibleWhen": null
},
{
"key": "EXPORT_TAG_NAME",
"label": "Extra tag name",
"type": "string",
"description": "Extra tag name added to every uploaded image, on top of the tags its asset already carries.",
"required": false,
"default": null,
"visibleWhen": null
},
{
"key": "EXPORT_TAG_VALUE",
"label": "Extra tag value",
"type": "string",
"description": "Text stored under that tag name. Required once Extra tag name is set.",
"required": false,
"default": null,
"visibleWhen": {
"key": "EXPORT_TAG_NAME",
"operator": "notEquals",
"value": null
}
}
],
"outputs": [
{
"key": "SLY_DATASET_ID",
"label": "Supervisely Dataset ID",
"type": "number",
"description": "ID of the target Supervisely dataset.",
"artifact": false,
"badge": false,
"badgeOpens": null,
"hidden": false
},
{
"key": "SLY_DATASET_URL",
"label": "Supervisely Dataset URL",
"type": "string",
"description": "URL of the target Supervisely dataset.",
"artifact": false,
"badge": false,
"badgeOpens": null,
"hidden": false
}
]
}