A method and apparatus for identifying a target object. A group of objects is identified in an image. The group of objects provides a context for identifying the target object in the image. The target object is searched for in the image using the context provided by the group of objects.