Nodes/ComfyUI-API-DockerCPU/Face Identify (ArcFace)
ComfyUI Node

Face Identify (ArcFace)

Identifies every face in an image against reference folders and returns per-face crops and labels as lists.

By trustypangolin·Created 7 months ago·Updated 11 days ago· 0
Face Identify (ArcFace)
  • image
  • face_analysis
  • face_crop
  • label
  • score
  • runner_up
  • runner_up_score
  • suffix
  • subfolder
  • crop_box_json
  • restore_json
  • summary_json
  • mirror_dir
  • stem
  • save_dir
◄reference_folderdataset/_references►
◄threshold0.40►
◄margin0.05►
◄aggregatemax►
◄unknown_labelunknown►
◄crop_pad1.60►
◄providerauto►
◄source—►
◄mirror_dir—►
◄stem—►
◄suffix_extra►
Category🎨 DockerCPU API/Face

Inputs (13)

NameTypeDefaultDescription
imageIMAGE—
face_analysisFACE_ANALYSIS—
reference_folderSTRINGdataset/_referencesRelative to the input folder, or absolute. Subfolder name = label.
thresholdFLOAT0.40-1–1Minimum best score to assign a label.
marginFLOAT0.050–2Best minus runner-up (a different label) must reach this.
aggregateCOMBOmaxHow one label's reference scores combine.
unknown_labelSTRINGunknown—
crop_padFLOAT1.601–8Square crop side = max(bbox w, h) x crop_pad, native resolution.
providerCOMBOautoUsed when embedding reference images.
sourceoptSTRINGSource image path for restore_json, e.g. REL_DIR/BASE_FILENAME.
mirror_diroptSTRINGThis image's MIRROR_DIR, repeated per face so batch saves pair correctly.
stemoptSTRINGThis image's STEM, repeated per face.
suffix_extraoptSTRINGAppended to each suffix, e.g. _head -> _p01_head.

Outputs (13)

NameTypeDescription
face_cropIMAGE—
labelSTRING—
scoreFLOAT—
runner_upSTRING—
runner_up_scoreFLOAT—
suffixSTRING—
subfolderSTRING—
crop_box_jsonSTRING—
restore_jsonSTRING—
summary_jsonSTRING—
mirror_dirSTRING—
stemSTRING—
save_dirSTRING—