An image capturing apparatus for capturing images of first and second components to be held by first and second mounting heads arranged in the first direction under mutually different illumination conditions, the image capturing apparatus comprising: first and second heads capable of holding the first and second components; a TDI sensor (26; 26A; 26B) that includes: a light receiving unit including pixel rows each having a plurality of image capturing elements arranged in a first direction and generating and holding electric charges corresponding to respective exposure amounts, and electric charge holding rows each having a plurality of electric charge holding sections each having a light-blocking section, thereby having only a function of holding the electric charges and arranged in the first direction so as to correspond to respective image capturing elements of the pixel rows, one of the pixel rows and one or a plurality of the electric charge holding rows being alternately arranged in a second direction orthogonal to the first direction; and a transfer unit that sequentially, on a row-by-row basis, transfers electric charges held by the image capturing elements of the pixel rows and the electric charge holding sections of the electric charge holding rows to adjacent rows, and outputs, as a signal of the line image, a signal corresponding to electric charges finally accumulated by the transfer; moving means for moving the first component and the second component by moving the first and second mounting heads in the second direction relative to the TDI sensor (26; 26A; 26B); illumination means capable of illuminating the two components moved by the moving means and changing the illumination condition thereof to illumination conditions of the two components; image capture control means (50, 61, 66) for controlling an image capture timing of the TDI sensor (26; 26A; 26B) and a switching timing of the illumination conditions of the illumination means so that the line images of the component for each of the illumination conditions are taken in by the image capturing elements of the pixel rows, while the illumination condition of the illumination means is sequentially switched to the illumination conditions of the two components as the two components are moved relative to the TDI sensor (26; 26A; 26B), and also for controlling transfer timings of the electric charges in the TDI sensor (26; 26A; 26B) so that the electric charges are transferred synchronously with the image capture timing; and image processing means for generating images of the first component and images of the second component by extracting images of the first component from the line images captured under the illumination condition of the first component and extracting images of the second component from the line images captured under the illumination condition of the second component, from among the line images outputted from the TDI sensor (26; 26A; 26B). first and second heads capable of holding the first and second components; a TDI sensor (26; 26A; 26B) that includes: a light receiving unit including pixel rows each having a plurality of image capturing elements arranged in a first direction and generating and holding electric charges corresponding to respective exposure amounts, and electric charge holding rows each having a plurality of electric charge holding sections each having a light-blocking section, thereby having only a function of holding the electric charges and arranged in the first direction so as to correspond to respective image capturing elements of the pixel rows, one of the pixel rows and one or a plurality of the electric charge holding rows being alternately arranged in a second direction orthogonal to the first direction; and a transfer unit that sequentially, on a row-by-row basis, transfers electric charges held by the image capturing elements of the pixel rows and the electric charge holding sections of the electric charge holding rows to adjacent rows, and outputs, as a signal of the line image, a signal corresponding to electric charges finally accumulated by the transfer; moving means for moving the first component and the second component by moving the first and second mounting heads in the second direction relative to the TDI sensor (26; 26A; 26B); illumination means capable of illuminating the two components moved by the moving means and changing the illumination condition thereof to illumination conditions of the two components; image capture control means (50, 61, 66) for controlling an image capture timing of the TDI sensor (26; 26A; 26B) and a switching timing of the illumination conditions of the illumination means so that the line images of the component for each of the illumination conditions are taken in by the image capturing elements of the pixel rows, while the illumination condition of the illumination means is sequentially switched to the illumination conditions of the two components as the two components are moved relative to the TDI sensor (26; 26A; 26B), and also for controlling transfer timings of the electric charges in the TDI sensor (26; 26A; 26B) so that the electric charges are transferred synchronously with the image capture timing; and image processing means for generating images of the first component and images of the second component by extracting images of the first component from the line images captured under the illumination condition of the first component and extracting images of the second component from the line images captured under the illumination condition of the second component, from among the line images outputted from the TDI sensor (26; 26A; 26B).