Nodes/lip_mask_from_pose/MediaPipe Face Mesh (Tracked)
ComfyUI Node

MediaPipe Face Mesh (Tracked)

MediaPipe face mesh with identity tracking. Matches faces across frames by centroid (Hungarian assignment) so that a dropped face is interpolated per-person instead of flickering. Drop-in replacement for the standard ControlNet MediaPipe Face Mesh node for multi-person video.

By Jalen-Brunson·Created 4 months ago·Updated 3 months ago· 1
MediaPipe Face Mesh (Tracked)
  • image
  • IMAGE
max_faces10
min_confidence0.30
max_gap8
match_gate0.60
ema_alpha0.00
min_face_size64
draw_iristrue
Categorymask/pose

Inputs (8)

NameTypeDefaultDescription
imageIMAGE
max_facesoptINT101–50
min_confidenceoptFLOAT0.300.05–1
max_gapoptINT80–240How many frames a missing face stays alive for interpolation before being retired.
match_gateoptFLOAT0.600.1–3Max centroid shift between frames, expressed as a fraction of face bbox diag. Larger = more permissive match.
ema_alphaoptFLOAT0.000–0.95Per-track EMA retention. 0 = off. 0.4-0.7 = light-to-moderate jitter reduction.
min_face_sizeoptINT640–1024Drop detections whose min bbox side (px) is below this. 0 disables the filter.
draw_irisoptBOOLEANtrue

Outputs (1)

NameTypeDescription
IMAGEIMAGE