Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance AI art with custom facial part coloring based on pose keypoints for detailed and stylized illustrations.
The FacialPartColoringFromPoseKps
node is designed to enhance your AI art projects by colorizing specific facial parts based on pose keypoints. This node takes pose keypoints as input and applies distinct colors to various facial regions such as the eyes, nose, lips, and skin. By leveraging this node, you can create visually appealing and detailed facial illustrations that highlight different facial features with customized colors. This functionality is particularly useful for generating stylized portraits, enhancing character designs, or creating unique visual effects in your AI-generated artwork.
This parameter represents the pose keypoints of the face, which are essential for identifying the locations of various facial parts. The keypoints should be provided in a format that the node can interpret, typically as a list of dictionaries containing the coordinates of facial landmarks. These keypoints guide the node in accurately applying colors to the corresponding facial regions.
The mode
parameter determines how the colors are applied to the facial parts. It accepts two options: "point" and "polygon". In "point" mode, the node will colorize individual keypoints, creating a dotted effect. In "polygon" mode, the node will fill the entire area of each facial part with the specified color, resulting in a more solid and continuous appearance. The default value is "polygon".
This parameter specifies the color to be applied to the skin region of the face. The color should be provided as a string in RGB format, such as "rgb(0, 153, 255)". The default value is "rgb(0, 153, 255)".
This parameter specifies the color to be applied to the left eye region. The color should be provided as a string in RGB format. The default value is "rgb(0, 204, 153)".
This parameter specifies the color to be applied to the right eye region. The color should be provided as a string in RGB format. The default value is "rgb(255, 153, 0)".
This parameter specifies the color to be applied to the nose region. The color should be provided as a string in RGB format. The default value is "rgb(255, 102, 255)".
This parameter specifies the color to be applied to the upper lip region. The color should be provided as a string in RGB format. The default value is "rgb(102, 0, 51)".
This parameter specifies the color to be applied to the inner mouth region. The color should be provided as a string in RGB format. The default value is "rgb(255, 204, 255)".
This parameter specifies the color to be applied to the lower lip region. The color should be provided as a string in RGB format. The default value is "rgb(255, 0, 102)".
The output of this node is an image with the facial parts colorized according to the specified parameters. The image is returned as a tensor, with pixel values normalized between 0 and 1. This output can be directly used in further processing steps or visualized to inspect the colorization results.
© Copyright 2024 RunComfy. All Rights Reserved.