ComfyUI > Nodes > ComfyUI-WanVideoWrapper > Face Mask From Pose Keypoints

ComfyUI Node: Face Mask From Pose Keypoints

Class Name

FaceMaskFromPoseKeypoints

Category
ControlNet Preprocessors/Pose Keypoint Postprocess
Author
kijai (Account age: 2871days)
Extension
ComfyUI-WanVideoWrapper
Latest Updated
2026-05-05
Github Stars
6.41K

How to Install ComfyUI-WanVideoWrapper

Install this extension via the ComfyUI Manager by searching for ComfyUI-WanVideoWrapper
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-WanVideoWrapper in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Face Mask From Pose Keypoints Description

Generate facial mask from pose keypoints for facial feature extraction in video processing and augmented reality.

Face Mask From Pose Keypoints:

The FaceMaskFromPoseKeypoints node is designed to generate a facial mask from pose keypoints, specifically focusing on the facial landmarks extracted from a given set of pose data. This node is particularly useful in applications where facial recognition or facial feature extraction is required, such as in video processing or augmented reality. By leveraging the pose keypoints, it can accurately delineate the facial region, providing a mask that can be used for further processing or analysis. The node's primary goal is to facilitate the extraction of facial features in a structured and efficient manner, ensuring that the resulting mask is both precise and reliable. This capability is essential for AI artists and developers who need to manipulate or analyze facial data without delving into complex technical details.

Face Mask From Pose Keypoints Input Parameters:

pose_frame

The pose_frame parameter represents the data structure containing pose keypoints for individuals detected in an image or video frame. It includes information about the canvas dimensions and the keypoints for different body parts, including the face. This parameter is crucial as it provides the raw data from which the facial mask will be generated. The accuracy and completeness of the pose keypoints directly impact the quality of the resulting facial mask. There are no specific minimum, maximum, or default values for this parameter, as it depends on the input data provided by the pose detection system.

person_index

The person_index parameter specifies the index of the individual within the pose_frame whose facial mask is to be generated. This allows the node to focus on a specific person in scenarios where multiple individuals are present in the frame. The value of this parameter should be a non-negative integer, with a default value typically set to 0, indicating the first person in the list. If the index is out of bounds, the node will return a blank canvas, indicating that no valid person was found at the specified index.

Face Mask From Pose Keypoints Output Parameters:

canvas

The canvas output parameter is an image representation of the facial mask generated from the pose keypoints. It is a visual output that highlights the facial region based on the extracted keypoints, providing a clear delineation of the face. This output is essential for applications that require a visual representation of facial features, such as in video editing or augmented reality. The canvas is typically a blank image if no valid face keypoints are detected or if the specified person index is invalid.

Face Mask From Pose Keypoints Usage Tips:

  • Ensure that the pose_frame contains accurate and complete keypoints data for the best results. Incomplete or inaccurate keypoints can lead to an incorrect or missing facial mask.
  • When working with multiple individuals in a frame, use the person_index parameter to specify which person's facial mask you want to generate. This helps in focusing on the desired individual without processing unnecessary data.

Face Mask From Pose Keypoints Common Errors and Solutions:

Invalid person index

  • Explanation: The specified person_index is out of bounds, meaning it does not correspond to any person in the pose_frame.
  • Solution: Verify that the person_index is within the range of detected individuals in the pose_frame. Adjust the index to match a valid person.

No face keypoints detected

  • Explanation: The pose_frame does not contain valid face keypoints for the specified person, possibly due to poor detection or occlusion.
  • Solution: Ensure that the input data is of high quality and that the face is not obscured. Consider using a more robust pose detection method if necessary.

Face Mask From Pose Keypoints Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-WanVideoWrapper
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Face Mask From Pose Keypoints