ComfyUI Node
CV Numbers To Array
Collects a ComfyUI LIST of FLOATs back into one NPARRAY - the return leg of 'CV Array To Numbers' and the way results computed in the helper packs (a foreach body, 'Math Expression', a sorted list) re-enter the array world. Reshapes into rows on the way in, so a flat stream of numbers becomes a point set or a matrix.
CV Numbers To Array
- nparray
- count
◄values—►
◄columns0►
◄dtypefloat32►
Categoryimage/CV/low-level
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| values | FLOAT | A ComfyUI list of FLOATs (any node that emits a list, e.g. 'CV Array To Numbers', 'Basic data handling: convert LIST to Data List', an Inspire foreach body). A single value yields a 1-element array. | |
| columns | INT | 00–4096 | Row width. 0 keeps the result 1-D; 2 makes an (N,2) point set, 3 an (N,3) cloud. The value count must divide by it. |
| dtype | COMBO | float32 | Element type of the result. float32 is what most cv2 geometry functions want; int32 for indices/labels. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | The collected array, (N,) or (N, columns). |
| count | INT | Number of rows in the result. |