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.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| max_facesopt | INT | 101–50 | — |
| min_confidenceopt | FLOAT | 0.300.05–1 | — |
| max_gapopt | INT | 80–240 | How many frames a missing face stays alive for interpolation before being retired. |
| match_gateopt | FLOAT | 0.600.1–3 | Max centroid shift between frames, expressed as a fraction of face bbox diag. Larger = more permissive match. |
| ema_alphaopt | FLOAT | 0.000–0.95 | Per-track EMA retention. 0 = off. 0.4-0.7 = light-to-moderate jitter reduction. |
| min_face_sizeopt | INT | 640–1024 | Drop detections whose min bbox side (px) is below this. 0 disables the filter. |
| draw_irisopt | BOOLEAN | true | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |