Patent ID: 10547767

Abstract:
An electronic device and a method for providing information of a foreign substance adsorbed from the outside of a camera are provided. The electronic device includes a transparent member formed with a first medium, a light emitter disposed under the transparent member and configured to emit light, a camera disposed under the transparent member and configured to obtain an image of an external object, and a processor. The processor may be configured to obtain a first image of the external object by using a difference of light refracting angles between the first medium and the second medium formed at an outer part of the transparent member by using the camera while at least one part of the light emitted by the light emitter is transmitted through an inner part of a second medium, obtain a second image of the external object by using the camera, and provide foreign substance information of a third medium adsorbed on at least one part of an outer surface of the transparent member by using a color difference between at least one partial area of the first image and at least one partial area of the second image.