Patent ID: 8402904

Claim:
A sewing machine, comprising: a body; a housing the housing portion being a needle bar case that is configured to house a plurality of needle bars; a bed; a needle plate that is provided on the bed and includes a needle hole; an image capture device that is adapted to capture an image of the needle hole; a moving device that moves the image capture device in relation to the housing portion, the moving device including: a needle bar case moving mechanism that moves the needle bar case in a horizontal direction in relation to the body; and a coupling member that couples the image capture device to the needle bar case and moves the image capture device in relation to the needle bar case in conjunction with a movement of the needle bar case; a command acquisition device that acquires a command to move the image capture device in relation to the housing portion; and a moving control device that controls the moving device in accordance with the command that has been acquired by the command acquisition device to move the image capture device in relation to the housing portion, the moving control device controlling the needle bar case moving mechanism in accordance with the command that has been acquired by the command acquisition device to move the needle bar case, thereby causing the coupling member to move the image capture device in relation to the needle bar case.