| CPC H04N 23/82 (2023.01) [H04N 5/265 (2013.01); H04N 23/743 (2023.01)] | 18 Claims |

|
1. An electronic device comprising:
a camera;
at least one processor electrically coupled to the camera; and
memory storing instructions that, when executed by the at least one processor individually or collectively, cause the electronic device to:
obtain a plurality of image frames through the camera, in response to a shooting start command,
obtain a shooting command subsequent to the shooting start command,
determine a shooting environment,
determine a first number, based on the shooting environment,
select the first number of image frames from among the plurality of image frames obtained before the shooting command, in response to the shooting command, and
generate a first image synthesized based on the selected first number of image frames.
|