ComfyUI Node
Face Analyze (InsightFace ONNX)
Detects faces with InsightFace SCRFD and computes ArcFace embeddings via onnxruntime (CPU or GPU).
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| detector | COMBO | (no .onnx files in models/insightface) | SCRFD detector from models/insightface (det_10g.onnx). |
| recognizer | COMBO | (no .onnx files in models/insightface) | ArcFace recognizer from models/insightface (w600k_r50.onnx). |
| det_threshold | FLOAT | 0.500.01–1 | — |
| nms_threshold | FLOAT | 0.400.01–1 | — |
| det_size | INT | 640160–2048 | Detector input size (multiple of 32). |
| max_faces | INT | 00–256 | Keep the N highest-scoring faces per frame. 0 = all. |
| provider | COMBO | auto | auto uses CUDA/ROCm/DirectML when available, else CPU. |
| sortopt | COMBO | left_to_right | Face order in every output: left_to_right (centre-x) or detection score. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| bboxes | BOUNDING_BOX | — |
| face_analysis | FACE_ANALYSIS | — |
| face_count | INT | — |
| scores | STRING | — |
| faces_json | STRING | — |