Nodes/ComfyUI-PortraitDatasetTools/Face Identity Guard (revert a pass that drifted the face)
ComfyUI Node

Face Identity Guard (revert a pass that drifted the face)

A ComfyUI node in image/analysis with 5 inputs and 5 outputs.

By BillyBGit·Created 2 days ago·Updated 2 days ago· 0
Face Identity Guard (revert a pass that drifted the face)
  • image
  • reference
  • image
  • passed
  • similarity
  • suffix
  • report
◄min_similarity0.90►
◄suffix_if_reverted_noid►
◄suffix_in►
Categoryimage/analysis

Inputs (5)

NameTypeDefaultDescription
imageIMAGEThe candidate (e.g. the SUPIR result).
referenceIMAGEWhat it came from (e.g. the crop before SUPIR).
min_similarityFLOAT0.900–1Below this, fall back to the reference. ArcFace cosine: >0.9 is comfortably the same person; a good SUPIR pass measures ~0.94.
suffix_if_revertedSTRING_noid—
suffix_inoptSTRING—

Outputs (5)

NameTypeDescription
imageIMAGE—
passedBOOLEAN—
similarityFLOAT—
suffixSTRING—
reportSTRING—