ComfyUI Node
BD Face Mesh
Build a MediaPipe face mesh (468 vertices, 854 triangles) from LANDMARKS_BATCH. Vertex coords: x=0→W, y=0→H (image convention, y increases downward), z=relative depth in image-width units (rough, not metric). Outputs TRIMESH — connects directly to TRELLIS2 and BrainDead mesh nodes. Topology is the fixed MediaPipe canonical face tesselation; vertex positions vary per-face based on detection. Wire image to bake vertex colors sampled from the photo at each landmark position.
BD Face Mesh
- landmarks_batch
- image
- face_mesh
- wireframe
- status
◄frame_index0►
Category🧠BrainDead/FaceWrap
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| landmarks_batch | BD_LANDMARKS_BATCH | LANDMARKS_BATCH from BD_FaceLandmarks. | |
| imageopt | IMAGE | Source image for vertex colors. Each vertex gets the pixel color at its (x,y) landmark position. Leave disconnected for no vertex colors. | |
| frame_indexopt | INT | 00–63 | Which frame in the batch to build the mesh for. 0 for single-image pipelines. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| face_mesh | TRIMESH | — |
| wireframe | IMAGE | — |
| status | STRING | — |