> ## 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.

# MediaPipeFaceMeshVisualize - ComfyUI Built-in Node Documentation

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

## 概述

在输入图像上绘制面部特征点及连接线（即面部网格）。此节点利用面部检测节点生成的特征点数据，将检测到的面部特征（如眼睛、鼻子、嘴巴和面部轮廓）可视化呈现。

## 输入

| 参数               | 说明                                                                                                                | 数据类型            | 是否必填 | 取值范围                                  |
| ---------------- | ----------------------------------------------------------------------------------------------------------------- | --------------- | ---- | ------------------------------------- |
| `face_landmarks` | 来自检测节点的面部特征点数据。                                                                                                   | FACE\_LANDMARKS | 是    |                                       |
| `image`          | 用于绘制网格的图像。若未连接，将使用与检测结果相同尺寸的黑色画布。                                                                                 | IMAGE           | 否    |                                       |
| `connections`    | 决定绘制面部网格的哪些部分。`"all"` 绘制完整网格（面部轮廓、眼睛、眉毛、嘴唇、虹膜、鼻子）。`"fill"` 绘制面部轮廓的实心多边形（剪影遮罩）。`"custom"` 允许单独开关每个特征。（默认值：`"all"`） | COMBO           | 是    | `"all"`<br />`"fill"`<br />`"custom"` |
| `color`          | 网格线条和点的颜色。（默认值：`#00ff00`）                                                                                         | COLOR           | 是    |                                       |
| `thickness`      | 网格线条的像素宽度。设置为 0 可禁用线条绘制。（默认值：1）                                                                                   | INT             | 是    | 0 至 8                                 |
| `point_size`     | 特征点圆点的像素半径。设置为 0 可禁用圆点绘制。（默认值：2）                                                                                  | INT             | 是    | 0 至 16                                |

**关于 `connections` 参数的说明：** 当选择 `"custom"` 时，每个面部特征会额外显示布尔输入（例如 `face_oval`、`lips`、`left_eye`、`right_eye`、`left_eyebrow`、`right_eyebrow`、`left_iris`、`right_iris`、`nose`、`tesselation`）。仅绘制您启用的特征。

## 输出

| 输出名称    | 说明               | 数据类型  |
| ------- | ---------------- | ----- |
| `IMAGE` | 绘制了面部特征点网格的输入图像。 | IMAGE |

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

***

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