ComfyUI Node
Intelligent AutoCrop
Remove solid hosting borders and text-bearing dark footers. Uses the existing crop config. Crops only; no resize or color changes.
Intelligent AutoCrop
- image
- crop_config
- image
- trim_left
- trim_top
- trim_right
- trim_bottom
- detected
◄border_policyConservative►
CategoryPortraitUtils/Transform
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| crop_config | PORTRAIT_CROP_CONFIG_V2 | — | |
| border_policyopt | COMBO | Conservative | Conservative: require 98.5% solid edge coverage and cap color tolerance at 0.12. Configured tolerances: use the config thresholds literally; inspect crops carefully. Both require a bounded border and a contrasting content boundary. |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| trim_left | INT | — |
| trim_top | INT | — |
| trim_right | INT | — |
| trim_bottom | INT | — |
| detected | BOOLEAN | — |