ComfyUI Node
CV Array To Numbers
Emits an array's values as a ComfyUI LIST of FLOATs - the bridge into the helper packs. Downstream executes once per value, which is how an Inspire foreach iterates detections, and 'Basic data handling: convert Data List to LIST' turns it into that pack's whole sort/filter/min/max surface. For arrays, not images: keep the count small (each value is a separate execution). 'CV Numbers To Array' is the return leg; to iterate whole ROWS as arrays use 'CV Unstack Batch' instead.
CV Array To Numbers
- nparray
- value
- count
◄column-1►
◄max_items1024►
Categoryimage/CV/low-level
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| nparray | NPARRAY | Array to read. A 2-D array is read row by row unless 'column' picks one column out of it. | |
| column | INT | -1-1–4095 | For a 2-D array: which column to emit (-1 = every value, row by row). Column 4 of a detection table is its score, so this is how a score column reaches the list nodes. |
| max_itemsopt | INT | 10241–100000 | Safety cap on the number of values emitted. Each one is a separate downstream execution, so a whole image here would run the rest of the graph a million times. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| value | FLOAT | One FLOAT per value, in order. Cast with 'Basic data handling: to INT' if a consumer needs an integer - INT and FLOAT sockets do not auto-coerce. |
| count | INT | How many values were emitted (after the cap). |