A fast Python implementation of Seam Carving for Content-Aware Image Resizing.
For both modes:
For resizing:
For object removal:
The input image is on the left and the result of the algorithm is on the right.
Animated gif:
Many parts of the code are adapted/optimized versions o…