ComfyUI Node: FaceShaper Load FaceAlignment

Authored by fssorc

Created

Updated

157 stars

Category

FaceShaper

Inputs

face_detector
  • blazeface
  • blazeface_back_camera
  • sfd
landmarkrunner_device
  • CPU
  • CUDA
  • ROCM
  • CoreML
  • torch_gpu
face_detector_device
  • cuda
  • cpu
  • mps
face_detector_dtype
  • fp16
  • bf16
  • fp32
keep_model_loaded BOOLEAN

Outputs

FSMCROPPER

Extension: ComfyUI_FaceShaper

Match two faces' shape before using other face swap nodes Face-swapping tools typically only replace facial features during the swap, without altering the facial shape. When there is a significant difference in facial shape between the target person and the person in the original photo, the result of the face swap is less satisfactory. This project is a small script that can first liquefy and stretch the face in the original photo according to the horizontal and vertical proportions of the target person's facial contour. The resulting image can be used as input for other face-swapping nodes.

Authored by fssorc

Run ComfyUI workflows in the Cloud!

No downloads or installs are required. Pay only for active GPU usage, not idle time. No complex setups and dependency issues

Learn more