Visit ComfyUI Online for ready-to-use ComfyUI environment
Facial feature segmentation node leveraging Mediapipe for precise AI-generated art masks.
The LayerMask: MediapipeFacialSegment node is designed to facilitate the segmentation of facial features within an image using the Mediapipe library. This node is particularly useful for AI artists who want to isolate specific facial components such as eyes, eyebrows, lips, and teeth for further processing or artistic manipulation. By leveraging Mediapipe's advanced facial landmark detection, this node can accurately identify and mask these features, allowing for precise and detailed edits. The primary goal of this node is to provide a streamlined and efficient way to create masks for various facial features, enhancing the creative possibilities for AI-generated art.
This parameter accepts an image input that will be processed to detect and segment facial features. The image should be in a format compatible with the node's processing capabilities, typically an RGB image.
This boolean parameter determines whether the left eye should be included in the segmentation mask. If set to true, the left eye will be segmented; otherwise, it will be ignored. The default value is true.
This boolean parameter controls the inclusion of the left eyebrow in the segmentation mask. When set to true, the left eyebrow will be segmented; if false, it will be excluded. The default value is true.
This boolean parameter specifies whether the right eye should be segmented. If true, the right eye will be included in the mask; if false, it will be omitted. The default value is true.
This boolean parameter determines whether the right eyebrow should be part of the segmentation mask. Setting it to true includes the right eyebrow in the mask, while false excludes it. The default value is true.
This boolean parameter indicates whether the lips should be segmented. If set to true, the lips will be included in the mask; otherwise, they will be ignored. The default value is true.
This boolean parameter controls the segmentation of the teeth. When true, the teeth will be included in the mask; if false, they will be excluded. The default value is true.
This output parameter provides the original image with the segmented facial features applied. It allows you to see the result of the segmentation process directly on the input image.
This output parameter provides the segmentation mask, which is a binary image where the segmented facial features are highlighted. This mask can be used for further processing or as a reference for artistic modifications.
© Copyright 2024 RunComfy. All Rights Reserved.