Python implementation of a content-aware video retargeting algorithm