1. A method for training a system for detecting multi-class objects in an image or a video sequence comprising the steps of: identifying a common ensemble of weak classifiers for a set of object classes; and for each object class, adapting a separate weighting scheme for the ensemble of weak classifiers.