ComfyUI > Nodes > Comfyui CoTracker Node > CoTracker Point Tracking

ComfyUI Node: CoTracker Point Tracking

Class Name

CoTrackerNode

Category
tracking
Author
s9roll7 (Account age: 1243days)
Extension
Comfyui CoTracker Node
Latest Updated
2025-06-24
Github Stars
0.03K

How to Install Comfyui CoTracker Node

Install this extension via the ComfyUI Manager by searching for Comfyui CoTracker Node
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfyui CoTracker Node 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

CoTracker Point Tracking Description

Facilitates precise multi-point tracking in videos using CoTracker model for motion analysis.

CoTracker Point Tracking:

The CoTrackerNode is designed to facilitate advanced point tracking within video sequences, leveraging the capabilities of the CoTracker model developed by Facebook Research. This node is particularly useful for applications requiring precise tracking of multiple points across frames, such as motion analysis, object tracking, and video editing. By utilizing sophisticated algorithms, the CoTrackerNode can handle complex tracking scenarios, ensuring high accuracy and reliability. It processes video data to identify and track points of interest, providing insights into their movement and visibility over time. This node is essential for AI artists and developers looking to integrate robust tracking functionalities into their projects, offering a seamless way to analyze motion and extract meaningful data from video content.

CoTracker Point Tracking Input Parameters:

tracking_mask

The tracking_mask is an optional parameter that allows you to specify a mask for grid coordinates. This mask can be used to focus the tracking process on specific areas of the video, potentially improving performance by ignoring irrelevant regions. It is particularly useful when you want to track points within a defined area, ensuring that the tracking algorithm concentrates its resources where they are most needed.

confidence_threshold

The confidence_threshold parameter is a floating-point value that determines the minimum confidence level required for a point to be considered valid. It ranges from 0.0 to 1.0, with a default value of 0.90. This parameter helps filter out points with low confidence, ensuring that only reliable tracking data is used in the analysis. Adjusting this threshold can impact the accuracy and robustness of the tracking results.

min_distance

The min_distance parameter is an integer that specifies the minimum distance between tracking points. It ranges from 0 to 500, with a default value of 30. This parameter helps prevent the tracking of points that are too close to each other, which can lead to inaccuracies and overlapping tracks. By setting an appropriate minimum distance, you can ensure that the tracked points are distinct and well-distributed across the video frames.

force_offload

The force_offload parameter is a boolean option that, when set to true, forces the offloading of certain processes to manage memory usage effectively. This can be particularly useful when working with large video files or limited hardware resources, as it helps prevent out-of-memory errors and ensures smooth operation.

enable_backward

The enable_backward parameter is a boolean option that, when enabled, allows the tracking algorithm to perform backward tracking. This can enhance the accuracy of the tracking results by considering both forward and backward motion, providing a more comprehensive analysis of point trajectories.

CoTracker Point Tracking Output Parameters:

tracking_results

The tracking_results output is a string that contains the results of the point tracking process. It provides detailed information about the tracked points, including their positions and visibility across frames. This output is crucial for understanding the movement patterns and behaviors of the tracked points, enabling further analysis and interpretation.

image_with_results

The image_with_results output is an image that visually represents the tracking results. It overlays the tracked points onto the original video frames, allowing you to see the tracking in action. This visual output is valuable for verifying the accuracy of the tracking process and for presenting the results in a clear and intuitive manner.

CoTracker Point Tracking Usage Tips:

  • To optimize performance and avoid out-of-memory errors, consider lowering the grid_size if you encounter issues with large video files.
  • Use the confidence_threshold parameter to filter out unreliable tracking points, ensuring that only high-confidence data is used in your analysis.
  • Adjust the min_distance parameter to prevent overlapping tracks and ensure that the tracked points are well-distributed across the video frames.

CoTracker Point Tracking Common Errors and Solutions:

Failed to load CoTracker model

  • Explanation: This error occurs when the CoTracker model cannot be loaded, possibly due to incorrect model type or network issues.
  • Solution: Ensure that the model type specified is correct and that you have a stable internet connection to download the model. Check for any typos in the model type and try reloading the node.

At least {self.model.step+1} frames are required to perform tracking

  • Explanation: This error indicates that the video provided does not have enough frames to perform tracking.
  • Solution: Ensure that your video input contains more frames than the required minimum. Consider using a longer video or adjusting the model's step size if possible.

No points meet the confidence criteria

  • Explanation: This warning suggests that none of the tracked points have a confidence level above the specified threshold.
  • Solution: Lower the confidence_threshold to include more points in the tracking results, or verify that the input data is suitable for tracking.

CoTracker Point Tracking Related Nodes

Go back to the extension to check out more related nodes.
Comfyui CoTracker Node
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.

CoTracker Point Tracking