Nodes/ComfyUI-API-DockerCPU/Face Analyze (InsightFace ONNX)
ComfyUI Node

Face Analyze (InsightFace ONNX)

Detects faces with InsightFace SCRFD and computes ArcFace embeddings via onnxruntime (CPU or GPU).

By trustypangolin·Created 7 months ago·Updated 11 days ago· 0
Face Analyze (InsightFace ONNX)
  • image
  • bboxes
  • face_analysis
  • face_count
  • scores
  • faces_json
◄detector(no .onnx files in models/insightface)►
◄recognizer(no .onnx files in models/insightface)►
◄det_threshold0.50►
◄nms_threshold0.40►
◄det_size640►
◄max_faces0►
◄providerauto►
◄sortleft_to_right►
Category🎨 DockerCPU API/Face

Inputs (9)

NameTypeDefaultDescription
imageIMAGE—
detectorCOMBO(no .onnx files in models/insightface)SCRFD detector from models/insightface (det_10g.onnx).
recognizerCOMBO(no .onnx files in models/insightface)ArcFace recognizer from models/insightface (w600k_r50.onnx).
det_thresholdFLOAT0.500.01–1—
nms_thresholdFLOAT0.400.01–1—
det_sizeINT640160–2048Detector input size (multiple of 32).
max_facesINT00–256Keep the N highest-scoring faces per frame. 0 = all.
providerCOMBOautoauto uses CUDA/ROCm/DirectML when available, else CPU.
sortoptCOMBOleft_to_rightFace order in every output: left_to_right (centre-x) or detection score.

Outputs (5)

NameTypeDescription
bboxesBOUNDING_BOX—
face_analysisFACE_ANALYSIS—
face_countINT—
scoresSTRING—
faces_jsonSTRING—