Introduction

Seam carving was implemented for content-aware image resizing. It uses an energy function to always find the lowest energy pixels forming a path. By removing or inserting these paths, it effectively reduce or enlarge the image size.

Further, seam carving can be used for object removal. Here I presented an effective way to automatically detect objects and remove the unwanted ones in one click. Body detection algorithms were utilized to detect pedestrians in images, and those of your interest would then be removed by weighted seam carving.

Please refer to my Github for more details.


GIFs for Seam Carving

The process of resizing images using seam carving were presented.

Images of Object Removal

Following are the original image with choices, and the image after removing object 5, as well as the image after enlarging the size.