├── FaceSwapExample.json ├── LICENSE ├── README.md ├── TestResult.png ├── __init__.py ├── andy.png ├── face_alignment ├── LICENSE ├── __init__.py ├── api.py ├── detection │ ├── __init__.py │ ├── blazeface │ │ ├── __init__.py │ │ ├── blazeface_detector.py │ │ ├── detect.py │ │ ├── net_blazeface.py │ │ └── utils.py │ ├── core.py │ ├── dlib │ │ ├── __init__.py │ │ └── dlib_detector.py │ ├── folder │ │ ├── __init__.py │ │ └── folder_detector.py │ └── sfd │ │ ├── __init__.py │ │ ├── bbox.py │ │ ├── detect.py │ │ ├── net_s3fd.py │ │ └── sfd_detector.py ├── folder_data.py └── utils.py ├── liveportrait ├── config │ ├── __init__.py │ ├── base_config.py │ ├── inference_config.py │ └── models.yaml ├── modules │ ├── __init__.py │ ├── appearance_feature_extractor.py │ ├── convnextv2.py │ ├── dense_motion.py │ ├── motion_extractor.py │ ├── spade_generator.py │ ├── stitching_retargeting_network.py │ ├── util.py │ └── warping_network.py └── utils │ ├── __init__.py │ ├── camera.py │ ├── crop.py │ ├── cropper.py │ ├── face_analysis_diy.py │ ├── filter.py │ ├── helper.py │ ├── landmark_runner.py │ ├── resources │ └── mask_template.png │ ├── retargeting_utils.py │ └── timer.py ├── media_pipe ├── __init__.py ├── face_landmark.py ├── mp_models │ ├── blaze_face_short_range.tflite │ └── face_landmarker_v2_with_blendshapes.task └── mp_utils.py ├── requirements.txt ├── screenshot.png ├── workflow.json ├── workflowV2.png └── zhouxingchi.jpg /FaceSwapExample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/FaceSwapExample.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/README.md -------------------------------------------------------------------------------- /TestResult.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/TestResult.png -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/__init__.py -------------------------------------------------------------------------------- /andy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/andy.png -------------------------------------------------------------------------------- /face_alignment/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/LICENSE -------------------------------------------------------------------------------- /face_alignment/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/__init__.py -------------------------------------------------------------------------------- /face_alignment/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/api.py -------------------------------------------------------------------------------- /face_alignment/detection/__init__.py: -------------------------------------------------------------------------------- 1 | from .core import FaceDetector -------------------------------------------------------------------------------- /face_alignment/detection/blazeface/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/blazeface/__init__.py -------------------------------------------------------------------------------- /face_alignment/detection/blazeface/blazeface_detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/blazeface/blazeface_detector.py -------------------------------------------------------------------------------- /face_alignment/detection/blazeface/detect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/blazeface/detect.py -------------------------------------------------------------------------------- /face_alignment/detection/blazeface/net_blazeface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/blazeface/net_blazeface.py -------------------------------------------------------------------------------- /face_alignment/detection/blazeface/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/blazeface/utils.py -------------------------------------------------------------------------------- /face_alignment/detection/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/core.py -------------------------------------------------------------------------------- /face_alignment/detection/dlib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/dlib/__init__.py -------------------------------------------------------------------------------- /face_alignment/detection/dlib/dlib_detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/dlib/dlib_detector.py -------------------------------------------------------------------------------- /face_alignment/detection/folder/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/folder/__init__.py -------------------------------------------------------------------------------- /face_alignment/detection/folder/folder_detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/folder/folder_detector.py -------------------------------------------------------------------------------- /face_alignment/detection/sfd/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/sfd/__init__.py -------------------------------------------------------------------------------- /face_alignment/detection/sfd/bbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/sfd/bbox.py -------------------------------------------------------------------------------- /face_alignment/detection/sfd/detect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/sfd/detect.py -------------------------------------------------------------------------------- /face_alignment/detection/sfd/net_s3fd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/sfd/net_s3fd.py -------------------------------------------------------------------------------- /face_alignment/detection/sfd/sfd_detector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/detection/sfd/sfd_detector.py -------------------------------------------------------------------------------- /face_alignment/folder_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/folder_data.py -------------------------------------------------------------------------------- /face_alignment/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/face_alignment/utils.py -------------------------------------------------------------------------------- /liveportrait/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /liveportrait/config/base_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/config/base_config.py -------------------------------------------------------------------------------- /liveportrait/config/inference_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/config/inference_config.py -------------------------------------------------------------------------------- /liveportrait/config/models.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/config/models.yaml -------------------------------------------------------------------------------- /liveportrait/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /liveportrait/modules/appearance_feature_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/modules/appearance_feature_extractor.py -------------------------------------------------------------------------------- /liveportrait/modules/convnextv2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/modules/convnextv2.py -------------------------------------------------------------------------------- /liveportrait/modules/dense_motion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/modules/dense_motion.py -------------------------------------------------------------------------------- /liveportrait/modules/motion_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/modules/motion_extractor.py -------------------------------------------------------------------------------- /liveportrait/modules/spade_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/modules/spade_generator.py -------------------------------------------------------------------------------- /liveportrait/modules/stitching_retargeting_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/modules/stitching_retargeting_network.py -------------------------------------------------------------------------------- /liveportrait/modules/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/modules/util.py -------------------------------------------------------------------------------- /liveportrait/modules/warping_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/modules/warping_network.py -------------------------------------------------------------------------------- /liveportrait/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /liveportrait/utils/camera.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/utils/camera.py -------------------------------------------------------------------------------- /liveportrait/utils/crop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/utils/crop.py -------------------------------------------------------------------------------- /liveportrait/utils/cropper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/utils/cropper.py -------------------------------------------------------------------------------- /liveportrait/utils/face_analysis_diy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/utils/face_analysis_diy.py -------------------------------------------------------------------------------- /liveportrait/utils/filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/utils/filter.py -------------------------------------------------------------------------------- /liveportrait/utils/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/utils/helper.py -------------------------------------------------------------------------------- /liveportrait/utils/landmark_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/utils/landmark_runner.py -------------------------------------------------------------------------------- /liveportrait/utils/resources/mask_template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/utils/resources/mask_template.png -------------------------------------------------------------------------------- /liveportrait/utils/retargeting_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/utils/retargeting_utils.py -------------------------------------------------------------------------------- /liveportrait/utils/timer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/liveportrait/utils/timer.py -------------------------------------------------------------------------------- /media_pipe/__init__.py: -------------------------------------------------------------------------------- 1 | from .mp_utils import LMKExtractor -------------------------------------------------------------------------------- /media_pipe/face_landmark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/media_pipe/face_landmark.py -------------------------------------------------------------------------------- /media_pipe/mp_models/blaze_face_short_range.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/media_pipe/mp_models/blaze_face_short_range.tflite -------------------------------------------------------------------------------- /media_pipe/mp_models/face_landmarker_v2_with_blendshapes.task: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/media_pipe/mp_models/face_landmarker_v2_with_blendshapes.task -------------------------------------------------------------------------------- /media_pipe/mp_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/media_pipe/mp_utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/requirements.txt -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/screenshot.png -------------------------------------------------------------------------------- /workflow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/workflow.json -------------------------------------------------------------------------------- /workflowV2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/workflowV2.png -------------------------------------------------------------------------------- /zhouxingchi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fssorc/ComfyUI_FaceShaper/HEAD/zhouxingchi.jpg --------------------------------------------------------------------------------