1. An information processing apparatus comprising: a plurality of weak classifiers that are cascade-connected and that process data; a first storage unit that stores processing specification information specifying the processing content of each of the weak classifiers; a second storage unit that stores a table in which is specified information for determining which of the weak classifiers are to be used in processing the data based on a condition for processing the data; a selection unit that selects the weak classifiers to be used in processing the data from among the weak classifiers by referring to the table; and an extraction unit that extracts an object from the data using an evaluation value obtained by the weak classifiers processing the data based on the processing specification information corresponding to the weak classifiers selected by the selection unit.