InstaCarve takes a non-square rectangular image and changes it into a square shape by taking away seams of low energy in the image. I have created this simple function which extends the work of https://github.com/andrewdcampbell/seam-carving
Before | After |
---|---|
![]() |
![]() |