1. An apparatus comprising: a determination unit configured to determine quality of an object in image data; an extraction unit configured to extract feature information of the object; and a registration unit configured to register, in a dictionary, the feature information extracted by said extraction unit, wherein when the quality of the object determined by said determination unit is lower than a predetermined reference, said registration unit does not register the feature information in the dictionary.