ComfyUI Node
Face Detect + Track
A ComfyUI node in TemporalFaceDetailer with 13 inputs and 2 outputs.
Face Detect + Track
- image
- face_tracks
- debug_overlay
◄detectorinsightface►
◄det_threshold0.50►
◄min_face_size24►
◄max_faces4►
◄detector_devicecuda►
◄iou_threshold0.25►
◄max_track_gap10►
◄min_track_length2►
◄crop_factor1.7►
◄crop_smoothing0.80►
◄crop_anchorlandmarks►
◄align_rotationfalse►
CategoryTemporalFaceDetailer
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| detector | COMBO | insightface | yolo:* entries are ultralytics models found in models/ultralytics — use an anime face model (e.g. bbox/face_yolov8m_anime.pt) for stylized characters |
| det_threshold | FLOAT | 0.500.05–1 | — |
| min_face_size | INT | 248–1024 | — |
| max_faces | INT | 41–16 | — |
| detector_device | COMBO | cuda | 2 options: cuda, cpu |
| iou_threshold | FLOAT | 0.250.05–0.95 | min overlap to link a detection to a track |
| max_track_gap | INT | 100–120 | frames a face may vanish (occlusion) before its track ends; gaps are interpolated |
| min_track_length | INT | 21–120 | — |
| crop_factor | FLOAT | 1.71–4 | — |
| crop_smoothing | FLOAT | 0.800–1 | temporal smoothing of the crop window (anti-jitter) |
| crop_anchor | COMBO | landmarks | landmarks centers the crop on the facial-landmark centroid (far more stable than the detection box); falls back to bbox when the detector yields no landmarks |
| align_rotation | BOOLEAN | false | rotation-register crops so the eye line is horizontal in every sampled crop (similarity transform, inverse-warped on paste-back); needs a landmark-capable detector |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| face_tracks | FACE_TRACKS | — |
| debug_overlay | IMAGE | — |