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.
SameFace Simple
- before
- after
- before_view
- after_view
- repaired
- shift_map
- histogram
- median
- repaired_median
◄repairtrue►
CategorySameFace
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| before | IMAGE | The image before the edit. | |
| after | IMAGE | The edited image, or a batch of them. | |
| repair | BOOLEAN | true | Move 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)
| Name | Type | Description |
|---|---|---|
| before_view | IMAGE | The before with the measured points: into Compare Images. |
| after_view | IMAGE | The after lined up on the before, with arrows to where each point should be (ten times longer). |
| repaired | IMAGE | The after with its face moved back. |
| shift_map | IMAGE | Where the face drifted: grey within the noise, darker green for more. |
| histogram | IMAGE | How far the points drifted, the edit as bars and the repair as an outline: the one further left drifted less. |
| median | FLOAT | The edit's median drift, % of face size (first pair). |
| repaired_median | FLOAT | The repair's, the same way; the edit's if repair is off. |