Skip to main content
Collections are saved groups of data units or labels that let you curate subsets of your data and perform bulk actions on them, such as sending items to annotation, running bulk classifications, or exporting a curated Dataset.

Filter Presets

Filter presets are saved groups of filter criteria that you can reuse across Label Validation.

Create Filter Preset

Create a Filter Preset based on raw JSON.

Update Filter Presets

All arguments are optional when updating a filter preset.

List Filter Presets

List all Filter Presets in Active by name with their unique identifier.

Delete Presets

Use the following code template to delete a preset filter in Active.
Template

View Preset JSON

This code outputs the filters that make up the Active filter preset in a JSON file format.

Collections

Active supports two types of Collections: Frame Collections and Label Collections. Frame Collections are groups of frames (images and video frames) you selected by filtering, sorting, inspecting, and analyzing the data units in Active. Label Collections are groups of labels, on your frames (images and video frames), that you selected by filtering, sorting, inspecting, and analyzing the labels on your data units in Active.

List Collections

List all Collections in an Active Project by name with their unique identifier.

List FRAME Collections

List all FRAME Collections in an Active Project by name with their unique identifier.

List LABEL Collections

List all LABEL Collections in an Active Project by name with their unique identifier.

Create Collection

Create a Collection with a meaningful name and description in a Folder.

Add Items to a Collection

You need the data hash of the data units in your Annotate Project to add the data units to an Active Collection.

Get Data ID

Use the following code to get the Data ID (unique ID for data units from Dataset) from your Annotate Project:

Get Annotation ID

You need the Data ID, frame number, AND the Annotation ID (Object Hash) for the label or classification you want to add to the LABEL Collection.The following code gets the Annotation ID for all the labels in an Annotate Project

Add Items to FRAMES Collection

You need the Data ID and frame number of the frames you want to add to a Collection.

Add Items to LABEL Collection

You need the Data ID, frame number, AND the Annotation ID to add items to a LABEL Collection.

Add Items to a Collection using Presets

The code to add items to a Frame Collection or a Label Collection is the same. You can find the Preset ID for your preset in the Active UI. Get Preset ID

Remove Items from a Collection

Remove items from a Frame or Label Collection.

Get Data ID

Use the following code to get the Data ID (unique ID for data units from Dataset) from your Annotate Project:

Get Annotation ID

You need the Data ID AND the Annotation ID (Object Hash) for the label or classification you want to remove from the LABEL Collection.The following code gets the Annotation ID for all the labels in an Annotate Project

Remove Items from FRAME Collections

You need the Data ID of frames to remove items from a FRAME Collection.

Remove Items from LABEL Collections

You need the Data ID and Annotation ID to remove items from LABEL Collections.

Remove Items From a Collection using Presets

The code to remove items from a Frame Collection or a Label Collection is the same. You can find the Preset ID for your preset in the Active UI. Get Preset ID

List all Items in a Collection

List all Frames in a Collection

Lists all FRAMES in a Collection.

List All Labels in a Collection

Lists all annotations (object labels and classifications) in a Label Collection with the frame ID and frame number.