ComfyUI Node
Batch Router
Combines reality, identity and count checks into the one folder a picture should go to.
Batch Router
- target_dir
- passed
- failed
- report
◄pass_dir►
◄fail_dir►
◄combineall►
◄label_areality►
◄label_bidentity►
◄label_cextra►
◄count_min1►
◄count_max1►
◄invertfalse►
◄gate_a—►
◄gate_b—►
◄gate_c—►
◄count—►
◄report_in►
CategoryFVM Tools/Batch
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| pass_dir | STRING | Folder for pictures that clear every gate. | |
| fail_dir | STRING | Folder for pictures that fail any gate. | |
| combine | COMBO | all | all: every connected gate must pass. any: one is enough. |
| label_a | STRING | reality | — |
| label_b | STRING | identity | — |
| label_c | STRING | extra | — |
| count_min | INT | 10–100 | Lowest acceptable value on the count input — e.g. 1 face. Ignored when count is unconnected. |
| count_max | INT | 10–100 | Highest acceptable value on the count input. 1/1 means 'exactly one person'. |
| invert | BOOLEAN | false | Swap the two folders — useful to collect rejects. |
| gate_aopt | BOOLEAN | — | |
| gate_bopt | BOOLEAN | — | |
| gate_copt | BOOLEAN | — | |
| countopt | INT | A count to bound, e.g. PersonSelector's face_count. | |
| report_inopt | STRING | Upstream report, prepended to this node's own. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| target_dir | STRING | — |
| passed | BOOLEAN | — |
| failed | BOOLEAN | — |
| report | STRING | — |