The algorithm itself looks like it needs face (and body) detection to be really useful, though.
Example: My girlfriend and I on holiday in Australia.
Original:
http://peterburk.free.fr/seamCarving/lighthouse.jpg
Shrunk:
http://peterburk.free.fr/seamCarving/lighthouse_seamCarving....
It will be more complicated than it seems, though, because I just tried the GUI version from gabeiscoding above, and got the following result:
http://peterburk.free.fr/seamCarving/lighthouse_seamCarvingG...
With my tongue somewhat-in-cheek, I wanted to point you that you may want to be careful with that sample pic of the Eiffel Tower at night!
See: https://petapixel.com/2017/10/14/photos-eiffel-tower-night-i...