A device for producing a shape model used for a matching process of an
object to be worked in a robot system. The shape-model producing device
includes a shape-data obtaining section for obtaining three-dimensional
shape data of the object; a viewpoint setting section for setting, in a
coordinate system to which the three-dimensional shape data obtained by
the shape-data obtaining section belongs, a plurality of virtual
viewpoints permitting the object placed in the coordinate system to be
observed in directions different from each other; and a shape-model
generating section for generating, as a plurality of shape models, a
plurality of two-dimensional image data of the object, based on the
three-dimensional shape data, the plurality of two-dimensional image data
being estimated when the object is observed in the coordinate system from
the plurality of virtual viewpoints set by the viewpoint setting section.