Nodes Browser

ComfyDeploy: How ComfyUI-seam-carving works in ComfyUI?

What is ComfyUI-seam-carving?

Nodes: Image Resize (seam carving). Seam carving (image resize) for ComfyUI. Based on [a/https://github.com/li-plus/seam-carving](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.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI-seam-carving and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

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.