Filter Presets
Filter presets are saved groups of filter criteria that you can reuse across Active.Create Filter Preset
Create a Filter Preset based on raw JSON.For more information on creating your own filter presets using the SDK, contact us at support@encord.com
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
Get Data ID
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
Get Annotation ID
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 ProjectAdd Items to FRAMES Collection
Add Items to FRAMES Collection
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
Add items to LABEL 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.
Remove Items from a Collection
Remove items from a Frame or Label Collection.Get Data ID
Get Data ID
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
Get Annotation ID
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 ProjectRemove Items from FRAME Collections
Remove Items from FRAME Collections
Remove Items from FRAME Collections
You need the Data ID of frames to remove items from a FRAME Collection.Remove Items from LABEL Collections
Remove Items from LABEL Collections
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.