CROSS-REFERENCE TO RELATED APPLICATIONS

This application is based upon and claims priority to Chinese Patent Application No. 202010346193.1, filed on Apr. 27, 2020, the entire contents of which are incorporated herein by reference.

TECHNICAL FIELD

The present disclosure generally relates to the technical field of terminals, and particularly, to a method and device for shooting image, and a storage medium.

BACKGROUND

Along with the rapid development of sciences and technologies, channels for information acquisition by users have become increasingly rich. An image file, such as a picture and a video, includes a large amount of information and rich contents and is preferred by a user. Popularization of mobile terminals makes it more convenient to acquire image files. In social lives, users may propagate information through images, and personalized requirements on images also increase.

A user may want to achieve an interesting image shooting effect, for example, an effect that multiple clones of the same shooting subject at the same or different attitudes simultaneously appear in the same image. For achieving the effect of multiple clones of a subject in an image, post processing of the image is performed through image processing software in conventional art, in which the process is generally complicated, the processing effect is relatively poor, and the shooting requirement of the user may not be met.

SUMMARY

According to a first aspect of embodiments of the present disclosure, a method for shooting image, applied to an electronic device in which an image capturing device is mounted, includes: receiving a first input from a user; responsive to the first input, acquiring a first image and second image captured by the image capturing device for a target object, a framing range of the first image is same as a framing range of the second image; and performing synthesis processing on the first image and the second image to generate a target image, the target image including a first object image of the target object in the first image and a second object image of the target object in the second image.

According to a second aspect of the embodiments of the present disclosure, an electronic device in which an image capturing device is mounted, includes: a processor; and a memory configured to store instructions executable by the processor, wherein the processor is configured to receive a first input from a user; responsive to the first input, acquire a first image and a second image captured by the image capturing device for a target object, a framing range of the first image being same as a framing range of the second image; and perform synthesis processing on the first image and the second image to generate a target image, the target image including a first object image of the target object in the first image and a second object image of the target object in the second image.

According to a third aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium has stored therein an instruction that, when executed by a processor of a mobile terminal, causes the mobile terminal to perform the method for shooting image according to the first aspect.

