A mobile electronic device comprising: a housing comprising a front plate, a rear plate opposed to and spaced apart from the front plate, and a lateral member surrounding a space between the front plate and the rear plate; a camera module including a first camera disposed on the front plate, a second camera disposed on the rear plate, and an image signal processor for correcting images captured using at least one of the first camera or the second camera; a display exposed through a substantial portion of the front plate; a memory included in the housing; a gyro sensor included in the housing; and a processor included in the housing and operatively connected to the camera module, the memory, and the gyro sensor, wherein the processor is configured to: select the first camera to capture images, identify first motion information corresponding to the selected first camera based on gyro motion information acquired by using the gyro sensor, wherein the gyro motion information comprises X-axis motion information, Y-axis motion information, and Z-axis motion information, control the image signal processor for displaying a first image captured by the first camera based on the first motion information through the display, switch, in response to a camera switching command, from the first camera to the second camera to capture images, identify second motion information corresponding to the second camera based on the same gyro motion information acquired by using the gyro sensor, and control the image signal processor for performing a vertical flip based on the Y-axis motion information and the Z-axis motion information or a horizontal flip based on the X-axis motion information and the Z-axis motion information for a second image captured by the second camera, based on the second motion information. a housing comprising a front plate, a rear plate opposed to and spaced apart from the front plate, and a lateral member surrounding a space between the front plate and the rear plate; a camera module including a first camera disposed on the front plate, a second camera disposed on the rear plate, and an image signal processor for correcting images captured using at least one of the first camera or the second camera; a display exposed through a substantial portion of the front plate; a memory included in the housing; a gyro sensor included in the housing; and a processor included in the housing and operatively connected to the camera module, the memory, and the gyro sensor, wherein the processor is configured to: select the first camera to capture images, identify first motion information corresponding to the selected first camera based on gyro motion information acquired by using the gyro sensor, wherein the gyro motion information comprises X-axis motion information, Y-axis motion information, and Z-axis motion information, control the image signal processor for displaying a first image captured by the first camera based on the first motion information through the display, switch, in response to a camera switching command, from the first camera to the second camera to capture images, identify second motion information corresponding to the second camera based on the same gyro motion information acquired by using the gyro sensor, and select the first camera to capture images, identify first motion information corresponding to the selected first camera based on gyro motion information acquired by using the gyro sensor, wherein the gyro motion information comprises X-axis motion information, Y-axis motion information, and Z-axis motion information, control the image signal processor for displaying a first image captured by the first camera based on the first motion information through the display, switch, in response to a camera switching command, from the first camera to the second camera to capture images, identify second motion information corresponding to the second camera based on the same gyro motion information acquired by using the gyro sensor, and control the image signal processor for performing a vertical flip based on the Y-axis motion information and the Z-axis motion information or a horizontal flip based on the X-axis motion information and the Z-axis motion information for a second image captured by the second camera, based on the second motion information.