16. The non-transitory computer readable medium according to claim 15 , wherein the process further comprises: setting a weight of each learning image based on the classification result; and calculating an error rate of the weak classifier based on the classification result of each learning image according to the weak classifier and the weight, wherein the weak classifier is selected according to the error rate.
16. The non-transitory computer readable medium according to claim 15 , wherein the process further comprises: setting a weight of each learning image based on the classification result; and calculating an error rate of the weak classifier based on the classification result of each learning image according to the weak classifier and the weight, wherein the weak classifier is selected according to the error rate. 17. The non-transitory computer readable medium according to claim 16 , wherein the generated classifier is used for recognition of the detection target and another target different from the detection target.