ComfyUI Node: FaceShaper Cropper

Authored by fssorc

Created

Updated

159 stars

Category

FaceShaper

Inputs

cropper FSMCROPPER
source_image IMAGE
dsize INT
scale FLOAT
vx_ratio FLOAT
vy_ratio FLOAT
face_index INT
face_index_order
  • large-small
  • left-right
  • right-left
  • top-bottom
  • bottom-top
  • small-large
  • distance-from-retarget-face
rotate BOOLEAN

Outputs

IMAGE

CROPINFO

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