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.

By BizaNator·Created 7 months ago·Updated 16 days ago· 14
BD Face Mesh
  • landmarks_batch
  • image
  • face_mesh
  • wireframe
  • status
frame_index0
Category🧠BrainDead/FaceWrap

Inputs (3)

NameTypeDefaultDescription
landmarks_batchBD_LANDMARKS_BATCHLANDMARKS_BATCH from BD_FaceLandmarks.
imageoptIMAGESource image for vertex colors. Each vertex gets the pixel color at its (x,y) landmark position. Leave disconnected for no vertex colors.
frame_indexoptINT00–63Which frame in the batch to build the mesh for. 0 for single-image pipelines.

Outputs (3)

NameTypeDescription
face_meshTRIMESH
wireframeIMAGE
statusSTRING