DWPose

DWPOSE Precise Whole-Body Pose Detection for AI

DWPOSE makes AI pose detection and estimation simple, fast, and accurate. With DWPOSE, you can create precise human pose references, improve AI image generation, and bring creative ideas to life with better control and flexibility.

DWPose

What is DWPose

DWPose stands for Distillation for Whole-body Pose. It was introduced by researchers from IDEA-Research and Tsinghua University in the paper “Effective Whole-body Pose Estimation with Two-stages Distillation”, presented at the ICCV 2023 CV4Metaverse workshop.

The idea is simple: train a large, accurate “teacher” network, then teach a compact “student” network to copy its knowledge. The result is a model that is far more accurate than older estimators on hands and faces while staying light enough to run on a normal GPU or even a CPU.

DWpose

What Makes DWPose Different

DWPose focuses on the pose information you need, without forcing you into a single image-generation interface.

True whole-body detection

Body, feet, face and both hands are estimated together, so the skeleton stays consistent instead of being stitched from separate models.

Much better hands

Fingers are the weak spot of most detectors. DWPose was trained with the UBody dataset, which is full of close-up hand gestures, so finger joints are far more reliable.

Detailed facial landmarks

68 face points capture jawline, brows, eyes and mouth, which helps ControlNet keep head angle and expression close to your reference.

Fast, lightweight inference

Distillation lets a small student model reach accuracy close to the teacher. The ONNX build runs smoothly on consumer GPUs and still works on CPU.

Drop-in ControlNet support

The output uses the familiar OpenPose colour scheme, so existing OpenPose ControlNet models accept DWPose maps without retraining.

Open source & free

Code is released under the Apache 2.0 license and the weights are public on GitHub and Hugging Face, so you can use it in personal and commercial projects.

How does DWPose work?

number10

Add an Image

Upload or select an image containing a person whose pose you want DWPose to analyze.

number11

Detect Keypoints

DWPose identifies body joints, hand positions, and facial landmarks from the input image.

number12

Create Pose Map

The detected keypoints are converted into a structured skeleton or pose map representing the subject’s posture.

number13

Use with AI Tools

The pose map can be used with ControlNet, ComfyUI, Stable Diffusion, and compatible AI workflows.

number14

Generate New Images

AI models use the pose guidance to create new visuals while maintaining a similar body position and movement.

How to Install DWPose

DWPose can be installed in different ways depending on whether you want to use it as a standalone pose-estimation model or inside tools such as ComfyUI and ControlNet. The official project provides separate setup paths for MMPose and ControlNet environments.

Clone a DWPose repository and install its required Python packages

				
					git clone https://github.com/haofanwang/DWPose.git
cd DWPose
pip install -r requirements.txt
				
			

Then install the required OpenMMLab components

				
					pip install -U openmim
mim install mmengine
mim install "mmcv>=2.0.1"
mim install "mmdet>=3.1.0"
mim install "mmpose>=1.1.0"
				
			

ControlNet use, the official instructions recommend first setting up a working ControlNet environment and then installing ONNX Runtime

				
					conda env create -f environment.yaml
conda activate control-v11
pip install onnxruntime
				
			

For compatible GPU acceleration, the GPU package can be used instead

				
					pip install onnxruntime-gpu
				
			

ComfyUI, DWPose is commonly added through a compatible custom node. One current option can be installed through ComfyUI Manager or manually inside the custom_nodes folder

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

Restart ComfyUI after installation so the DWPose node becomes available in the workflow interface.

Download DWPose

Get DWPose for detailed whole-body pose estimation and use it with compatible AI generation, ControlNet, ComfyUI, and computer vision workflows.

Get DWPose for Your AI Workflow

Access the DWPose project files and set up the model for your preferred environment. Check the required dependencies and compatibility before installation.

✓
Whole-Body Pose Estimation Detect detailed body, hand, and facial keypoints from supported input images.
✓
AI Workflow Support Use DWPose with compatible ControlNet, ComfyUI, and generative AI workflows.
✓
Source Code Included Download the project files directly from the official DWPose GitHub repository.
Download DWPose

DWPose

Detailed pose guidance for modern AI image generation and computer vision workflows.

Use Cases of DWPose

DWPose is useful in AI image generation, pose analysis, and computer vision workflows where accurate human body positioning is important.

AI Image Generation

Use DWPose to guide generated characters into a specific body position while changing clothing, background, style, or appearance.

ControlNet Workflows

Create pose maps that can be used with ControlNet to give image-generation models stronger control over human posture and movement.

ComfyUI Workflows

Integrate DWPose into ComfyUI nodes and workflows for automated pose extraction and pose-guided image creation.

