A python script that implements Seam Carving / Content Aware Image Scaling.
A sample command:
python CAIS.py -i input.jpg -r 400 500 -o output.jpg -v
This will rescale input.jpg to 400 x 500 pixels and save it as output.jpg. The -v will make the process verbose