Skip to main content

Overview

Selects specific tracked objects from a SAM3 tracking session by their index numbers and combines them into a single output mask. This allows you to choose which objects to keep and which to ignore from the tracking results.

Inputs

ParameterDescriptionData TypeRequiredRange
track_dataThe tracking data output from a SAM3 tracker node, containing the packed masks and original image size.SAM3TRACKDATAYesN/A
object_indicesComma-separated object indices to include in the output mask (e.g., ‘0,2,3’). If left empty, all tracked objects are included.STRINGNoAny comma-separated list of integers

Outputs

Output NameDescriptionData Type
masksA single binary mask for each frame, where selected objects are combined into one mask. If no objects are selected or no tracking data exists, returns a zero mask.MASK
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 77c9f5142f2078fabb81e58979df01ad9ec41d3de953939570bebb4f2687f8ad