ComfyUI Node
CV Draw Points
Debug helper: marks each point with a circle, square, cross, star, diamond or triangle. Connect the labels from the 'CV K-Means Points' blueprint to color the points by cluster (the same label always gets the same color). When two point sets go onto the SAME image, give them different SHAPES or radii, not just different colors - shape is the half of the distinction that survives colour blindness, greyscale and a busy photo underneath. None/empty points pass the image through unchanged.
CV Draw Points
- source
- points
- labels
- image
◄marker_radius5►
◄color(0, 255, 0)►
◄marker_shapefilled circle►
Categoryimage/CV/points
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| source | COMFY_MATCHTYPE_V3 | Image or mask to draw on (a copy is made). Accepts a ComfyUI IMAGE/MASK directly (frame 0 of a batch) or an NPARRAY. Arithmetic ops (add, multiply, etc.) process the full IMAGE batch when both inputs have the same batch size. | |
| points | NPARRAY | Nx1x2 points to mark (or None -> passthrough). | |
| marker_radius | INT | 51–128 | Radius of each filled circle marker, in pixels. |
| color | STRING | (0, 255, 0) | Color as a single value (broadcast to all channels) or BGR tuple, e.g. '255' or '(0, 255, 0)'. Shorter tuples are zero-padded; longer tuples are truncated. Ignored when labels are connected. |
| labelsopt | NPARRAY | (N,) integer labels: one color per cluster. | |
| marker_shapeopt | COMBO | filled circle | Marker shape. Two point sets drawn on one image in two colours are the same picture to a colour-blind viewer - give the second set a different shape (or radius) and the distinction survives. 'filled circle' is the original marker. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | COMFY_MATCHTYPE_V3 | Same format as the image input. |