ImageInsertWithBBox(FaceParsing)
Paste the processed face back where it came from
- bbox
- image_src
- image
- IMAGE
This is the node that closes the loop on every crop-then-process workflow in this pack. You detected a face, cropped it tight, ran it through FaceParse and some smoothing or color work - now you've got a small, processed face image and you need it back inside the original, full-size picture, in exactly the right spot. ImageInsertWithBBox does that paste, using the same box that produced the crop in the first place to know exactly where it goes.
The inputs that matter
All three required:
- bbox (BBOX) - the same box you cropped with (from ImageCropWithBBox or wherever the crop originated). This is what tells the node where in the destination image to place the insert.
- image_src (IMAGE) - the processed piece you're inserting - your smoothed, color-adjusted, or otherwise modified face crop.
- image (IMAGE) - the destination: the full image you're pasting into, typically the original, uncropped image the face was detected from.
The output is a single IMAGE - the full image with image_src composited in at the location bbox describes.
Where it fits
This is the last step in the standard chain: detect → crop → FaceParse/smooth/adjust → insert back. If your workflow smoothed just the skin inside a mask (FaceParsingResultsParser → GuidedFilter), you'd typically composite that masked result before this step, so what you're inserting here already blends properly at its own edges - this node places the whole crop rectangle, it isn't mask-aware compositing on its own.
Installing it
Bundled with the whole pack:
- ComfyUI Manager - search "comfyui_face_parsing", install, restart.
- Manual -
cd ComfyUI/custom_nodes && git clone https://github.com/Ryuukeisyou/comfyui_face_parsing.git, restart ComfyUI.
No models or extra dependencies - pure image compositing.
Common issues
Because this pastes the full rectangle back rather than blending along a soft mask edge, a visible seam at the crop boundary is the thing to watch for - especially if you ran color adjustments (ColorAdjust) on the crop that shifted its tone relative to the untouched surroundings. If the composite looks like an obvious edit, that's usually a color-matching problem from an earlier step (fix it with ColorAdjust before this node, not after) rather than something to fix here. And as with any bbox-based node in this pack, make sure the box you insert with is the exact one you cropped with - a box that's been resized (BBoxResize) or padded differently between the crop and the insert will place the image in the wrong spot or at the wrong size.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| bbox | BBOX | — | |
| image_src | IMAGE | — | |
| image | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |