1. An image processing apparatus comprising: a feature extraction unit adapted to extract a plurality of predetermined features in an object from input image data; a weight setting unit adapted to set weights for the features extracted by said feature extraction unit when there are features which are not extracted by said feature extraction unit; and a recognition processing unit adapted to execute recognition processing of the object based on the features weighted by said weight setting unit.