ComfyUI Node
Face Align Crop (derotate to eye level, square crop)
A ComfyUI node in image/face with 6 inputs and 3 outputs.
Face Align Crop (derotate to eye level, square crop)
- image
- crops
- labels
- scores
◄target_sizenative►
◄padding_pct0.15►
◄save_path►
◄filename_prefixface_aligned►
◄clamp_before_upscale512►
Categoryimage/face
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| target_size | COMBO | native | native = return crop at original pixel dimensions (recommended before upscaling). 512/768/1024 = resize to square. |
| padding_pct | FLOAT | 0.150–0.5 | Expand the aligned face box by this fraction of width/height on each side. |
| save_pathopt | STRING | Directory to save cropped JPEGs directly. Empty = no save here. | |
| filename_prefixopt | STRING | face_aligned | — |
| clamp_before_upscaleopt | INT | 5120–2048 | Only applies in native mode. If the crop's longest side exceeds this, scale it down before returning. 0 = disabled. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| crops | IMAGE | — |
| labels | STRING | — |
| scores | STRING | — |