Visit ComfyUI Online for ready-to-use ComfyUI environment
Versatile node for visualizing coordinates on images or canvases in ComfyUI, plotting specified points with flexibility.
CoordinatePlotter is a versatile node designed for visualizing coordinates on images or blank canvases within the ComfyUI environment. Its primary function is to plot specified points on an image, which can be particularly useful for tasks such as object tracking, annotation, or any application requiring visual representation of spatial data. The node allows you to input coordinates in a JSON format and offers flexibility in terms of the shape, size, and color of the plotted points. Whether you are working with existing images or creating new visualizations from scratch, CoordinatePlotter provides a straightforward and efficient way to overlay coordinate data, enhancing your ability to analyze and interpret spatial information.
This parameter accepts a JSON string representing the coordinates of positive points to be plotted. Each point should be defined with x and y values, such as [{"x": 63, "y": 782}]. These points are typically used to indicate areas of interest or focus within the image. The default value is an empty string, meaning no points will be plotted unless specified.
Similar to positive_points, this parameter takes a JSON string for negative points, which might represent areas to avoid or exclude. The format is the same, with x and y values, like [{"x": 100, "y": 200}]. The default is an empty string, indicating no negative points unless provided.
This parameter defines a bounding box, which can be specified either as (x_min, y_min, x_max, y_max) or (x, y, width, height). It is compatible with outputs from the KJNodes Points Editor and is used to delineate a specific area within the image. The bounding box helps in focusing the plotting within a defined region.
A binary mask used for object initialization, this parameter helps in defining the areas of the image where plotting should occur. It is particularly useful in scenarios where only certain parts of the image are relevant for visualization.
This parameter specifies the direction of tracking from the annotation frame, with options including forward, backward, and bidirectional. The default is forward, which means the tracking will proceed in the forward direction from the initial frame.
An integer parameter that indicates the frame index where the initial prompt is applied. It has a default value of 0 and a minimum value of 0, ensuring that the annotation starts from a valid frame index.
This integer parameter assigns a unique ID for multi-object tracking, allowing you to differentiate between multiple objects being tracked simultaneously. The default value is 1, with a minimum value of 1, ensuring each object has a distinct identifier.
The output of the CoordinatePlotter node is a tensor representing the image with the plotted coordinates. This output is crucial for visual analysis, as it provides a visual representation of the spatial data overlaid on the image. The tensor format ensures compatibility with further processing or visualization steps within the ComfyUI framework.
bbox parameter to focus plotting within a specific region, which can help in reducing visual clutter and enhancing analysis.point_shape, point_size, and point_color settings to achieve the desired visual effect and clarity for your plotted points.[{"x": 63, "y": 782}].bbox parameter is correctly formatted as either (x_min, y_min, x_max, y_max) or (x, y, width, height). Ensure that all values are numeric and within expected ranges.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.