When calibration with the coordinate system of the offline robot 1 and the coordinate system of the cameras 4 through 7 is performed, the reference point which is to be detected, such as for example, a work which has a hole 9, is held in the workend 12 of the robot 1 and the hole 9 which is the reference point in that held work is photographed by the television cameras 4 through 7.