| CPC H04N 23/698 (2023.01) [G06N 5/047 (2013.01); G06T 3/4038 (2013.01); G06T 7/571 (2017.01); G06V 10/74 (2022.01); G06V 10/80 (2022.01); H04N 23/632 (2023.01); H04N 23/633 (2023.01); H04N 23/64 (2023.01); H04N 23/69 (2023.01); H04N 23/80 (2023.01); G06N 3/04 (2013.01); H04N 23/667 (2023.01)] | 17 Claims |

|
1. A method performed by an electronic device for generating a panoramic image, the method comprising:
obtaining, by the electronic device, a first scene preview by using a zoomed out feature of at least one camera sensor of the electronic device;
obtaining, by the electronic device, at least one second scene preview with a wider view than the first scene preview using the at least one camera sensor;
determining, by the electronic device, whether feature information changes between the first scene preview and the at least one second scene preview;
based on a result of determining whether the feature information changes, performing, by the electronic device, one of:
selecting the first scene preview as the at least one second scene preview with the wider view based on determining that the feature information does not change between the first scene preview and the at least one second scene preview, or
replacing the at least one second scene preview with the first scene preview and obtaining the at least one second scene preview by using at least one increased zoomed out feature of the at least one camera sensor based on determining that the feature information changes between the first scene preview and the at least one second scene preview;
obtaining, by the electronic device based on the at least one second scene preview, a traversal path having a least number of frames and a least change in direction of movement among a plurality of traversal paths;
capturing, by the electronic device, a plurality of frames using the traversal path to generate the panoramic image; and
storing, by the electronic device, the panoramic image.
|