Shape discovery from unlabeled image collections