229262 discloses the sewing machine that is provided with the embroidery frame for which the attaching position of the embroidery frame in relation to the carriage can be changed the relevant portions of which are incorporated by reference e the correcting condition may be one of an amount of position change and an amount of angle change the method of computing the correcting condition may be modified as desired depending on the type of correcting condition and the marker for example in a case where the amount of angle change is computed as the correcting condition based on image data of the single marker 180 the angle in relation to the x axis may be computed based on the coordinates of the center of the first circle 101 and the coordinates of the center of the second circle 102 for example in a case where the position is computed as the correcting condition based on image data of the two markers the markers 180 and 280 a center point of a line segment linking the centers of the first circles 101 of the markers 180 and 280 may be computed as the reference position for example in a case where the correcting condition is.