Patent attributes
An electronic device is disclosed. The disclosed electronic device comprises at least one camera module, a memory, and a processor electrically connected to the camera module and the memory, wherein the memory stores instructions that, when executed, cause the processor to store a first frame, which is generated using an image inputted through the camera module, as a first image in the memory, and if a degree of similarity between a second frame and a third frame, which are generated using the image inputted through the camera module, is equal to or greater than a predetermined value, cause the processor to generate a second image by synthesizing at least one frame comprising the second frame and the third frame and store the second image in the memory. Other various embodiments are also possible.