Nodes/Temporal Face Detailer/Face Detect + Track
ComfyUI Node

Face Detect + Track

A ComfyUI node in TemporalFaceDetailer with 13 inputs and 2 outputs.

By nikythebikky·Created 2 months ago·Updated 2 months ago· 0
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)

NameTypeDefaultDescription
imageIMAGE
detectorCOMBOinsightfaceyolo:* entries are ultralytics models found in models/ultralytics — use an anime face model (e.g. bbox/face_yolov8m_anime.pt) for stylized characters
det_thresholdFLOAT0.500.05–1
min_face_sizeINT248–1024
max_facesINT41–16
detector_deviceCOMBOcuda2 options: cuda, cpu
iou_thresholdFLOAT0.250.05–0.95min overlap to link a detection to a track
max_track_gapINT100–120frames a face may vanish (occlusion) before its track ends; gaps are interpolated
min_track_lengthINT21–120
crop_factorFLOAT1.71–4
crop_smoothingFLOAT0.800–1temporal smoothing of the crop window (anti-jitter)
crop_anchorCOMBOlandmarkslandmarks 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_rotationBOOLEANfalserotation-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)

NameTypeDescription
face_tracksFACE_TRACKS
debug_overlayIMAGE