A work machine comprising: a holding head (56, 58) provided with multiple component holding tools; a moving device configured to move the holding head (56, 58) in a horizontal plane direction and in a vertical direction; an imaging device provided with lighting configured to emit light onto leads of the components held by the component holding tools; and a control device, wherein the control device is provided with a first lowering instruction section configured to lower the holding head (56, 58) such that the leads of at least two components held by at least two of the multiple component holding tools enter a lighting range of the lighting, a first imaging instruction section configured to image the leads of the at least two components based on reflected light of the lighting that is reflected by the leads of the components, and a first calculating section configured to calculate a position of the leads of the at least two components based on image data imaged by the first imaging instruction section, characterized in that the imaging device is provided with side lighting configured to emit light from a side direction, the first lowering instruction section is configured to lower the holding head (56, 58) such that the leads of the at least two components held by at least two of the multiple component holding tools collectively enter the lighting range of the side lighting, the first imaging instruction section is configured to collectively image the leads of the at least two components, and the first calculating section is configured to calculate a position of the leads of the at least two components based on image data collectively imaged by the first imaging instruction section. a holding head (56, 58) provided with multiple component holding tools; a moving device configured to move the holding head (56, 58) in a horizontal plane direction and in a vertical direction; an imaging device provided with lighting configured to emit light onto leads of the components held by the component holding tools; and a control device, wherein the control device is provided with a first lowering instruction section configured to lower the holding head (56, 58) such that the leads of at least two components held by at least two of the multiple component holding tools enter a lighting range of the lighting, a first imaging instruction section configured to image the leads of the at least two components based on reflected light of the lighting that is reflected by the leads of the components, and a first calculating section configured to calculate a position of the leads of the at least two components based on image data imaged by the first imaging instruction section, characterized in that the imaging device is provided with side lighting configured to emit light from a side direction, the first lowering instruction section is configured to lower the holding head (56, 58) such that the leads of the at least two components held by at least two of the multiple component holding tools collectively enter the lighting range of the side lighting, the first imaging instruction section is configured to collectively image the leads of the at least two components, and the first calculating section is configured to calculate a position of the leads of the at least two components based on image data collectively imaged by the first imaging instruction section. a first lowering instruction section configured to lower the holding head (56, 58) such that the leads of at least two components held by at least two of the multiple component holding tools enter a lighting range of the lighting, a first imaging instruction section configured to image the leads of the at least two components based on reflected light of the lighting that is reflected by the leads of the components, and a first calculating section configured to calculate a position of the leads of the at least two components based on image data imaged by the first imaging instruction section, characterized in that the imaging device is provided with side lighting configured to emit light from a side direction, the first lowering instruction section is configured to lower the holding head (56, 58) such that the leads of the at least two components held by at least two of the multiple component holding tools collectively enter the lighting range of the side lighting, the first imaging instruction section is configured to collectively image the leads of the at least two components, and the first calculating section is configured to calculate a position of the leads of the at least two components based on image data collectively imaged by the first imaging instruction section.