An electronic device comprising: an image capture device comprising a light source device configured to emit an infrared ray, a first camera, and a second camera configured to detect the infrared ray and to capture an image of at least a portion of a user's body based on the emitted infrared ray; a memory configured to store an image captured by the image capture device; a display configured to emit light in a specified color from at least one region based on driving at least one pixel; and at least one processor electrically connected with the image capture device, the memory, and the display, the at least one processor configured to: control to drive the display to emit the light in the specified color from the at least one region, control to drive the image capture device to obtain a first capture image by the first camera when the display emits the light in the specified color and a second capture image by the second camera when the light source device emits the infrared ray, generate a third image by performing registration of the first capture image and the second capture image, generate a spectrum for a light of a specific wavelength band corresponding to a specific pixel of the generated third image, and determine a skin state for one region of a user's body corresponding to the specific pixel based on a gradient and an area size of the generated spectrum. an image capture device comprising a light source device configured to emit an infrared ray, a first camera, and a second camera configured to detect the infrared ray and to capture an image of at least a portion of a user's body based on the emitted infrared ray; a memory configured to store an image captured by the image capture device; a display configured to emit light in a specified color from at least one region based on driving at least one pixel; and at least one processor electrically connected with the image capture device, the memory, and the display, the at least one processor configured to: control to drive the display to emit the light in the specified color from the at least one region, control to drive the image capture device to obtain a first capture image by the first camera when the display emits the light in the specified color and a second capture image by the second camera when the light source device emits the infrared ray, generate a third image by performing registration of the first capture image and the second capture image, generate a spectrum for a light of a specific wavelength band corresponding to a specific pixel of the generated third image, and determine a skin state for one region of a user's body corresponding to the specific pixel based on a gradient and an area size of the generated spectrum. control to drive the display to emit the light in the specified color from the at least one region, control to drive the image capture device to obtain a first capture image by the first camera when the display emits the light in the specified color and a second capture image by the second camera when the light source device emits the infrared ray, generate a third image by performing registration of the first capture image and the second capture image, generate a spectrum for a light of a specific wavelength band corresponding to a specific pixel of the generated third image, and determine a skin state for one region of a user's body corresponding to the specific pixel based on a gradient and an area size of the generated spectrum.