Beyond Bounding-Boxes: Learning Object Shape by Model-driven Grouping