floyo logobeta logo
Powered by
ThinkDiffusion
floyo logobeta logo
Powered by
ThinkDiffusion

MW-ComfyUI_PortraitTools

15

Last updated
2025-06-15

ComfyUI Portrait Tools is a specialized extension for ComfyUI that facilitates advanced portrait processing, including facial detection, cropping, and photo enhancement. It streamlines the creation of ID photos and offers customizable features for image loading and watermarking.

  • Provides automatic watermarking for both images and videos to protect content.
  • Includes face detection and cropping tools with adjustable parameters for optimal alignment and framing.
  • Enhances photos with features like brightness adjustment, saturation control, and skin smoothing for improved visual quality.

Context

This tool is designed to enhance the capabilities of ComfyUI by providing specific nodes for processing portraits. Its main goal is to simplify tasks related to facial image manipulation, making it easier for users to generate high-quality images suitable for identification purposes and other applications.

Key Features & Benefits

The Portrait Tools extension offers a range of practical functionalities that significantly improve user experience. Automatic watermarking protects original content from unauthorized use, while the face alignment and cropping features ensure that portraits are framed correctly. Additionally, the photo enhancement options allow users to adjust various image attributes, leading to more polished final outputs.

Advanced Functionalities

One of the standout features is the one-click generation of passport photos, which automates a typically tedious process. Users can also customize their image loading paths, allowing for better organization of their files. The tool's face detection capability is particularly sophisticated, offering adjustable crop sizes and angles to accommodate different portrait requirements.

Practical Benefits

By integrating these tools into the ComfyUI workflow, users can achieve greater efficiency and control over their portrait processing tasks. The automatic features reduce the need for manual adjustments, saving time while enhancing the overall quality of the images produced. This results in a more streamlined workflow, allowing users to focus on creative aspects rather than technical hurdles.

Credits/Acknowledgments

This project acknowledges the contributions of @1038lab for their foundational work on the RMBG code utilized in this repository, which is licensed under GPL-3.0. Additional thanks are extended to related projects such as HivisionIDPhotos and ComfyUI-RMBG for their collaborative efforts in developing these tools.