Character Pose Transfer

Extract a pose from one reference image and apply similar positioning to a different AI-generated character.

Body and Hand Detection

Detect detailed body joints and hand keypoints for workflows that require more precise pose information.

Facial Landmark Detection

Identify facial keypoints to support more complete whole-body pose estimation.

Computer Vision Projects

Develop applications involving human pose tracking, movement analysis, gesture recognition, or visual research.

Animation and Motion

Use detected poses as reference data for animation, character positioning, or motion-based creative workflows.

DWPose Troubleshooting

DWPose may occasionally encounter issues during installation or use. Most problems are related to missing dependencies, incorrect model files, Python environment conflicts, or incompatible system settings.

Make sure Python and all required dependencies are installed correctly. Reinstall any missing packages and restart the environment.

Check that the required checkpoint or ONNX model files are placed in the correct directory and that their file paths are configured properly.

If you are using GPU acceleration, verify that compatible GPU drivers, CUDA, and onnxruntime-gpu are installed correctly.

Restart ComfyUI, check the custom node folder, and confirm that all required dependencies have been installed.

Use a clear, well-lit image where the person’s body is clearly visible. Blurry images, cropped limbs, or complex poses may reduce detection accuracy.

Use a higher-quality image and make sure the hands and facial features are clearly visible.

Create a separate Python virtual environment and install the recommended versions of the required packages.

DWPose Safety

DWPose processes images to detect body, hand, and facial keypoints for AI and computer vision workflows. Using compatible model files, trusted sources, and properly configured environments helps maintain stable and reliable pose detection.

Frequently Asked Questions

Find answers to common questions about DWPose, including how it works, installation, compatibility, usage, troubleshooting, and AI workflow integration.

What is DWPose?

DWPose is a whole-body pose estimation model designed to detect human body, hand, and facial keypoints from images. It is commonly used in AI image generation, computer vision, ControlNet, and ComfyUI workflows.

DWPose can identify major body joints, hand keypoints, and facial landmarks. These detected points are converted into a structured pose representation that can be used by compatible AI tools.

DWPose analyzes an input image, identifies human keypoints, and creates a pose map showing the position of the body, hands, and face. This pose data can then guide compatible AI image-generation workflows.

DWPose is available as an open-source project. Users should review the official repository and its license before using it in personal, research, or commercial projects.

DWPose is mainly used for pose detection, pose transfer, AI image generation, human movement analysis, and computer vision applications.

No. Both tools perform pose estimation, but DWPose uses a different architecture and is designed for detailed whole-body keypoint detection, including body, hands, and facial landmarks.

DWPose can work with human pose detection tasks involving more than one subject, depending on the implementation, model configuration, and input image quality.

How do I install DWPose?

DWPose can be installed by downloading or cloning the project repository, installing the required Python dependencies, and adding the necessary model files. The exact setup depends on whether you use it standalone, with ControlNet, or with ComfyUI.

DWPose generally requires a compatible Python environment, sufficient system memory, and the required runtime libraries. A supported GPU can improve processing speed but may not always be required.

Yes. DWPose can be used on Windows when the required Python packages, model files, and dependencies are installed correctly.

Yes. DWPose can be integrated into ComfyUI through compatible custom nodes or pose-processing workflows.

Yes. DWPose is commonly used to create pose maps that can guide ControlNet-based image-generation workflows.

Yes, compatible implementations can use GPU acceleration to improve pose-detection performance. The required drivers and runtime packages must be configured correctly.

The required model files depend on the DWPose implementation being used. Users should follow the documentation provided with the official project or selected integration to obtain the correct checkpoints or ONNX models.

How can I get better pose detection results?

Use clear, high-quality images where the subject is fully visible. Good lighting, minimal motion blur, and unobstructed body parts generally improve pose-detection accuracy.

Hand detection may become less accurate when hands are very small, blurred, hidden, or partially outside the image. Using a higher-resolution image can improve results.

Facial keypoints may be difficult to detect when the face is too small, turned away, blurred, covered, or poorly lit.

Slow performance may be caused by high-resolution images, CPU-only processing, insufficient hardware resources, or incorrect GPU configuration. Reducing image size or enabling compatible GPU acceleration may help.

DWPose may fail to start because of missing dependencies, incorrect Python versions, unavailable model files, or package conflicts. Checking the installation environment usually helps identify the problem.

Yes. One common use case is extracting a pose from a reference image and using that pose to guide a different character while changing clothing, appearance, background, or visual style.

DWPose can be useful in professional and experimental AI workflows that require structured human pose information. Results still depend on image quality, model configuration, compatible tools, and the requirements of the specific project.

Scroll to Top