Patent attributes
Methods and apparatus, including computer program products, implementing techniques for training an attentional cascade. An attentional cascade is an ordered sequence of detector functions, where the detector functions are functions that examine a target image and return a positive result if the target image resembles an object of interest and a negative result if the target image does not resemble the object of interest. A positive result from one detector function leads to consideration of the target image by the next detector function, and a negative result from any detector function leads to rejection of the target image. The techniques include training each detector function in the attentional cascade in sequence starting with the first detector function. Training a detector function includes selecting a counter-example set. Selecting a counter-example set includes selecting only images that are at least a minimum difference from an example set.