Planar Shape Detection and Regularization in Tandem. (28th September 2015)