ComfyUI Node
Draw Numbered BBoxes
Draws bounding boxes with legible number labels (optionally left to right) and returns the boxes in drawn order.
Draw Numbered BBoxes
- image
- bboxes
- image
- bboxes
- labels_json
◄sortas_given►
◄start_index1►
◄line_width0►
◄font_scale0.000►
◄color#ff2020►
◄show_scorefalse►
Category🎨 DockerCPU API/Face
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| bboxes | BOUNDING_BOX | — | |
| sort | COMBO | as_given | as_given keeps the input order; left_to_right orders by box centre-x. |
| start_index | INT | 10–100000 | — |
| line_width | INT | 00–64 | 0 = auto (0.3% of the short edge, min 2). |
| font_scale | FLOAT | 0.0000–0.5 | Label height as a fraction of the short edge. 0 = auto (0.025, min 14 px). |
| color | STRING | #ff2020 | Box and label colour (hex or CSS name). |
| show_score | BOOLEAN | false | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| bboxes | BOUNDING_BOX | — |
| labels_json | STRING | — |