Shooting method and device and electronic equipment
By displaying and dynamically adjusting the sticker material objects in the shooting preview interface, sticker material is directly added when shooting panoramic images or videos, the problems of complex editing process and poor effect in the existing technology are solved, and efficient and simplified sticker material application effects are achieved.
Patent Information
- Application Number
- CN202411622644.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-11-13
AI Technical Summary
In the prior art, the process of editing images with sticker materials is complicated, requiring a lot of editing time, and stickers are prone to blocking the original content, resulting in poor results.
Provide a shooting method, by displaying sticker material objects in the shooting preview interface and dynamically adjusting their display position during the camera rotation, directly adding sticker material when shooting panoramic images or videos to generate a panoramic image or video with sticker material.
Simplifies the user's operation to acquire panoramic images or videos with sticker materials, reduces difficulty, improves efficiency, and improves the display effect of images or videos.
Smart Images

Figure CN119520975A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a shooting method, device and electronic equipment. Background Art
[0002] With the rapid development of electronic device technology and mobile Internet, sticker materials have begun to be popular among users. More and more users add sticker materials to images through image editing applications in electronic devices to obtain images that meet user needs.
[0003] However, the process of editing images to meet user needs is relatively complicated and requires users to spend a lot of editing time. It not only increases the user's operations in editing images, but also easily causes sticker materials to block the original content of the image, resulting in poor effects of the edited image with sticker materials. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a shooting method, device, electronic device and storage medium, which can improve the efficiency and image effect of obtaining images with sticker materials.
[0005] In a first aspect, an embodiment of the present application provides a shooting method, including:
[0006] Displaying a first window in the shooting preview interface, the first window including a first preview image and a sticker material object superimposed on the first preview image;
[0007] When receiving a first input from the user, capturing a first image corresponding to the first window;
[0008] During the camera rotation, a second window is displayed in the shooting preview interface, and the sticker material object is superimposed and displayed on the second preview image in the second window;
[0009] capturing a second image corresponding to the second window;
[0010] Based on the first image and the second image, a panoramic image or a panoramic video is generated.
[0011] In a second aspect, an embodiment of the present application provides a photographing device, including:
[0012] A display module, configured to display a first window in the shooting preview interface, wherein the first window includes a first preview image and a sticker material object superimposed and displayed on the first preview image;
[0013] A shooting module, configured to shoot a first image corresponding to the first window when receiving a first input from a user;
[0014] The display module is also used to display a second window in the shooting preview interface during the camera rotation, and to overlay the sticker material object on the second preview image in the second window;
[0015] The shooting module is also used to shoot a second image corresponding to the second window;
[0016] The generating module is used to generate a panoramic image or a panoramic video based on the first image and the second image.
[0017] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the shooting method shown in the first aspect are implemented.
[0018] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the shooting method shown in the first aspect are implemented.
[0019] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a display interface, the display interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the shooting method shown in the first aspect.
[0020] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the shooting method shown in the first aspect.
[0021] In an embodiment of the present application, a first window is displayed in a shooting preview interface, the first window including a first preview image and a sticker material object superimposed on the first preview image; when a first input from a user is received, a first image corresponding to the first window is shot; during the rotation of the camera, a second window is displayed in the shooting preview interface, and the sticker material object is superimposed on the second preview image in the second window; a second image corresponding to the second window is shot; and a panoramic image or a panoramic video is generated based on the first image and the second image. In this way, sticker material objects can be added when shooting panoramic images or videos, so that users can shoot panoramic images or panoramic videos with sticker materials. Users do not need to spend a lot of time to post-edit the panoramic images shot by the users through sticker material objects, which simplifies the operation of users obtaining panoramic images or panoramic videos with sticker material objects, reduces the difficulty of users obtaining panoramic images or panoramic videos with sticker material objects, and improves the efficiency of panoramic images or panoramic videos with sticker material objects. Moreover, in the process of shooting panoramic images or panoramic videos with sticker material objects, users can check the display effect of sticker material objects in the preview image at any time according to the preview image in the shooting preview interface, which is beneficial for users to adaptively adjust the preview screen according to the window displaying the sticker material and the preview screen, so as to improve the display effect of shooting panoramic images or panoramic videos with sticker material objects. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A flowchart of a shooting method provided for some embodiments of the present application;
[0023] Figure 2 One of the interface schematic diagrams of the shooting method provided in some embodiments of the present application;
[0024] Figure 3 A second schematic diagram of an interface of a shooting method provided in some embodiments of the present application;
[0025] Figure 4 A third schematic diagram of an interface of a shooting method provided in some embodiments of the present application;
[0026] Figure 5 A fourth schematic diagram of an interface of a shooting method provided in some embodiments of the present application;
[0027] Figure 6 A fifth interface diagram of a shooting method provided in some embodiments of the present application;
[0028] Figure 7 A sixth interface diagram of a shooting method provided in some embodiments of the present application;
[0029] Figure 8A seventh schematic diagram of an interface of a shooting method provided in some embodiments of the present application;
[0030] Fig. 9 An eighth interface diagram of a shooting method provided in some embodiments of the present application;
[0031] Fig.10 A ninth interface diagram of a shooting method provided in some embodiments of the present application;
[0032] Fig.11 A schematic diagram of the structure of a photographing device provided in some embodiments of the present application;
[0033] Fig.12 A schematic diagram of the structure of an electronic device provided for some embodiments of the present application;
[0034] Fig.13 A schematic diagram of the hardware structure of an electronic device provided for some embodiments of the present application. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0036] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0037] In order to solve the problems in the related art, the embodiments of the present application provide a shooting method, a device and an electronic device. Figures 1 to 13 , the shooting method provided in the embodiment of the present application is described in detail through specific embodiments and their application scenarios.
[0038] First, combine Figure 1 A shooting method provided in an embodiment of the present application is described in detail.
[0039] Figure 1 A flowchart of a shooting method provided for some embodiments of the present application.
[0040] like Figure 1 As shown, the shooting method provided in the embodiment of the present application can be applied to an electronic device. Based on this, the shooting method can include step 110 and step 130 as shown below.
[0041] Step 110, displaying a first window in the shooting preview interface, the first window including a first preview image and a sticker material object superimposed on the first preview image; Step 120, upon receiving a first input from a user, shooting a first image corresponding to the first window; Step 130, displaying a second window in the shooting preview interface during camera rotation, and superimposing the sticker material object on the second preview image in the second window; Step 140, shooting a second image corresponding to the second window; Step 150, generating a panoramic image or a panoramic video based on the first image and the second image.
[0042] Exemplarily, receiving an input from a user to start a panoramic shooting mode of a camera application in an electronic device, such as Figure 2 As shown, a shooting preview interface in a camera application can be displayed. The shooting preview interface 20 displays a first window, and the first window includes a first preview image 201 and a sticker material object 202 superimposed on the first preview image 201. Next, when a first input of a user shooting a panoramic image or a panoramic video is received, a first image corresponding to the first window is shot. It can be understood that the obtained first image can include the first preview image 201 and the sticker material object 202. Furthermore, when the user rotates the electronic device, during the camera rotation, the sticker material object 202 can be displayed. Figure 3 As shown, a second window is displayed in the shooting preview interface, the sticker material object 202 is superimposed on the second preview image 203 in the second window, and the second image corresponding to the second window is shot. It can be understood that the obtained second image can include the second preview image 203 and the sticker material object 202. Then, when the user input to stop shooting the panoramic image or panoramic video is received, as shown in FIG. Figure 4 As shown, based on the first image and the second image, a panoramic image or a panoramic video carrying a sticker material object is generated.
[0043] Therefore, sticker material objects can be added when shooting panoramic images or videos, so that users can shoot panoramic images or panoramic videos with sticker materials. Users do not need to spend a lot of time to post-edit the panoramic images shot by the users through sticker material objects, which simplifies the operation of users obtaining panoramic images or panoramic videos with sticker material objects, reduces the difficulty of users obtaining panoramic images or panoramic videos with sticker material objects, and improves the efficiency of panoramic images or panoramic videos with sticker material objects. Moreover, in the process of shooting panoramic images or panoramic videos with sticker material objects, users can check the display effect of sticker material objects in the preview image at any time according to the preview image in the shooting preview interface, which is beneficial for users to adaptively adjust the preview screen according to the window displaying the sticker material and the preview screen, so as to improve the display effect of shooting panoramic images or panoramic videos with sticker material objects.
[0044] The above steps are described in detail below, as shown below.
[0045] First, in step 110, the sticker material object in the embodiment of the present application can be pre-set or manually selected by the user. Based on this, in some embodiments of the present application, before step 110, the shooting method can also include steps 1601 and 1602.
[0046] Step 1601, receiving a second input from a user, where the second input is an input for the user to select a sticker material object, and the sticker material object includes at least one of the following: a sticker material image, and a sticker material video.
[0047] For example, Figure 5 As shown, it may be the second input in which the user clicks to select a sticker material object such as “sticker” in the shooting preview interface.
[0048] Step 1602: In response to the second input, a sticker material object is displayed superimposed on the first preview image.
[0049] For example, Figure 6 As shown, the sticker material object 202 may be displayed superimposed on the first preview image.
[0050] In this way, the display effect of the sticker material object in the preview image can be viewed before the image or video is shot, without the need for the user to perform post-editing of the image or video, thereby improving the efficiency of the user in shooting the panoramic image or panoramic video required by the user.
[0051] Specifically, in order to prevent the sticker material object from blocking the subject in the first preview image, the display position of the sticker material object in the first preview image may be adjusted in the following manner, that is, the above step 1602 may specifically include step 16021 and step 16022.
[0052] Step 16021: In response to the second input, based on the sticker material object, identify the picture content in the first preview image to obtain a first position in the first preview image that matches the sticker material object.
[0053] For example, reference may be made to Figure 2 , the sticker material object 202 is in a walking state, and the first preview image includes a nearby road and a distant mountain. At this time, the position of the nearby road can be used as the first position to match the sticker material object 202 in the walking state.
[0054] Step 16022: Display the sticker material object in a first display area corresponding to the first position.
[0055] For example, reference may still be made to Figure 2 , the sticker material object 202 may be displayed in the first display area where the nearby road is located.
[0056] In this way, the user's manual adjustment of the display position of the sticker material object in the first preview image can be reduced, the user's operation of shooting panoramic images or panoramic videos with sticker material objects is reduced, the difficulty of users shooting panoramic images or panoramic videos with sticker material objects is reduced, and the efficiency of panoramic images or panoramic videos with sticker material objects is improved.
[0057] Secondly, regarding step 130, in some embodiments of the present application, the sticker material objects in the embodiments of the present application may be different, that is, the sticker material objects include a first sticker material object and a second sticker material object, and the sticker material object on the first preview image is the first sticker material object.
[0058] Based on this, the step of displaying the sticker material object superimposed on the second preview image in the second window involved in step 130 may specifically include step 1301 .
[0059] Step 1301: Overlay and display a second sticker material object on a second preview image in a second window.
[0060] Exemplarily, the first sticker material object 1 may be displayed in a superimposed manner on the first display preview image, and the first sticker material object 2 may be displayed in a superimposed manner on the second display preview image.
[0061] In this way, different sticker material objects can be displayed in the same panoramic image or panoramic video, reducing the process of users selecting paper material objects multiple times to repeatedly shoot panoramic images or panoramic videos, reducing the operations of users shooting panoramic images or panoramic videos with sticker material objects, reducing the difficulty of users shooting panoramic images or panoramic videos with sticker material objects, and improving the efficiency of panoramic images or panoramic videos with sticker material objects.
[0062] In some embodiments of the present application, the display area of the sticker material object in the embodiments of the present application may be different in different windows, that is, the step involved in step 130 of superimposing the sticker material object on the second preview image in the second window may specifically include step 1302 and step 1303, as shown below.
[0063] Step 1302: Based on the sticker material object, identify the picture content in the second preview image to obtain a second position in the second preview image that matches the sticker material object.
[0064] For example, Figure 2 For the first window, Figure 3 The second window is the second window. At this time, if the first position determined by the aforementioned steps 16021 and 16022 can be a relatively central position. The second preview image is an image after the first preview image is moved to the right. At this time, in order to show that the user is walking on the road, Figure 4 The effect of the panoramic image shown in the figure will be re-based on the sticker material object, and the picture content in the second preview image will be recognized, and the second position can be a position close to the critical edge of the first window (for details, please refer to Figure 3 shown).
[0065] Step 1303: Overlay and display the sticker material object in a second display area corresponding to the second position in the second preview image.
[0066] For example, reference may be made to Figure 3 , the sticker material object 202 can be superimposed on the display area at the lower right of the display screen.
[0067] Therefore, the position of the sticker material object superimposed on the preview screen can be dynamically adjusted based on the changes in the content of the preview screen, reducing the need for users to manually adjust the sticker material object to adapt to the current preview screen each time the content of the preview screen changes, thereby improving the display effect of the sticker material object in the preview image.
[0068] In some embodiments of the present application, in order to display the sticker material object in a panoramic image or a panoramic video in a continuous and uninterrupted manner, the content of the first sticker material object and the content of the second sticker material object in the embodiments of the present application are continuous content, that is, the sticker material object includes the first sticker material object and the second sticker material object, the sticker material object on the first preview image is the first sticker material object, and the content of the first sticker material object and the content of the second sticker material object are continuous content. Based on this, the above-mentioned step 1302 may specifically include step 13011 and step 13012.
[0069] Step 13011: Based on the second sticker material object, identify the picture content in the second preview image to obtain a third position in the second preview image that matches the second sticker material object.
[0070] For example, reference may still be made to Figure 2 and Figure 3 , Figure 2 For the first window, Figure 3 The second window is a second window. At this time, if the first position determined by the aforementioned steps 16021 and 16022 can be a relatively centered position. The second preview image is an image after the first preview image is moved to the right as the base image. At this time, if the third position matching the second sticker material object in the second preview image is identified as a relatively centered position in the second preview image.
[0071] Step 13012: Based on the position of the first sticker material object in the first image, the third position is adjusted to obtain a second position matching the second sticker material object in the second preview image.
[0072] For example, since the content of the first sticker material object and the content of the second sticker material object are continuous content, in order to indicate that the user is walking on the road, Figure 4 The effect of the panoramic image shown in the figure will be re-based on the sticker material object, and the picture content in the second preview image will be recognized, and the second position can be a position close to the critical edge of the first window (for details, please refer to Figure 3 shown).
[0073] In this way, in the process of shooting a panoramic image or panoramic video with sticker material objects, the sticker material objects can be displayed continuously in the panoramic image or panoramic video without the need for the user to manually change them later, which is conducive to improving the display effect of shooting panoramic images or panoramic videos with sticker material objects.
[0074] It should be noted that in the embodiment of the present application, the user may manually rotate the electronic device to cause the rotation of the camera in the electronic device, thereby triggering the display of the second window in the shooting preview interface to capture the second image corresponding to the second window. Alternatively, the electronic device may control the camera to rotate within a preset shooting angle range, thereby triggering the display of the second window in the shooting preview interface to capture the second image corresponding to the second window.
[0075] Furthermore, involving step 140, in some embodiments of the present application, the sticker material object is a dynamic sticker material object, the dynamic sticker material object includes N frames of sticker material images, and the N frames of sticker material images are cyclically displayed in the first window. Based on this, the first input is an input of shooting a first image and selecting a first sticker material image from the N frames of sticker material images, and the first sticker material image is any frame of sticker material image displayed in the first window when the first input is received; the first image is an image including a first preview image and a first sticker material image.
[0076] Exemplarily, if no user input is received for N frames of sticker material images, the N frames of sticker material images are played in a loop in the first sub-window. When the user input is received to shoot a first image corresponding to the first window, the sticker material image played in the first window at the moment of receiving the input can be used as the first sticker material image, to obtain a first image including the first sticker material image and the first preview image.
[0077] It should be noted that, in some embodiments, after shooting the first image, N frames of sticker material images can still be displayed in a loop in the second window, so that when an input is received from the user to shoot a second image corresponding to the second window, the sticker material image in the second window at the moment of receiving the input is used as the second sticker material image, and a second image including the second sticker material image and the second preview image is obtained. In other embodiments, after shooting the first image, the sticker material image after the first sticker material image in the N frames of sticker material images can be used as the sticker material image displayed in the second window. The embodiment of the present application also provides the user with an optional form of entry, and two methods are provided below to determine the sticker material object superimposed on the preview image, as shown below.
[0078] In some embodiments of the present application, the sticker material object is a dynamic sticker material object, the dynamic sticker material object includes N frames of sticker material images, and the shooting preview interface includes a first control. Based on this, after the above-mentioned step 110, the shooting method can also include steps 1704 to 1705.
[0079] Step 1704 : When receiving a third input from the user to the first control, select a second sticker material image from the N frames of sticker material images according to the captured content in the first preview image.
[0080] For example, Figure 7 As shown, the first control may be an artificial intelligence (AI) control. When receiving the third input of the user to the AI button, based on the shooting content in the first preview image, such as mountain scenery, the N frames of sticker material images are traversed, and sticker material images related to water scenery, indoor scenery, etc. are excluded, so as to filter out the second sticker material image related to the mountain scenery from the N frames of sticker material images. Step 1705, the second sticker material image is used as at least one of the following sticker material objects: a sticker material object superimposed on the first preview image, and a sticker material object superimposed on the second preview image.
[0081] For example, the second sticker material image can be used alone as a sticker material object superimposed on the first preview image, or it can be superimposed on the first preview image and also be superimposed on the second preview image after the first image is captured.
[0082] Here, it should be noted that in the embodiment of the present application, after the first image is captured, the user's third input to the first control is received. At this time, the second sticker material image can be selected from the N frames of sticker material images according to the captured content in the second preview image, that is, the second sticker material image is the sticker material object displayed as a superimposed on the second preview image. It should be understood that in this embodiment, the second sticker material image is a separate sticker material object displayed as a superimposed on the second preview image.
[0083] In this way, sticker material objects can be quickly matched based on the content in the preview screen without user input, which improves the efficiency of shooting panoramic images or panoramic videos with sticker material objects while reducing the user's input for selecting sticker material objects.
[0084] In other embodiments of the present application, the sticker material object is a dynamic sticker material object, the dynamic sticker material object includes N frames of sticker material images, and the shooting preview interface also includes a second control for adjusting the display progress of the N frames of sticker material images in the first window. After step 110, the shooting method may also include step 1707, when receiving a fourth input from the user to the second control, superimposing and displaying the third sticker material image corresponding to the fourth input on the first preview image in the first window.
[0085] For example, reference may still be made to Figure 7The second control may be a progress indicator line of the sticker progress bar. In this way, a fourth input of the user dragging the progress indicator line is received, and the sticker material image selected by the user by dragging the progress indicator line may be used as the third sticker material image, and the third sticker material image is superimposed and displayed on the first preview image.
[0086] Here, it should be noted that in the embodiment of the present application, the third sticker material image can be superimposed and displayed on the first preview image alone, or the third sticker material image can be superimposed and displayed on the first preview image and the second preview image.
[0087] Based on this, step 120 may specifically include: when receiving a first input from the user, capturing a first image corresponding to the first window, where the first image is an image including a first preview image and a third sticker material image.
[0088] Based on this, after step 120, in order to facilitate the user to select the sticker material image superimposed on the second preview image, the shooting method may also include step 1708, in which N frames of sticker material images are displayed in a loop starting from the next frame of sticker material image of the third sticker material image in the second window.
[0089] For example, the user may continue to select the sticker material image superimposed on the second preview image through the progress indicator line.
[0090] It should be noted that the various methods for determining sticker material images provided in the embodiments of the present application can be used separately or in combination. For example, a user can select one frame from N frames of sticker material images as a sticker material image superimposed on the first preview image by clicking on the AI control, and select one frame from N frames of sticker material images as a sticker material image superimposed on the second preview image by clicking on the AI control; or, a user can select one frame from N frames of sticker material images as a sticker material image superimposed on the first preview image by clicking on the AI control, and select a sticker material image superimposed on the second preview image by dragging the progress indicator line.
[0091] Therefore, in order to facilitate the user to check the display effect of the sticker material object in the preview image at any time according to the preview image in the shooting preview interface during the process of shooting a panoramic image or panoramic video with the sticker material object, it is beneficial for the user to adaptively adjust the preview screen according to the window displaying the sticker material and the preview screen.
[0092] Then, referring to step 150, in some embodiments of the present application, the first image and the second image may be spliced to obtain a panoramic image or a panoramic video.
[0093] It should be noted that the sticker material object in the embodiment of the present application can be at least one of the following: a static sticker material object, a dynamic sticker material object, and a custom sticker material object.
[0094] In some embodiments of the present application, the sticker material object in the embodiments of the present application may be a static sticker material object, which may be pre-stored in the electronic device or downloaded through a real-time network. The static sticker material object may be an image.
[0095] In some other embodiments of the present application, the sticker material object in the embodiments of the present application may be a dynamic sticker material object. Among them, the dynamic sticker material object may be pre-stored in the electronic device like the static sticker material object, or may be downloaded through a real-time network. The difference from the aforementioned static sticker material object is that the sticker template provided by the dynamic sticker is a dynamic sticker, and the shape of the photographed photo sticker template is different in each direction, thereby improving the display effect of the panoramic image or panoramic video, and giving the user a more realistic experience. Here, if the sticker material object selected by the user, such as the first sticker material object or the second sticker material object, is a dynamic sticker material object, then the sticker material object can be played in a loop in the first window or the second window. When the user confirms the shooting, the shape of the sticker material object is the shape of the current sticker material object. Of course, the embodiments of the present application also provide an entrance to the optional shape. At this time, you can refer to Figure 7 As shown, the first sticker material object or the second sticker material object is selected.
[0096] In some other embodiments of the present application, users can customize sticker material objects, such as Figure 8 As shown, users can Figure 8 Select the sticker material object in the interface shown. If the user wants to create a custom sticker material object, he can click the plus sign under the custom sticker material object to trigger the display Fig. 9 Based on this, the following describes how to obtain the aforementioned custom sticker material object.
[0097] In some embodiments of the present application, a user image may be selected to generate a custom sticker material object. Based on this, before step 110 , the shooting method may further include steps 2101 to 2104 .
[0098] Step 2101: Display the user image in the user album application on the sticker material object selection interface.
[0099] Step 2102 : receiving a fifth input of a user selecting a target user image from user images.
[0100] Step 2103 : In response to the fifth input, extract the captured subject image in the target user image from the target user image.
[0101] Step 2104: Use the captured subject image as a custom sticker material object.
[0102] For example, Fig. 9 As shown, if the user selects a user picture, the subject image in the user image can be cut out by artificial intelligence to generate a custom sticker material object for the user to choose to use. Here, it can be understood that the custom sticker material object in this embodiment can be a static sticker template.
[0103] In some other embodiments of the present application, the custom sticker material object may be a dynamic sticker template. Based on this, before step 110, a user video may be selected to generate a custom sticker material object. Based on this, the shooting method may also include steps 2201 to 2206.
[0104] Step 2201: Display user videos in the user album application in the sticker material object selection interface.
[0105] Step 2202: Receive a sixth input of a user selecting a target user video from user videos.
[0106] Step 2203: In response to the sixth input, identify the content in the target user's video to obtain the subject of the target user's video.
[0107] Step 2204, filtering M frames of subject images where the subject is located from the target user's video.
[0108] Step 2205: extracting a captured subject image from each of the M frames of captured subject images.
[0109] Step 2206: Use the M frames of the captured subject image as a custom sticker material object.
[0110] For example, if the user selects a user video, the artificial intelligence in the electronic device will extract the subject in the user video, and then extract the subject image where the subject is located. In this way, a cutout operation is performed on each frame of the subject image, and finally a dynamic template is automatically generated for the subject in each frame for the user to select and use.
[0111] Therefore, sticker material objects can be added when shooting panoramic images or videos, so that users can shoot panoramic images or panoramic videos with sticker materials. Users do not need to spend a lot of time to post-edit the panoramic images shot by the users through sticker material objects, which simplifies the operation of users obtaining panoramic images or panoramic videos with sticker material objects, reduces the difficulty of users obtaining panoramic images or panoramic videos with sticker material objects, and improves the efficiency of panoramic images or panoramic videos with sticker material objects. Moreover, in the process of shooting panoramic images or panoramic videos with sticker material objects, users can check the display effect of sticker material objects in the preview image at any time according to the preview image in the shooting preview interface, which is beneficial for users to adaptively adjust the preview screen according to the window displaying the sticker material and the preview screen, so as to improve the display effect of shooting panoramic images or panoramic videos with sticker material objects.
[0112] It should be noted that the shooting method provided in the embodiments of the present application can be executed by electronic devices such as mobile phones, tablet computers, laptops, PDAs, wearable devices, etc. In some embodiments of the present application, the shooting method provided in the embodiments of the present application is described by taking the electronic device as the execution subject to execute the shooting method as an example.
[0113] The shooting method provided in the embodiment of the present application can be executed by a shooting device. In the embodiment of the present application, a shooting device executing the shooting method is taken as an example to illustrate the device of the shooting method provided in the embodiment of the present application.
[0114] The present application also provides a photographing device. Fig.11 Provide detailed explanation.
[0115] Fig.11 A schematic diagram of the structure of a photographing device provided in some embodiments of the present application.
[0116] like Fig.11 As shown, the photographing device 110 can be applied to an electronic device, and the photographing device 110 can specifically include:
[0117] Display module 1101, used to display a first window in the shooting preview interface, where the first window includes a first preview image and a sticker material object superimposed on the first preview image;
[0118] The shooting module 1102 is used to shoot a first image corresponding to the first window when receiving a first input from the user;
[0119] The display module 1101 is also used to display a second window in the shooting preview interface during the camera rotation, and to overlay and display the sticker material object on the second preview image in the second window;
[0120] The shooting module 1102 is further used to shoot a second image corresponding to the second window;
[0121] The generating module 1103 is configured to generate a panoramic image or a panoramic video based on the first image and the second image.
[0122] The photographing device 110 in the embodiment of the present application is described in detail below, as shown below.
[0123] In some embodiments of the present application, the photographing device 110 in the embodiments of the present application may further include a receiving module; wherein,
[0124] A receiving module, configured to receive a second input from a user, wherein the second input is an input for the user to select a sticker material object, and the sticker material object includes at least one of the following: a sticker material image and a sticker material video;
[0125] The display module 1101 is configured to display a sticker material object superimposed on the first preview image in response to a second input.
[0126] In some embodiments of the present application, the photographing device 110 in the embodiments of the present application may further include a recognition module, which is used to recognize the picture content in the first preview image based on the sticker material object in response to the second input, and obtain a first position in the first preview image that matches the sticker material object;
[0127] The display module 1101 is configured to display a sticker material object in a first display area corresponding to a first position.
[0128] In some embodiments of the present application, the display module 1101 can be specifically used to, when the sticker material object includes a first sticker material object and a second sticker material object, and the sticker material object on the first preview image is the first sticker material object, superimpose the second sticker material object on the second preview image in the second window.
[0129] In some embodiments of the present application, the photographing device 110 in the embodiments of the present application may further include a recognition module for recognizing the picture content in the second preview image based on the sticker material object, and obtaining a second position in the second preview image that matches the sticker material object;
[0130] The display module 1101 may be specifically configured to overlay and display the sticker material object in a second display area corresponding to the second position in the second preview image.
[0131] In some embodiments of the present application, the photographing device 110 in the embodiments of the present application may further include a recognition module, which is used to recognize the picture content in the second preview image based on the second sticker material object, and obtain a third position matching the second sticker material object in the second preview image, when the sticker material object includes a first sticker material object and a second sticker material object, and the sticker material object on the first preview image is the first sticker material object, and the content of the first sticker material object and the content of the second sticker material object are continuous content;
[0132] The photographing device 110 in the embodiment of the present application may further include an adjustment module, which is used to adjust the third position based on the position of the first sticker material object in the first image to obtain a second position matching the second sticker material object in the second preview image.
[0133] In some embodiments of the present application, the display module 1101 is used to, when the sticker material object is a dynamic sticker material object, the dynamic sticker material object includes N frames of sticker material images, and the N frames of sticker material images are displayed cyclically in the first window, the first input is an input of shooting a first image and selecting a first sticker material image from the N frames of sticker material images, the first sticker material image is any frame of sticker material image displayed in the first window when the first input is received; the first image is an image including a first preview image and a first sticker material image.
[0134] In some embodiments of the present application, the shooting device 110 in the embodiments of the present application may further include a screening module, which is used to screen a second sticker material image from the N frames of sticker material images according to the shooting content in the first preview image when the sticker material object is a dynamic sticker material object, the dynamic sticker material object includes N frames of sticker material images, the shooting preview interface includes a first control, and a third input of the user to the first control is received;
[0135] The display module 1101 is configured to use the second sticker material image as at least one of the following sticker material objects: a sticker material object superimposed and displayed on the first preview image, and a sticker material object superimposed and displayed on the second preview image.
[0136] In some embodiments of the present application, the display module 1101 is used to, when the sticker material object is a dynamic sticker material object, the dynamic sticker material object includes N frames of sticker material images, the shooting preview interface also includes a second control for adjusting the display progress of the N frames of sticker material images in the first window, and when a fourth input of the user to the second control is received, superimpose and display the third sticker material image corresponding to the fourth input on the first preview image in the first window;
[0137] The photographing device 110 in the embodiment of the present application may further include a photographing module, which is used to photograph a first image corresponding to the first window when receiving a first input from the user, where the first image is an image including the first preview image and the third sticker material image;
[0138] The display module 1101 is configured to cyclically display N frames of sticker material images starting from a frame of sticker material image next to the third sticker material image in the second window.
[0139] In some embodiments of the present application, the display module 1101 is used to display the user image in the user album application in the sticker material object selection interface when the sticker material object is a custom sticker material object;
[0140] The photographing device 110 in the embodiment of the present application may further include a receiving module, configured to receive a fifth input of a user selecting a target user image from user images;
[0141] The photographing device 110 in the embodiment of the present application may further include an extraction module, which is used to extract the photographed subject image in the target user image from the target user image in response to the fifth input;
[0142] The photographing device 110 in the embodiment of the present application may further include a processing module for using the photographed subject image as a custom sticker material object.
[0143] In some embodiments of the present application, the display module 1101 is used to display the user video in the user album application in the sticker material object selection interface when the sticker material object is a custom sticker material object;
[0144] The shooting device 110 in the embodiment of the present application may further include a receiving module for receiving a sixth input of a user selecting a target user video from user videos;
[0145] The shooting device 110 in the embodiment of the present application may further include a recognition module, which is used to recognize the content in the target user's video in response to the sixth input, and obtain the subject of the target user's video;
[0146] The shooting device 110 in the embodiment of the present application may further include a screening module for screening the M frames of subject images in which the subject is located from the target user video;
[0147] The photographing device 110 in the embodiment of the present application may further include an extraction module, which is used to extract a captured subject image from each frame of the M frames of captured subject images;
[0148] The shooting device 110 in the embodiment of the present application may further include a processing module for using M frames of the captured subject images as custom sticker material objects.
[0149] The shooting device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not make specific limitations.
[0150] The shooting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0151] The shooting device provided in the embodiment of the present application can achieve Figures 1 to 13 The various processes implemented in the shooting method embodiment shown achieve the same technical effect, and to avoid repetition, they will not be described again here.
[0152] Based on this, the shooting device provided in the embodiment of the present application can display a first window in the shooting preview interface, the first window including a first preview image and a sticker material object superimposed on the first preview image; when receiving a first input from the user, shoot the first image corresponding to the first window; during the rotation of the camera, display the second window in the shooting preview interface, and superimpose the sticker material object on the second preview image in the second window; shoot the second image corresponding to the second window; and generate a panoramic image or a panoramic video based on the first image and the second image. In this way, sticker material objects can be added when shooting panoramic images or videos, so that users can shoot panoramic images or panoramic videos with sticker materials. Users do not need to spend a lot of time to post-edit the panoramic images shot by the users through sticker material objects, which simplifies the operation of users obtaining panoramic images or panoramic videos with sticker material objects, reduces the difficulty of users obtaining panoramic images or panoramic videos with sticker material objects, and improves the efficiency of panoramic images or panoramic videos with sticker material objects. Moreover, in the process of shooting panoramic images or panoramic videos with sticker material objects, users can check the display effect of sticker material objects in the preview image at any time according to the preview image in the shooting preview interface, which is beneficial for users to adaptively adjust the preview screen according to the window displaying the sticker material and the preview screen, so as to improve the display effect of shooting panoramic images or panoramic videos with sticker material objects.
[0153] Optional, such as Fig.12 As shown, an embodiment of the present application further provides an electronic device 120, including a processor 1201 and a memory 1202, wherein the memory 1202 stores programs or instructions that can be executed on the processor 1201, and when the program or instructions are executed by the processor 1201, the various steps of the above-mentioned shooting method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0154] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0155] Fig.13 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0156] The electronic device 1300 includes but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, a processor 1310 and other components.
[0157] Those skilled in the art will appreciate that the electronic device 1300 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1310 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system.
[0158] Fig.13 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0159] Among them, in an embodiment of the present application, the display unit 1306 is used to display a first window in the shooting preview interface, and the first window includes a first preview image and a sticker material object superimposed on the first preview image. The processor 1310 is used to shoot a first image corresponding to the first window when receiving a first input from the user. The display unit 1306 is also used to display a second window in the shooting preview interface during the rotation of the camera, and to superimpose the sticker material object on the second preview image in the second window. The processor 1310 is also used to shoot a second image corresponding to the second window. The processor 1310 is also used to generate a panoramic image or a panoramic video based on the first image and the second image.
[0160] The electronic device 1300 is described in detail below, as shown below.
[0161] In some embodiments of the present application, the user input unit 1307 is used to receive a second input from the user, where the second input is an input for the user to select a sticker material object, and the sticker material object includes at least one of the following: a sticker material image, a sticker material video;
[0162] The display unit 1306 is configured to display the sticker material object superimposed on the first preview image in response to the second input.
[0163] In some embodiments of the present application, the processor 1310 is configured to, in response to the second input, identify the screen content in the first preview image based on the sticker material object, and obtain a first position in the first preview image that matches the sticker material object;
[0164] The display unit 1306 is configured to display the sticker material object in a first display area corresponding to the first position.
[0165] In some embodiments of the present application, the display unit 1306 can be specifically used to, when the sticker material object includes a first sticker material object and a second sticker material object, and the sticker material object on the first preview image is the first sticker material object, superimpose the second sticker material object on the second preview image in the second window.
[0166] In some embodiments of the present application, the processor 1310 is configured to identify the picture content in the second preview image based on the sticker material object, and obtain a second position in the second preview image that matches the sticker material object;
[0167] The display unit 1306 may be specifically configured to overlay and display the sticker material object in a second display area corresponding to the second position in the second preview image.
[0168] In some embodiments of the present application, the processor 1310 is configured to, when the sticker material object includes a first sticker material object and a second sticker material object, the sticker material object on the first preview image is the first sticker material object, and content of the first sticker material object and content of the second sticker material object are continuous content, identify the screen content in the second preview image based on the second sticker material object to obtain a third position in the second preview image that matches the second sticker material object;
[0169] The processor 1310 is configured to adjust the third position based on the position of the first sticker material object in the first image to obtain a second position matching the second sticker material object in the second preview image.
[0170] In some embodiments of the present application, the display unit 1306 is used to, when the sticker material object is a dynamic sticker material object, the dynamic sticker material object includes N frames of sticker material images, and the N frames of sticker material images are displayed cyclically in the first window, the first input is an input of shooting a first image and selecting a first sticker material image from the N frames of sticker material images, the first sticker material image is any frame of sticker material image displayed in the first window when the first input is received; the first image is an image including a first preview image and a first sticker material image.
[0171] In some embodiments of the present application, the processor 1310 may also be configured to, when the sticker material object is a dynamic sticker material object, the dynamic sticker material object includes N frames of sticker material images, the shooting preview interface includes a first control, and a third input of the user to the first control is received, select a second sticker material image from the N frames of sticker material images according to the shooting content in the first preview image;
[0172] The display unit 1306 is configured to use the second sticker material image as at least one of the following sticker material objects: a sticker material object superimposed on the first preview image, and a sticker material object superimposed on the second preview image.
[0173] In some embodiments of the present application, the display unit 1306 is used to, when the sticker material object is a dynamic sticker material object, the dynamic sticker material object includes N frames of sticker material images, the shooting preview interface also includes a second control for adjusting the display progress of the N frames of sticker material images in the first window, and when a fourth input of the user to the second control is received, superimpose and display the third sticker material image corresponding to the fourth input on the first preview image in the first window;
[0174] The processor 1310 is further configured to, upon receiving a first input from a user, capture a first image corresponding to the first window, where the first image includes the first preview image and the third sticker material image;
[0175] The display unit 1306 is configured to cyclically display N frames of sticker material images starting from the next frame of sticker material image of the third sticker material image in the second window.
[0176] In some embodiments of the present application, the display unit 1306 is used to display the user image in the user album application in the sticker material object selection interface when the sticker material object is a custom sticker material object;
[0177] The user input unit 1307 is used to receive a fifth input of a user selecting a target user image from user images;
[0178] The processor 1310 is configured to extract a captured subject image in the target user image from the target user image in response to a fifth input;
[0179] The processor 1310 is configured to use the captured subject image as a custom sticker material object.
[0180] In some embodiments of the present application, the display unit 1306 is used to display the user video in the user album application in the sticker material object selection interface when the sticker material object is a custom sticker material object;
[0181] The user input unit 1307 is used to receive a sixth input of a user selecting a target user video from user videos;
[0182] The processor 1310 is used to identify the content in the target user's video in response to the sixth input, and obtain the subject of the target user's video;
[0183] Processor 1310, configured to filter M frames of subject images where the subject is located from the target user video;
[0184] The processor 1310 is used to extract a captured subject image from each frame of the M frames of captured subject images;
[0185] The processor 1310 is configured to use the M frames of subject images as custom sticker material objects.
[0186] It should be understood that the input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042, and the graphics processor 13041 processes the image data of a static image or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1306 may include a display panel, and the display panel may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1307 includes a touch panel 13071 and at least one of other input devices 13072. The touch panel 13071 is also called a touch screen. The touch panel 13071 may include two parts: a touch detection device and a touch display. Other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (such as a volume display button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0187] The memory 1309 can be used to store software programs and various data. The memory 1309 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1309 can include a volatile memory or a non-volatile memory, or the memory 1309 can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1309 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0188] The processor 1310 may include one or more processing units; optionally, the processor 1310 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless display signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1310.
[0189] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0190] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0191] In addition, an embodiment of the present application further provides a chip, which includes a processor and a display interface, the display interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned shooting method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0192] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0193] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned shooting method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0194] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0195] In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
[0196] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0197] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A shooting method, characterized in that: include: Displaying a first window in the shooting preview interface, the first window including a first preview image and a sticker material object superimposed on the first preview image; When receiving a first input from the user, capturing a first image corresponding to the first window; During the camera rotation, a second window is displayed in the shooting preview interface, and the sticker material object is superimposed and displayed on a second preview image in the second window; capturing a second image corresponding to the second window; A panoramic image or a panoramic video is generated based on the first image and the second image.
2. The method according to claim 1, characterized in that Before displaying the first window in the shooting preview interface, the method further includes: receiving a second input from a user, where the second input is an input for the user to select a sticker material object, where the sticker material object includes at least one of the following: a sticker material image, and a sticker material video; In response to the second input, the sticker material object is displayed superimposed on the first preview image.
3. The method according to claim 2, characterized in that In response to the second input, displaying the sticker material object on the first preview image in an overlay manner, comprises: In response to the second input, based on the sticker material object, the picture content in the first preview image is recognized to obtain a first position in the first preview image that matches the sticker material object; The sticker material object is displayed in a first display area corresponding to the first position.
4. The method according to any one of claims 1 to 3, characterized in that: The sticker material object includes a first sticker material object and a second sticker material object, and the sticker material object on the first preview image is the first sticker material object; The step of displaying the sticker material object on the second preview image in the second window includes: The second sticker material object is displayed superimposed on the second preview image in the second window.
5. The method according to any one of claims 1 to 3, characterized in that: The step of displaying the sticker material object on the second preview image in the second window includes: Based on the sticker material object, the picture content in the second preview image is recognized to obtain a second position in the second preview image that matches the sticker material object; The sticker material object is displayed in a superimposed manner in a second display area corresponding to the second position in the second preview image.
6. The method according to claim 5, characterized in that The sticker material object includes a first sticker material object and a second sticker material object, the sticker material object on the first preview image is the first sticker material object, and the content of the first sticker material object and the content of the second sticker material object are continuous content; The step of recognizing the picture content in the second preview image based on the sticker material object to obtain a second position in the second preview image that matches the sticker material object includes: Based on the second sticker material object, identifying the picture content in the second preview image to obtain a third position in the second preview image that matches the second sticker material object; The third position is adjusted based on the position of the first sticker material object in the first image to obtain a second position matching the second sticker material object in the second preview image.
7. The method according to claim 1, characterized in that The sticker material object is a dynamic sticker material object, and the dynamic sticker material object includes N frames of sticker material images, and the N frames of sticker material images are cyclically displayed in the first window; The first input is an input of shooting the first image and selecting a first sticker material image from the N frames of sticker material images, the first sticker material image is any frame of sticker material image displayed in the first window when the first input is received; the first image is an image including the first preview image and the first sticker material image.
8. The method according to claim 1, characterized in that The sticker material object is a dynamic sticker material object, the dynamic sticker material object includes N frames of sticker material images, the shooting preview interface includes a first control; after displaying the first window in the shooting preview interface, the method further includes: When receiving a third input of the user to the first control, selecting a second sticker material image from the N frames of sticker material images according to the captured content in the first preview image; The second sticker material image is used as at least one of the following sticker material objects: a sticker material object superimposed and displayed on the first preview image, and a sticker material object superimposed and displayed on the second preview image.
9. The method according to claim 1, characterized in that: The sticker material object is a dynamic sticker material object, and the dynamic sticker material object includes N frames of sticker material images. The shooting preview interface also includes a second control for adjusting the display progress of the N frames of sticker material images in the first window. After the first window is displayed in the shooting preview interface, the method further includes: When receiving a fourth input from the user to the second control, displaying a third sticker material image corresponding to the fourth input overlaid on the first preview image in the first window; The method of capturing a first image corresponding to the first window upon receiving a first input from the user includes: When receiving a first input from the user, capturing a first image corresponding to the first window, the first image being an image including the first preview image and the third sticker material image; After capturing the first image corresponding to the first window, the method further includes: The N frames of sticker material images are cyclically displayed in the second window starting from a frame of sticker material image next to the third sticker material image.
10. The method according to claim 1, characterized in that The sticker material object is a custom sticker material object; Before displaying the first window in the shooting preview interface, the method further includes: Display user images from the user photo album application in the sticker material object selection interface; receiving a fifth input of a user selecting a target user image from the user images; In response to the fifth input, extracting a photographed subject image in the target user image from the target user image; The photographed subject image is used as the custom sticker material object.
11. The method according to claim 1, characterized in that The sticker material object is a custom sticker material object; Before displaying the first window in the shooting preview interface, the method further includes: Display user videos from the user's photo album app in the sticker material object selection interface; receiving a sixth input of a user selecting a target user video from the user videos; In response to the sixth input, identifying the content in the target user video to obtain a subject of the target user video; Filtering M frames of subject images where the subject is located from the target user video; Extracting a captured subject image from each frame of the M frames of captured subject images; The M frames of the photographed subject images are used as the custom sticker material objects.
12. A photographing device, characterized in that: include: A display module, configured to display a first window in the shooting preview interface, wherein the first window includes a first preview image and a sticker material object superimposed on the first preview image; a shooting module, configured to shoot a first image corresponding to the first window upon receiving a first input from a user; The display module is further used to display a second window in the shooting preview interface during the camera rotation, and to overlay and display the sticker material object on the second preview image in the second window; The shooting module is further used to shoot a second image corresponding to the second window; A generating module is used to generate a panoramic image or a panoramic video based on the first image and the second image.
13. An electronic device, characterized in that: include: A processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the shooting method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Camera system capable of loading map elements in real time
CN105551070A
Sticker display method and device, terminal and computer-readable storage medium
CN108924440A
Sticker formation apparatus
JP2005055693A
Apparatus for producing mixed reality content and method thereof
KR1020180075096A
Method for creating live preview and electronic device
US20230209152A1