ComfyUI Node
CV Draw Ellipses
Debug helper: draws ellipses given as (cx, cy, semi_axis_a, semi_axis_b, angle_deg) rows - the layout 'CV Edge Drawing' emits (a circle is simply a == b). A 4-column input is accepted as an axis-aligned ellipse (angle 0). None/empty passes the image through unchanged and count=0.
CV Draw Ellipses
- source
- ellipses
- labels
- image
- count
◄thickness2►
◄color(0, 255, 0)►
◄draw_centerstrue►
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. | |
| ellipses | NPARRAY | Nx5 (cx, cy, semi_axis_a, semi_axis_b, angle_deg) or Nx4 (angle assumed 0); 'OpenCV Edge Drawing' plugs in directly. | |
| thickness | INT | 2-1–64 | Outline thickness; -1 fills the ellipses. |
| 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. |
| draw_centers | BOOLEAN | true | Also mark each center with a small dot. |
| labelsopt | NPARRAY | (N,) integer labels: one color per cluster. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | COMFY_MATCHTYPE_V3 | Same format as the image input. |
| count | INT | How many ellipses were drawn - branch on it with if/else for the nothing-found case. |