Copy

Overview

Copies images and videos, together with their annotations, from one dataset to another. Assets already in the destination dataset are skipped.

Copied assets stay in the source dataset. Use Move instead if you want to remove them from the source.

Use it when a flow needs to reuse the same assets in another dataset.

After a successful run, the node shows a badge with the number of assets added in that run.

Source Dataset Copy Destination Dataset

How it works

1

Compares source and destination assets by type and asset ID.

2

Adds each missing asset to the destination dataset.

3

Adds annotations linked to the added assets. If an annotation with the same ID is already there, the node skips it.

4

Refreshes the destination statistics and adds the source’s classes that the destination’s ontology lacks.

FAQ

Copy handles images and videos only. It ignores other asset types, and the badge does not count annotations.

The node skips both the data and its annotations. It does not add missing annotations to an existing destination membership.

Copy writes into the destination as it is and never creates a new dataset version, so a rerun adds only the assets that aren’t there yet.

The source has no images or videos, or all supported data is already in the destination. Check both datasets. If the destination already has everything, no action is needed.

Inputs

From dataset
datasetRequired

Source dataset the assets are copied from. Its own contents stay untouched. Key: SRC_DATASET.

To dataset
datasetRequired

Destination dataset where assets are added, along with their annotations. Existing assets are left alone, so a second run adds nothing. Key: DST_DATASET.

Outputs

Destination Dataset
dataset

ID of the destination OvalBee dataset. Key: DST_DATASET.

Last Copied Assets Count
string

Short badge with the number of images and videos newly added to the destination in the latest run. Shown on the node as a badge. Key: LAST_COPIED_ASSETS_COUNT.

JSON config

Machine-readable node interface for automation and advanced usage.

{
"name": "Copy",
"description": "Adds images and videos from one OvalBee dataset to another without duplicating the media files.",
"category": "Datasets",
"namespace": "ovalbee",
"templateKey": "dataset_ops/copy",
"version": "v1",
"inputs": [
{
"key": "SRC_DATASET",
"label": "From dataset",
"type": "dataset",
"description": "Source dataset the assets are copied from. Its own contents stay untouched.",
"required": true,
"default": null,
"visibleWhen": null,
"options": {
"creatable": false
}
},
{
"key": "DST_DATASET",
"label": "To dataset",
"type": "dataset",
"description": "Destination dataset where assets are added, along with their annotations. Existing assets are left alone, so a second run adds nothing.",
"required": true,
"default": null,
"visibleWhen": null
}
],
"outputs": [
{
"key": "DST_DATASET",
"label": "Destination Dataset",
"type": "dataset",
"description": "ID of the destination OvalBee dataset.",
"artifact": false,
"badge": false,
"badgeOpens": null,
"hidden": false
},
{
"key": "LAST_COPIED_ASSETS_COUNT",
"label": "Last Copied Assets Count",
"type": "string",
"description": "Short badge with the number of images and videos newly added to the destination in the latest run.",
"artifact": false,
"badge": true,
"badgeOpens": null,
"hidden": false
}
]
}