1. A sewing machine, comprising: a moving portion that is configured to move a sewing object to a first position and to a second position, the sewing object having a pattern, and the second position being different from the first position; an image capture portion that is configured to create an image by image capture of the sewing object; a first acquiring portion that is configured to acquire a first image created by image capture of a first area by the image capture portion, the first area including the pattern of the sewing object positioned at the first position; a second acquiring portion that is configured to acquire a second image created by image capture of a second area by the image capture portion, the second area including the pattern of the sewing object positioned at the second position; and a computing portion that is configured to compute, as position information, three-dimensional coordinates of a position on a surface of the sewing object at a portion where the pattern is located, based on the first position, the second position, a position of the pattern in the first image, and a position of the pattern in the second image.