Patent attributes
An electronic device is provided. The electronic device includes a housing, a display exposed through a first surface of the housing, a first camera exposed through a second surface of the housing that is opposite to the first surface, a second camera exposed through the second surface, a memory storing an image obtained by the first or second camera, and a processor electrically connected with the display, the first camera, the second camera, and the memory. The processor is configured to output a first image obtained by using the first camera on the display and, when an area recognized as a face in the first image has a size satisfying a specified condition, output a second image obtained by using the second camera on the display.