ComfyUI Extension: ComfyUI-seam-carving

Authored by spinagon

Created

Updated

17 stars

Nodes: Image Resize (seam carving). Seam carving (image resize) for ComfyUI. Based on a/https://github.com/li-plus/seam-carving. With seam carving algorithm, the image could be intelligently resized while keeping the important contents undistorted. The carving process could be further guided, so that an object could be removed from the image without apparent artifacts.

README

ComfyUI-seam-carving

Seam carving (image resize) for ComfyUI

Adds node "Image Resize (seam carving)"

https://en.wikipedia.org/wiki/Seam_carving

Uses https://github.com/li-plus/seam-carving

Also known as liquid rescaling, changes image size by adding or removing rows or columns of pixels with least effect on resulting image.

Can be very slow if adding or removing many pixels, resize with regular methods closer to target size first.