1. A method for classifying objects in an image, comprising the steps of: applying an appearance classifier to the image to determine candidates of the objects and statistics associated with the candidates, wherein the appearance classifier uses a set of windows, and the candidates are in selected windows; and applying a context classifier only to the selected windows of the image to determine an identity, and location of objects in the image, wherein the steps are performed in a processor.