Nodes/ComfyUI_Eclipse/SEGS Preview Simple
ComfyUI Node

SEGS Preview Simple

The no-fiddling way to eyeball your detailer segments

By r-vageΒ·Created 10 months agoΒ·Updated a day agoΒ· 31
SEGS Preview Simple
  • segs
  • fallback_image_opt
  • IMAGE

If SEGS Preview is the full toolbox, SEGS Preview Simple is the one you'll actually reach for nine times out of ten. It does exactly one thing: take Impact Pack SEGS data and show you each segment as a cropped image with the mask applied as transparency. No alpha slider, no padding control, no second output - just plug in, run, look.

That's the whole appeal, and it's a real one. When you're mid-workflow trying to figure out whether a detailer is cropping faces too tight or catching background, you don't want to think about settings. You want to see the segments. This node's defaults (alpha masking on at a floor of 0.2, no crop padding) are the sensible middle ground that works for most detection setups, which is why the author shipped it as the "Simple" sibling rather than just a mode flag.

How it works

Same machinery as its bigger brother: it walks the SEGS structure, crops each segment by its crop_region, uses the segment mask to cut out the background, and writes each result as a temp preview. The node is an output node, so the crops also land in ComfyUI's temp directory under a randomized prefix. Under the hood it's basically SEGS Preview with alpha_mode pinned on, min_alpha fixed at 0.2, and crop_padding set to zero - the author removed the knobs so you don't have to care.

Inputs are blessedly few:

  • segs - the SEGS data from any detection or segmentation node (Impact Pack's SEGS to Anything, a FaceDetailer's segs output, etc.).
  • fallback_image_opt - optional, but wire it anyway. It's the source image used to crop from when a segment has no cropped image of its own.

The single IMAGE output is a list of per-segment crops with alpha. Feed it into a save node, a preview, or any per-face downstream step.

Where it fits

This is a debugging and inspection node, not a pipeline workhorse - you slot it in when a detailing loop misbehaves, look at the segments, then either fix the detector or delete the node. It's also handy for verifying a SEGS to Mask or mask round-trip actually preserved your regions. If you find yourself wanting a clean single crop of the whole region instead of individual segments, that's what the full SEGS Preview node's tight_crop output is for.

Installing it

Part of ComfyUI_Eclipse, no extra dependencies. ComfyUI Manager β†’ search "ComfyUI_Eclipse" β†’ Install and restart, or:

git clone https://github.com/r-vage/ComfyUI_Eclipse custom_nodes/ComfyUI_Eclipse

You'll still want Impact Pack installed because SEGS is Impact Pack's type, and this node lives at the seam between the two packs.

Gotchas

The one real trap is the fallback image: leave fallback_image_opt unconnected and any segment lacking an embedded crop renders nothing instead of a crop-from-source. It's optional in the schema but it should basically always be connected. And as with everything in this pack post-v4.0.0, if a workflow was built on the older RvTools-era node IDs, expect red nodes until you run the pack's workflow migration tool - brand-new workflows never hit that.

CategoryπŸŒ’ Eclipse/ Image/Save & Preview

Inputs (2)

NameTypeDefaultDescription
segsSEGSSEGS data from detection/segmentation nodes.
fallback_image_optoptIMAGESource image to crop from. Required when SEGS has no cropped images.

Outputs (1)

NameTypeDescription
IMAGEIMAGEList of per-segment cropped images (with alpha masking).