ComfyUI Node
Portrait Segment (NH)
A ComfyUI node in NH-Nodes/Vision with 14 inputs and 3 outputs.
Portrait Segment (NH)
- image
- mask
- cutout_rgba
- mask_image
◄facetrue►
◄necktrue►
◄hairtrue►
◄eyestrue►
◄lipstrue►
◄nosetrue►
◄eyebrowstrue►
◄earstrue►
◄mouth_interiorfalse►
◄mask_expand0►
◄mask_blur0►
◄fill_holestrue►
◄devicecuda►
CategoryNH-Nodes/Vision
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| face | BOOLEAN | true | — |
| neck | BOOLEAN | true | — |
| hair | BOOLEAN | true | — |
| eyes | BOOLEAN | true | — |
| lips | BOOLEAN | true | — |
| nose | BOOLEAN | true | — |
| eyebrows | BOOLEAN | true | — |
| ears | BOOLEAN | true | — |
| mouth_interior | BOOLEAN | false | — |
| mask_expand | INT | 0-64–64 | Grow (+) or shrink (-) the mask by N pixels. |
| mask_blur | INT | 00–64 | Feather the mask edge by N pixels. |
| fill_holes | BOOLEAN | true | Fill enclosed holes. Off for garments by default: an arm across the torso would be filled in. |
| device | COMBO | cuda | 2 options: cuda, cpu |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |
| cutout_rgba | IMAGE | — |
| mask_image | IMAGE | — |