Patent ID: 8908906

Claim:
An image processing apparatus comprising: a data memory configured to register a set of feature data for each object of a plurality of objects, and to classify the feature data in all the registered sets into a plurality of subsets such that each subset includes a part of the feature data; a processor; and a memory storing instructions that, when executed by the processor, causes the image processing apparatus to: extract feature data from image data of an object in an obtained image; select a subset from the plurality of subsets; and recognize the object in the obtained image by comparing the feature data included in the selected subset with the extracted feature data, wherein, in a case where a portrait mode of the image processing apparatus is selected, recognizing the object in the obtained image gives priority numbers to the feature data of the selected subset based on the portrait mode of the image processing apparatus, and compares the extracted feature data with the feature data of the selected subset according to the priority numbers.