In an imaging device 1, a tilted surface 12 is formed on one surface side of a base 3, while a flexible substrate 4 arranged with light sources 5 is secured along the tilted surface 12 of the base 3, so as to adjust the optical axis of an imaging unit 6 and positions illuminated by the light sources 5. Thus, the respective optical axes of light sources 5 are regulated not individually but at once by placing the substrate 4 along the tilted surface 12, which makes it easy to adjust the illumination positions. It is also excellent in heat dissipation of the light sources 5, since the heat generated by the light sources 5 dissipates through the base 3. This enables the light sources 5 to keep their output stability favorably.