100 lines of code for shape-based object localization. (December 2016)