Patent ID: 8061286

Claim:
A sewing machine that is capable of sewing an embroidery pattern on a work cloth held by an embroidery frame, comprising: a storage device that stores embroidery data to identify a shape of the embroidery pattern and reference line data to identify a pattern position and a reference pattern line, the pattern position being a position of a reference point of the embroidery pattern on the work cloth at which the embroidery pattern is to be sewn and the reference pattern line being a straight line indicating an angle with respect to a predetermined direction on the work cloth at which the embroidery pattern is to be sewn; an imaging device that captures an image of the work cloth onto which a marker that can be affixed onto the work cloth is affixed; a detection device that detects a marker position and a reference marker line based on information of the image captured by the imaging device, the marker position being a position of a reference point of the marker that is affixed onto the work cloth and the reference marker line being a straight line indicating an angle with respect to the predetermined direction on the work cloth at which the marker is affixed; a conversion device that converts the embroidery data in such a manner that the pattern position coincides with the marker position and the reference pattern line coincides with the reference marker line; and a sewing control device that controls sewing of the embroidery pattern based on the embroidery data obtained after conversion by the conversion device.