Nodes/ComfyUI_LC_ModelBuilder_nodes/LC Face Variety Scorer πŸ§‘β€πŸ€β€πŸ§‘
ComfyUI Node

LC Face Variety Scorer πŸ§‘β€πŸ€β€πŸ§‘

Same-face test. Finds the main face in every image, compares every face against every other with ArcFace, and averages it. score 0.0 - 1.0, lower = more variety. crowd_score compares the faces inside each image (group shots), -1 when no image has 2+ faces. Uses InsightFace buffalo_l (auto-downloads once, non-commercial research license).

By lonecatone23Β·Created about 18 hours agoΒ·Updated about 18 hours agoΒ· 0
LC Face Variety Scorer πŸ§‘β€πŸ€β€πŸ§‘
  • images
  • score
  • same_pct
  • crowd_score
  • grade
  • report
  • faces
  • faces_found
β—„same_threshold0.35β–Ί
β—„min_face_px40β–Ί
β—„deviceβ–Ύβ–Ί
CategoryLC ModelBuilder/testing

Inputs (4)

NameTypeDefaultDescription
imagesIMAGEA batch of generations to test. Same prompt, different seeds works best. 8 or more images.
same_thresholdFLOAT0.350.1–0.9Two faces scoring above this count as 'could be the same person' for same_pct.
min_face_pxINT408–1024Ignore detected faces narrower than this (background people, reflections).
deviceCOMBOcpu works on every install and takes seconds for a normal test. auto tries CUDA first and falls back to CPU.

Outputs (7)

NameTypeDescription
scoreFLOATβ€”
same_pctFLOATβ€”
crowd_scoreFLOATβ€”
gradeSTRINGβ€”
reportSTRINGβ€”
facesIMAGEβ€”
faces_foundINTβ€”