A work machine comprising: an imaging device; a holding head (60, 62) having a component holder; a moving device (68, 70, 72) configured to move the holding head in at least a horizontal direction; a lighting device configured to apply irradiation light having different wavelengths from multiple light sources toward the component holder; and a control device, wherein the control device includes an imaging command section configured to command the imaging device to irradiate the component holder with light having different wavelengths to capture an image of the component holder, a first calculation section configured to calculate, based on any one captured image among captured images obtained by the imaging command section for respective light beams having different wavelengths, a number of pixels included in a line segment as a resolution of the captured image for each respective light beam, wherein a length of the line segment corresponds to the actual distance covered from a camera center of the imaging device to an end point of the captured image, a second calculation section configured to calculate a lens center of the imaging device based on the captured images for the respective light beams having different wavelengths, and a storage section configured to store a difference between the lens center calculated by the second calculation section and the camera center of the imaging device as a unique value of the imaging device, characterized in that the component holder includes three or more component holders, the three or more component holders are arranged at equal intervals on an outer circumferential part of a lower end face of the holding head, and the second calculation section is configured to calculate the lens center of the imaging device based on at least three component holders among the three or more component holders included in each of the captured images for the respective light beams having different wavelengths. an imaging device; a holding head (60, 62) having a component holder; a moving device (68, 70, 72) configured to move the holding head in at least a horizontal direction; a lighting device configured to apply irradiation light having different wavelengths from multiple light sources toward the component holder; and a control device, wherein the control device includes an imaging command section configured to command the imaging device to irradiate the component holder with light having different wavelengths to capture an image of the component holder, a first calculation section configured to calculate, based on any one captured image among captured images obtained by the imaging command section for respective light beams having different wavelengths, a number of pixels included in a line segment as a resolution of the captured image for each respective light beam, wherein a length of the line segment corresponds to the actual distance covered from a camera center of the imaging device to an end point of the captured image, a second calculation section configured to calculate a lens center of the imaging device based on the captured images for the respective light beams having different wavelengths, and a storage section configured to store a difference between the lens center calculated by the second calculation section and the camera center of the imaging device as a unique value of the imaging device, characterized in that the component holder includes three or more component holders, the three or more component holders are arranged at equal intervals on an outer circumferential part of a lower end face of the holding head, and the second calculation section is configured to calculate the lens center of the imaging device based on at least three component holders among the three or more component holders included in each of the captured images for the respective light beams having different wavelengths.