ComfyUI Node
Face Similarity (ArcFace)
Cosine similarity between a detected face and reference faces (FACE_ANALYSIS or a folder of images/.npy embeddings).
Face Similarity (ArcFace)
- face_analysis
- reference_analysis
- best_score
- best_match
- ranking
◄face_index0►
◄reference_folder►
◄providerauto►
Category🎨 DockerCPU API/Face
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| face_analysis | FACE_ANALYSIS | — | |
| face_index | INT | 00–4096 | Which face (0-based), counting across frames in FaceAnalyze's sort order. faces_json index 1 = face_index 0. |
| reference_analysisopt | FACE_ANALYSIS | — | |
| reference_folderopt | STRING | Folder of reference images and/or .npy embeddings, relative to the input folder or absolute. First-level subfolder names become labels. | |
| provideropt | COMBO | auto | Used when embedding reference images. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| best_score | FLOAT | — |
| best_match | STRING | — |
| ranking | STRING | — |