Patent ID: 8763541

Claim:
A sewing machine comprising: an image capture portion that is configured to capture an image of a sewing object that is held by an embroidery frame; a data acquisition portion that is configured to acquire embroidery data for sewing an embroidery pattern, the embroidery data defining a size of the embroidery pattern; an area setting portion that is configured to set a size and a position of a sewing area that is an area within which the embroidery pattern can be sewn on the sewing object; a setting acquisition portion that is configured to acquire, as a reference setting, a setting of at least one of a position and an angle of the embroidery pattern in relation to a marker that is disposed on the sewing object; size calculation portion that is configured to calculate a size of an image capture object area for the image capture portion, based on the size of the sewing area, the size of the embroidery pattern, and the reference setting, the image capture object area being an area that is smaller than the sewing area; and a position setting portion that is configured to set a position of the image capture object area such that a center of the image capture object area coincides with a center of the sewing area.