2025-04-11 10:23:53 +08:00
2025-04-11 10:23:53 +08:00
2025-04-11 10:23:53 +08:00
2025-04-11 10:23:53 +08:00
2025-04-11 10:23:53 +08:00
2025-04-11 10:23:53 +08:00
2025-04-10 10:26:29 +08:00
2025-04-11 10:23:53 +08:00
2025-04-11 10:23:53 +08:00
2025-04-10 10:26:29 +08:00
2025-04-11 10:23:53 +08:00
2025-04-11 10:23:53 +08:00
2025-04-11 10:23:53 +08:00
2025-04-11 10:23:53 +08:00
2025-04-11 10:23:53 +08:00

中文 | English

ComfyUI Nodes for Portrait Processing

Currently includes the following nodes:

  • Image face alignment (frontal);
  • Face detection and cropping, with optional alignment, adjustable crop area size, and angle;
  • One-click generation of various passport photos;
  • Photo enhancement, including brightness, saturation, sharpening, and skin smoothing.

Examples:

📣 Updates

[2025-04-11] ⚒️: Released version v1.0.0.

Installation

cd ComfyUI/custom_nodes
git clone https://github.com/billwuhao/ComfyUI_PortraitTools.git
cd ComfyUI_PortraitTools
pip install -r requirements.txt

# python_embeded
./python_embeded/python.exe -m pip install -r requirements.txt

Model Download

If you are using the ComfyUI-ReActor and ComfyUI-RMBG nodes, you do not need to download the models, as they are shared.

Otherwise, download detection_Resnet50_Final.pth and place it in the ComfyUI\models\facedetection folder. The models for ComfyUI-RMBG will be automatically downloaded to the ComfyUI\models\RMBG folder.

Acknowledgements

Thanks to the following projects:

S
Description
No description provided
Readme Apache-2.0
27 MiB
Languages
Python 100%