1. A teaching method of an image recognition apparatus, comprising: a step of capturing the image of a standard object having a standard conformation among objects to be recognized and extracting a characteristic value from the teacher image of the standard object through image processing; a step of making a user input the already-known knowledge of a range of fluctuation of objects and other objects and entering the knowledge in a knowledge base; a step of generating context data in which various attributes which can be objects are described together with their semantics in accordance with the characteristic value extracted from the teacher image of the standard object and the knowledge entered in the knowledge base and entering the context data in the knowledge base; and a step of extracting an attribute corresponding to the type of a characteristic value used for recognition processing from the context data entered in the knowledge base and generating the teaching data for the recognition processing.