Nodes/NH-Nodes/Portrait Segment (NH)
ComfyUI Node

Portrait Segment (NH)

A ComfyUI node in NH-Nodes/Vision with 14 inputs and 3 outputs.

By jetthuangai·Created 5 months ago·Updated about 16 hours ago· 6
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)

NameTypeDefaultDescription
imageIMAGE
faceBOOLEANtrue
neckBOOLEANtrue
hairBOOLEANtrue
eyesBOOLEANtrue
lipsBOOLEANtrue
noseBOOLEANtrue
eyebrowsBOOLEANtrue
earsBOOLEANtrue
mouth_interiorBOOLEANfalse
mask_expandINT0-64–64Grow (+) or shrink (-) the mask by N pixels.
mask_blurINT00–64Feather the mask edge by N pixels.
fill_holesBOOLEANtrueFill enclosed holes. Off for garments by default: an arm across the torso would be filled in.
deviceCOMBOcuda2 options: cuda, cpu

Outputs (3)

NameTypeDescription
maskMASK
cutout_rgbaIMAGE
mask_imageIMAGE