ComfyUI Node
Detect & Split Photo Panels
Detect separate rectangular photographs inside one composite and extract their original pixels. Connect panels to Image Chooser Classic's images input; choose one before AutoCrop/mask generation/Photo Prepare. Different panel sizes are kept as a list, never resized or padded into a batch.
Detect & Split Photo Panels
- image
- panels
- analysis
◄detection_modeGutters only►
◄sensitivityBalanced►
◄min_panel_area_percent3.0►
◄max_panels16►
◄vertical_splits►
◄horizontal_splits►
◄column_horizontal_splits►
CategoryPortraitUtils/Photo Edit V2
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| detection_mode | COMBO | Gutters only | Gutters only is safest. Collage mode also accepts interrupted straight seams; verify the thumbnails. |
| sensitivity | COMBO | Balanced | 3 options: Conservative, Balanced, Sensitive |
| min_panel_area_percent | FLOAT | 3.00.1–40 | Minimum automatic panel area as a percentage of the original input. Manual splits bypass this limit. |
| max_panels | INT | 162–64 | Automatic detection stops at this count without discarding unsplit regions. |
| vertical_splitsopt | STRING | Optional override: x positions such as '38.9%' or '357:364' to exclude a gutter. Separate multiple positions with commas. Any override replaces automatic detection. | |
| horizontal_splitsopt | STRING | Optional override: y positions such as '50%' or '760:768'. Positions refer to original source pixels, not editor resolution. | |
| column_horizontal_splitsopt | STRING | With vertical_splits, give different y cuts per column separated by |, e.g. '258,520 | 205,581 | 258,520'. Do not also set horizontal_splits. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| panels | IMAGE | — |
| analysis | STRING | — |