ComfyUI Node
CV DNN Pick Output
Selects one output array from the list produced by 'CV DNN Forward All' - by position ('by index', 'first', 'last'), by layer NAME ('by name', matched against Forward All's output_names, so output ORDER stops mattering), or by shape heuristic ('3-D detection head' picks the first (1, N, C) tensor, '4-D prototype map' the first (1, C, H, W) tensor that is not a (..., 1, 4) box tensor). Generic plumbing node: chain one per output you need into the matching decoder input, or into 'Inspect CV Data'.
CV DNN Pick Output
- outputs
- output
- index
◄modeby index►
◄index0►
◄output_names—►
◄name►
Categoryimage/CV/dnn
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| outputs | NPARRAY | The 'outputs' list from 'CV DNN Forward All'. | |
| mode | COMBO | by index | How to pick: 'by index' uses the index widget; 'by name' matches the name widget against the connected output_names; the shape heuristics pick the first output with that number of dimensions, except '4-D map (highest resolution)', which picks the 4-D output with the largest H*W (the full-res flow of a multi-scale model, whatever order the engine lists the layers in); 'first'/'last' pick the ends. |
| index | INT | 00–63 | Position to pick when mode = 'by index' (0-based, matching the output_names order). |
| output_namesopt | STRING | The 'output_names' STRING from 'CV DNN Forward All' (needed for mode = 'by name'). | |
| nameopt | STRING | Layer name to pick when mode = 'by name'. Exact match first, then substring match. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| output | NPARRAY | The picked output array. |
| index | INT | The position the array was picked from (useful when a name or shape heuristic did the picking). |