
Please install it directly from the github repo here: dchatel/comfyui_facetools, the zip file attached to this post just contains the adress of the repo.
comfyui_facetools
These custom nodes provide a rotation aware face extraction, paste back, and various face related masking options.
Full inpainting workflow with two controlnets which allows to get as high as 1.0 denoise strength without messing things up. inputs: insightface: Use the image threshold: minimal confidence score for detection min_size: minimum face size for detection max_size: maximum face size for detection outputs: faces inputs: faces crop_size: size of the square cropped face image crop_factor: enlarge the context around the face by this factor mask_type: simple_square: simple bounding box around the face convex_hull: convex hull based on the face mesh obtained with MediaPipe BiSeNet: occlusion aware face segmentation based on face-parsing.PyTorch outputs: crops: square cropped face images masks: masks for each cropped face warps: 2x3 warp matrix to paste the cropped face back into the original image input: images: this is the original image face crop: cropped face images mask: masks for the cropped faces warp: 2x3 warp matrix works similarly to needs more work, as InsightFace gender classifier isn't very accurate. I made some changes in You will need ComfyUI-Impact-Pack for 名称: comfyuiFacetools_v10.zip 大小 (KB): 0 类型: Archive Pickle 扫描结果: Success Pickle 扫描信息: No Pickle imports 病毒扫描结果: SuccessExample Workflows
Nodes
AlignFaces
Load InsightFacenode
from ComfyUI_IPAdapter_plus
FaceDetails
WarpFacesBack
OrderedFaceFilter
ImpactSEGSOrderedfilter
GenderFaceFilter
MergeWarps
FaceDetailer
and WarpFacesBack
since I've created this one, so it probably doesn't work anymore. Needs more testing and more work.Installation
Load InsightFace
node and comfyui_controlnet_aux for MediaPipe library (which is required for convex_hull masks) and MediaPipe Face Mesh
node if you want to use that controlnet. You will also need to download the BiSeNet model and save it in ComfyUI/models/bisenet
to use occlusion aware masks.描述:
训练词语: