ComfyUI Node
Border Mask & Crop Detector
A ComfyUI node in Rebalance-Pack/image with 8 inputs and 2 outputs.
Border Mask & Crop Detector
- image
- mask
- cropped_image
◄detect_toptrue►
◄detect_bottomtrue►
◄detect_lefttrue►
◄detect_righttrue►
◄threshold0.80►
◄color_tolerance0.020►
◄max_scan_depth0.35►
CategoryRebalance-Pack/image
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| detect_top | BOOLEAN | true | — |
| detect_bottom | BOOLEAN | true | — |
| detect_left | BOOLEAN | true | — |
| detect_right | BOOLEAN | true | — |
| threshold | FLOAT | 0.800.01–1 | — |
| color_tolerance | FLOAT | 0.0200–1 | — |
| max_scan_depth | FLOAT | 0.350.01–0.5 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |
| cropped_image | IMAGE | — |