Code for an ECCV2014 paper