Nodes/SameFace/SameFace Simple
ComfyUI Node

SameFace Simple

How far an edit moved the face, and the face moved back: measures the after against the before, repairs it, and measures the repair. Gives the before and after views for Compare Images, the repaired image, a map of where the face drifted and a histogram of the edit against the repair, and shows the figures on the node. It measures the surest face; for one of several people, and every setting, use the advanced SameFace nodes.

By fixed-42·Created 7 days ago·Updated 2 days ago· 8
SameFace Simple
  • before
  • after
  • before_view
  • after_view
  • repaired
  • shift_map
  • histogram
  • median
  • repaired_median
◄repairtrue►
CategorySameFace

Inputs (3)

NameTypeDefaultDescription
beforeIMAGEThe image before the edit.
afterIMAGEThe edited image, or a batch of them.
repairBOOLEANtrueMove the face back to where the before has it, and measure the result. Off, Simple only measures, and repaired is the after unchanged.

Outputs (7)

NameTypeDescription
before_viewIMAGEThe before with the measured points: into Compare Images.
after_viewIMAGEThe after lined up on the before, with arrows to where each point should be (ten times longer).
repairedIMAGEThe after with its face moved back.
shift_mapIMAGEWhere the face drifted: grey within the noise, darker green for more.
histogramIMAGEHow far the points drifted, the edit as bars and the repair as an outline: the one further left drifted less.
medianFLOATThe edit's median drift, % of face size (first pair).
repaired_medianFLOATThe repair's, the same way; the edit's if repair is off.