Face fusion/Face Coverage/换脸、面部覆盖
5.0
1 reviewsDescription
这个工作流主要功能就是把源图像的脸放到目标图像上并让它们融合,这是一种覆盖而不是重绘。它可能融合效果不好,但是一定像,因为这本就是原来的脸。
图像的选择:
1.目标图像需要尽量与源图像保持相同的角度,这很重要,我无法通过任何方法解决角度不同的问题。
2.图像尽量不要选择多人物的,这样会让检测节点失效,尽管我已经尽量避免这方面的错误。
PS:这其中我想还有许多的改进空间,比如边缘重绘部分的遮罩宽度,我在过去经常使用的方法是利用yolo裁剪的面部box的边长做线性的公式计算来稳定这个宽度,但是也常常有错漏,所以这次我没那么做。这会导致一些小问题,但也许能让下载并使用我的工作流的人能够好好研究下它而不是依赖全自动而完全不去思考,没有任何贡献,我可不是什么赛博菩萨。
还有很多很多的问题,我就不一一展开了,欢迎大家讨论,我需要大家一同把这个工作流做得更完善。
Sorry, my English is not good, this comment is from web translation.
The main function of this workflow is to place the face of the source image into the target image (this is an overlay, not a redraw). After this, the edges of the stitching are redrawn, so that the target image has a face of the source image.It may not blend well, but it must be like, because this is the original face.
Image Selection:
1. The target image needs to be at the same angle as the source image as much as possible, which is important, and I can't solve the problem of different angles by any method.
2. Try not to select multiple characters in the image, as this will invalidate the detection node, although I have tried to avoid errors in this regard.
Among them, I think there are many improvements, such as the mask width of the edge redrawing part. The method I used to use in the past was to use the edge length of the face box cropped by yolo to do a linear formula calculation to stabilize this width, but there are often mistakes, so I did not do it this time.This can lead to some minor issues, but it may allow people who download and use my workflow to study it well instead of relying on full automation and not thinking at all, without any contribution, I am not a bodhisattva.
There are still a lot of questions, I will not open them together, welcome everyone to discuss, I need you to work together to improve this workflow.
Discussion
(No comments yet)
Loading...
Reviews
No reviews yet
Versions (1)
- latest (a year ago)
Node Details
Primitive Nodes (21)
Anything Everywhere3 (1)
DF_Text_Box (2)
FaceShaper (1)
FaceShaperModels (1)
GetNode (7)
Note (4)
Prompts Everywhere (1)
Seed (rgthree) (1)
SetNode (3)
Custom Nodes (54)
ComfyUI
- CheckpointLoaderSimple (1)
- LoadImage (2)
- ControlNetLoader (1)
- CLIPTextEncode (2)
- CLIPVisionLoader (1)
- LoraLoader (1)
- CLIPSetLastLayer (1)
- SolidMask (1)
- MaskComposite (1)
- SaveImage (1)
- PreviewImage (2)
- easy imageSize (2)
- easy humanSegmentation (1)
- SimpleMath+ (1)
- UltralyticsDetectorProvider (1)
- DetailerForEachDebug (1)
- ImpactSimpleDetectorSEGS (3)
- SAMLoader (1)
- ToBasicPipe (1)
- DetailerForEachDebugPipe (1)
- MaskToSEGS (1)
- ImpactSEGSOrderedFilter (2)
- SEGSPreview (2)
- SegsToCombinedMask (1)
- ApplyInstantIDAdvanced (1)
- InstantIDModelLoader (1)
- InstantIDFaceAnalysis (1)
- LayerUtility: CropByMask V2 (2)
- LayerUtility: RestoreCropBox (1)
- IPAdapterAdvanced (1)
- IPAdapterUnifiedLoaderFaceID (1)
- FaceAlign (1)
- FaceAnalysisModels (1)
- FaceWarp (2)
- GrowMaskWithBlur (4)
- ReActorFaceSwap (1)
- Text Parse A1111 Embeddings (2)
- Masks Subtract (2)
- Masks Add (1)
Model Details
Checkpoints (1)
DreamShaper_XL_V21_T.safetensors
LoRAs (1)
XL_Pale_SkinV1.safetensors