Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates plotting coordinates onto a tensor for AI artists working with image data.
The PlotCoordinates
node is designed to facilitate the plotting of coordinates onto a tensor, which is particularly useful for AI artists working with image data. This node allows you to specify a set of coordinates and adjust their bounding boxes to fit within a given frame, ensuring that the plotted points are accurately represented within the image dimensions. By leveraging this node, you can effectively manage and visualize spatial data, making it easier to manipulate and interpret complex image-based information. The primary goal of this node is to provide a seamless way to convert coordinate data into a visual format that can be further processed or analyzed.
This parameter takes a JSON string representing a list of coordinates. Each coordinate should be an object with x
and y
properties. The coordinates define the points to be plotted on the tensor. The JSON string should be properly formatted to ensure accurate parsing and plotting.
This parameter specifies the height of the image tensor. It determines the vertical dimension of the frame within which the coordinates will be plotted. The value should be a positive integer representing the number of pixels.
This parameter specifies the width of the image tensor. It determines the horizontal dimension of the frame within which the coordinates will be plotted. The value should be a positive integer representing the number of pixels.
This parameter defines the height of the bounding box for each coordinate. It is used to calculate the top-left and bottom-right corners of the bounding box. The value should be a positive integer representing the number of pixels.
This parameter defines the width of the bounding box for each coordinate. It is used to calculate the top-left and bottom-right corners of the bounding box. The value should be a positive integer representing the number of pixels.
This parameter is a list of multipliers that adjust the size of the bounding boxes for each coordinate. If the list length does not match the number of coordinates, it will be extended or truncated accordingly. The multipliers should be positive numbers, with a default value of [1.0]
.
This parameter is a string that can be used to provide additional context or instructions for the plotting process. It can be used to customize the behavior of the node based on specific requirements.
This output parameter is a tensor representing the image with the plotted coordinates. It contains the visual representation of the input coordinates, adjusted according to the specified bounding box dimensions and size multipliers. This tensor can be further processed or analyzed as needed.
coordinates
parameter is a properly formatted JSON string to avoid parsing errors.height
and width
to match the dimensions of your target image.bbox_height
and bbox_width
to control the size of the bounding boxes around each coordinate.size_multiplier
parameter to dynamically scale the bounding boxes based on specific needs.prompt
parameter to provide additional context or instructions for customized plotting behavior.coordinates
parameter contains a JSON string that is not properly formatted.size_multiplier
list does not match the number of coordinates.size_multiplier
list to match the number of coordinates, or let the node automatically extend or truncate the list.height
, width
, bbox_height
, or bbox_width
have negative or zero values.© Copyright 2024 RunComfy. All Rights Reserved.