Provided with an endoscope device configured to measure a specimen using a pattern projection image of the specimen on which a light and shade pattern of light is projected, includes: an imaging unit configured to acquire an image of the specimen an illumination unit having a first light source configured to emit illumination light to illuminate an observation field of vision of the imaging unit a pattern projection unit having a second light source configured to emit projection light to project the light and shade pattern on the specimen a display unit configured to display the image acquired by the imaging unit and a control unit configured to control the imaging unit, the illumination unit, the pattern projection unit, and the display unit.