20. A system for object localization in images comprising: a patch representation generator which generates patch-based representations of a plurality of patches of an input image; a classifier component which classifies each of the patches with a trained classifier model based on the respective patch-based representation; a signature generator which generates a task-dependent representation of the input image based on the classifications of the patches; a retrieval component configured for retrieving at least one similar image from a set of images, based on a comparison measure between the task-dependent representation of the input image and task-dependent representations of images in the set of images, the task dependent representations having each been generated by classifying patch-based representations of a plurality of patches of a respective one of the images in the set of images with the trained classifier model and generating the task-dependent representation of the image based on the classifications of the patches; a segmentation component which segments the input image based on a location of an object in the at least one similar image and identifying a location of an object in the input image based on the segmentation; and a processor which implements the patch representation generator, classifier component, signature generator, and segmentation component.
22. The system of claim 20 , wherein the classifier model is trained on patches extracted from images of vehicles in which a license plate is localized and the object to be localized in the input image is a license plate.