ComfyUI Node
CV Draw Rays
Debug helper: draws a line from a shared origin to each point - render the FINAL detected bearings on top of the raw evidence (build the endpoints from angles with 'CV Polar To Points'). Connect labels to color each ray by cluster, matching 'CV Draw Points'. None/empty points pass the image through unchanged.
CV Draw Rays
- source
- points
- labels
- image
◄origin_x0.00►
◄origin_y0.00►
◄thickness2►
◄color(0, 255, 255)►
Categoryimage/CV/points
Inputs (7)
| 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 ray endpoints. | |
| origin_x | FLOAT | 0.00-1000000–1000000 | X pixel coordinate of the reference origin (e.g. the dial center, anchor, or ray start). |
| origin_y | FLOAT | 0.00-1000000–1000000 | Y pixel coordinate of the reference origin (e.g. the dial center, anchor, or ray start). |
| thickness | INT | 21–64 | Ray line width in pixels. |
| color | STRING | (0, 255, 255) | Color as a single value (broadcast to all channels) or BGR tuple, e.g. '255' or '(0, 255, 255)'. Shorter tuples are zero-padded; longer tuples are truncated. Ignored when labels are connected. |
| labelsopt | NPARRAY | (N,) integer labels: one color per cluster. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | COMFY_MATCHTYPE_V3 | Same format as the image input. |