Patent ID: 8577098

Claim:
An image processing apparatus comprising: a designation unit adapted to designate an object image to be registered; a first detection unit adapted to detect a first subject from the designated object image; a first extraction unit adapted to extract a first feature amount for identifying an attribute of the first subject; a second extraction unit adapted to extract a second feature amount for detecting the second subject; a first storage unit adapted to store the first feature amount; and a second storage unit adapted to store the second feature amount, wherein when said first detection unit detects the first subject, said first extraction unit extracts the first feature amount from the object image and said first storage unit stores the extracted first feature amount, wherein when said first detection unit cannot detect the first subject, said second extraction unit extracts the second feature amount from the object image and said second storage unit stores the extracted second feature amount, wherein the image processing apparatus further comprises a first identification unit adapted to identify an attribute of an object in an input image detected by said first detection unit based on the first feature amount stored in said first storage unit, and wherein when said first identification unit identifies that the attribute of the object image designed by said designation unit does not match the first feature amount stored in said first storage unit, said first storage unit stores the feature amount which is extracted from the object image as a new first feature amount of a different first subject.