ComfyUI > Nodes > ComfyUI > SAM3 Track Preview

ComfyUI Node: SAM3 Track Preview

Class Name

SAM3_TrackPreview

Category
detection
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

Install this extension via the ComfyUI Manager by searching for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

SAM3 Track Preview Description

Visualize object tracking across video frames with distinct colors for each object, enhancing tracking algorithm understanding and refinement.

SAM3 Track Preview:

The SAM3_TrackPreview node is designed to provide a visual representation of tracked objects across video frames using the SAM3 memory-based tracker. This node is particularly useful for AI artists and developers who want to visualize the tracking process in a video format, as it generates a video preview with distinct colors assigned to each tracked object. The primary benefit of this node is its ability to offer a clear and intuitive visualization of object tracking, which can be crucial for understanding and refining tracking algorithms. By leveraging SAM3's advanced tracking capabilities, this node helps users to easily identify and analyze the movement and interaction of multiple objects within a video sequence, enhancing the overall comprehension of the tracking results.

SAM3 Track Preview Input Parameters:

track_data

The track_data parameter is essential as it contains the tracking information generated by the SAM3 tracker. This data includes details about the tracked objects and their positions across video frames. It serves as the foundation for generating the visual preview, ensuring that the video accurately reflects the tracking results.

images

The images parameter is optional and allows you to provide a sequence of images that will be used as the background for the video preview. If not provided, the node will generate the preview using default settings. This parameter is useful for overlaying tracking data on specific video frames, providing a more contextual visualization.

opacity

The opacity parameter controls the transparency level of the tracked objects in the video preview. It ranges from 0.0 to 1.0, with a default value of 0.5. Adjusting this parameter allows you to balance the visibility of the tracked objects against the background, ensuring that both elements are clearly visible.

fps

The fps parameter specifies the frames per second for the video preview, with a range from 1.0 to 120.0 and a default value of 24.0. This setting determines the playback speed of the video, allowing you to adjust it for smoother or more detailed analysis of the tracking process.

SAM3 Track Preview Output Parameters:

None

The SAM3_TrackPreview node does not produce any direct output parameters in the form of data or tensors. Instead, it generates a temporary video file that visually represents the tracking results. This video is saved to a temporary location and can be used for further analysis or presentation purposes.

SAM3 Track Preview Usage Tips:

  • To achieve the best visualization results, ensure that the track_data provided is accurate and comprehensive, as this will directly impact the quality of the video preview.
  • Experiment with the opacity and fps settings to find the optimal balance for your specific use case, as these parameters can significantly affect the clarity and usability of the video output.

SAM3 Track Preview Common Errors and Solutions:

Missing track_data

  • Explanation: This error occurs when the track_data parameter is not provided or is incomplete, preventing the node from generating a video preview.
  • Solution: Ensure that you supply valid and complete track_data to the node, as this is crucial for the visualization process.

Invalid fps value

  • Explanation: An error may arise if the fps value is set outside the allowed range of 1.0 to 120.0.
  • Solution: Adjust the fps parameter to fall within the specified range to ensure proper video playback speed.

Opacity out of range

  • Explanation: If the opacity value is set below 0.0 or above 1.0, the node may not function as expected.
  • Solution: Set the opacity parameter within the valid range to maintain the correct transparency level for the tracked objects.

SAM3 Track Preview Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

SAM3 Track Preview