Efficient Unsupervised Learning for Localization and Detection in Object Categories