> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-mintlify-b90d3c69.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SDPoseDrawKeypoints - ComfyUI Built-in Node Documentation

> Complete documentation for the SDPoseDrawKeypoints node in ComfyUI. Learn its inputs, outputs, parameters and usage.

SDPoseDrawKeypoints 节点接收姿态估计数据（关键点），并将其作为视觉骨架绘制在空白画布上。您可以选择性地绘制姿态的不同部分，例如身体、手部、面部和脚部，并可自定义线条宽度和点的大小。生成的图像可用于可视化，或作为需要姿态图像的其他节点的输入。

## 输入

| 参数                | 描述                                      | 数据类型           | 是否必填 | 范围        |
| ----------------- | --------------------------------------- | -------------- | ---- | --------- |
| `keypoints`       | 待绘制的姿态关键点数据。该数据通常来自姿态检测节点。              | POSE\_KEYPOINT | 是    | -         |
| `draw_body`       | 控制是否绘制主体骨架（默认值：True）。                   | BOOLEAN        | 否    | -         |
| `draw_hands`      | 控制是否绘制手部关键点（默认值：True）。                  | BOOLEAN        | 否    | -         |
| `draw_face`       | 控制是否绘制面部关键点（默认值：True）。                  | BOOLEAN        | 否    | -         |
| `draw_feet`       | 控制是否绘制脚部关键点（默认值：False）。                 | BOOLEAN        | 否    | -         |
| `stick_width`     | 绘制身体骨架的线条宽度（默认值：4）。                     | INT            | 否    | 1 至 10    |
| `face_point_size` | 绘制面部关键点的点的大小（默认值：3）。                    | INT            | 否    | 1 至 10    |
| `score_threshold` | 关键点被绘制所需的最低置信度分数。低于此值的关键点将被忽略（默认值：0.3）。 | FLOAT          | 否    | 0.0 至 1.0 |

**注意：** 如果 `keypoints` 输入为空或 `None`，节点将输出一张空白的 64x64 图像。

## 输出

| 输出名称     | 描述                                                                | 数据类型  |
| -------- | ----------------------------------------------------------------- | ----- |
| `output` | 绘制了姿态关键点的图像。图像尺寸与输入关键点数据中指定的 `canvas_height` 和 `canvas_width` 一致。 | IMAGE |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SDPoseDrawKeypoints/zh.md)

***

**Source fingerprint (SHA-256):** `c01397ed3608b65b737b60c2ae50919e0217cfe63b3695b68f176c2d69faa9c1`
