1. A teaching method of an image recognition apparatus, comprising: a step of capturing an image of a standard object having a standard conformation among objects to be recognized and extracting a characteristic value from a teacher image of the standard object through image processing; a step of making a user input an 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 associated with the 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 updating the context data in the knowledge base based on comparison between the presently generated context data and the context data stored 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 teaching data based on the extracted attribute for the recognition processing, wherein the teaching data include, at least, parameters related to a recognition logic, a threshold value, and a region recognized as the object applied to the recognition process; and wherein the already-known knowledge includes a parameter related to tolerance.