Shooting method and shooting device
By obtaining the image feature information of the shooting template and the three-dimensional model of the reference object, the reference object in the shooting preview screen is adjusted to be displayed from the first perspective, which solves the problem that the shooting results cannot be reproduced under the influence of environmental factors, and achieves the consistency between the shooting results and the reference.
Patent Information
- Application Number
- CN202411947229.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-15
AI Technical Summary
Due to environmental factors, users cannot fully reproduce the referenced viewing angles, exposure parameters, etc. when shooting images or videos, resulting in inconsistent shooting results with references.
By acquiring the image feature information of the shooting template and the three-dimensional model of the reference object, the reference object in the shooting preview screen captured at the second viewing angle is adjusted to be displayed at the first viewing angle, so that the user imitates the shooting template to obtain a photographed image of the reference object displayed at the first viewing angle without changing the geographical position of the shooting module relative to the reference object.
It effectively avoids the problem that the shooting results cannot be reproduced due to environmental factors, ensures that the captured images or videos can be consistent with the reference, and improves the accuracy and consistency of the shooting.
Smart Images

Figure CN119835520A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of image processing technology, and specifically relates to a shooting method and a shooting device. Background Art
[0002] With the development of social media technology, users can browse images or videos taken by other users of a certain landmark. Users can use the images or videos of the above landmarks taken by other users as references, and refer to the perspectives, exposure parameters, etc. taken by other users to obtain similar images or videos. However, the shooting process may be affected by environmental factors, making the final image or video unable to completely replicate the referenced image or video, such as: the user's geographical location relative to the landmark, the light conditions during shooting, and the landmark being blocked by obstacles. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a shooting method and a shooting device, which can solve the problem that the shot image or video cannot replicate the referenced image or video due to environmental factors.
[0004] In a first aspect, an embodiment of the present application provides a shooting method, the method comprising:
[0005] When displaying a shooting preview picture, identifying an object in the shooting preview picture to obtain a reference object and at least one non-reference object;
[0006] Acquire image feature information of the shooting template and a three-dimensional model of a reference object, wherein the image feature information includes first-viewing angle information of the reference object;
[0007] According to the image feature information and the three-dimensional model of the reference object, the reference object in the shooting preview picture shot at the second viewing angle is adjusted to be displayed at the first viewing angle;
[0008] receiving a first input;
[0009] In response to the first input, a capture image is generated based on the capture preview screen.
[0010] In a second aspect, an embodiment of the present application provides a photographing device, including:
[0011] an identification module, used to identify objects in the shooting preview picture when the shooting preview picture is displayed, and obtain a reference object and at least one non-reference object;
[0012] A first acquisition module, used to acquire image feature information of the shooting template and a three-dimensional model of a reference object, wherein the image feature information includes first viewing angle information of the reference object;
[0013] A first adjustment module, configured to adjust the reference object in the shooting preview picture shot at the second viewing angle to be displayed at the first viewing angle according to the image feature information and the three-dimensional model of the reference object;
[0014] A first receiving module, configured to receive a first input;
[0015] The shooting module is used to generate a shooting image based on the shooting preview picture in response to the first input.
[0016] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.
[0017] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0018] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the first aspect.
[0019] 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 method of the first aspect.
[0020] In an embodiment of the present application, by acquiring image feature information of the shooting template and a three-dimensional model of the reference object, the reference object in the shooting preview screen shot at the second perspective is adjusted to be displayed at the first perspective according to the image feature information and the three-dimensional model of the reference object, so that the user can imitate the shooting template to obtain a shot image showing the reference object at the first perspective without changing the geographical location of the shooting module relative to the reference object, so as to avoid the situation where the image shot due to environmental factors cannot replicate the reference object displayed in the shooting template. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is a flowchart of a shooting method provided by an embodiment of the present application;
[0022] Figure 2 It is a schematic diagram of a shooting preview screen of a shooting method provided in an embodiment of the present application;
[0023] Figure 3 is a schematic diagram of a process of generating a shooting template in a shooting method provided in an embodiment of the present application;
[0024] Figure 4This is one of the schematic diagrams of changes in the shooting preview screen of the shooting method provided in one embodiment of the present application;
[0025] Figure 5 This is the second schematic diagram of the shooting preview screen change of the shooting method provided in one embodiment of the present application;
[0026] Figure 6 This is the third schematic diagram of the shooting preview screen change of the shooting method provided in one embodiment of the present application;
[0027] Figure 7 This is a fourth schematic diagram of changes in the shooting preview screen of the shooting method provided in an embodiment of the present application;
[0028] Figure 8 This is the fifth schematic diagram of the shooting preview screen change of the shooting method provided in one embodiment of the present application;
[0029] Fig. 9 This is the sixth schematic diagram of changes in the shooting preview screen of the shooting method provided in one embodiment of the present application;
[0030] Fig.10 This is the seventh schematic diagram of changes in the shooting preview screen of the shooting method provided in one embodiment of the present application;
[0031] Fig.11 is a structural schematic diagram of a photographing device provided by an embodiment of the present application;
[0032] Fig.12 is a structural schematic diagram of an electronic device provided by an embodiment of the present application;
[0033] Fig.13 It is a schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0034] 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.
[0035] 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 data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, 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.
[0036] The following is a detailed description of the shooting method and shooting device provided in the embodiments of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0037] See also Figure 1 , an embodiment of the present application provides a shooting method, the method comprising:
[0038] S110, when displaying a shooting preview picture, identifying an object in the shooting preview picture to obtain a reference object and at least one non-reference object;
[0039] During the process of taking photos or videos, a shooting preview screen is displayed for users to view the shooting scene or picture in real time, so that users can instantly view the shooting effect, shooting parameters, and composition. When the electronic device is in shooting preview mode, the camera module shoots at a preset frame rate to generate a shooting preview screen, and displays the shooting preview screen through the display module for users to browse.
[0040] In some embodiments of the present application, at least two shooting modes are provided. In the first shooting mode, a shooting preview screen is displayed, and the object in the shooting preview screen is not identified. When the shooting input is received, a shooting image is generated based on the shooting preview screen. In the second shooting mode, a shooting preview screen is displayed, and the object in the shooting preview screen is identified to obtain a reference object and at least one non-reference object. The second shooting mode can be a "shoot the same style" mode, and the user can manually turn on or off the "shoot the same style" mode provided in the embodiment of the present application. Exemplarily, the user can instruct the mobile phone to turn on the camera application by touching a specific control on the mobile phone screen, pressing a specific physical key or key combination, inputting a voice, making an air gesture, etc. In response to receiving an instruction from the user to turn on the camera, the camera application is started, the shooting module shoots, and the shooting preview screen is displayed. When the "shoot the same style" mode is turned on, that is, in the second shooting mode, the electronic device can identify the object displayed in the shooting preview screen. If the "shoot the same style" mode is not turned on, that is, in the first shooting mode, the electronic device displays the shooting preview screen and does not identify the object displayed in the shooting preview screen.
[0041] When the display interface displays the shooting preview screen, it also displays the setting controls, photo controls, video controls and other functional controls (such as portrait mode controls, night scene mode controls, movie mode controls or more other controls). Exemplarily, the shooting preview screen displays the first control, and the first control is used to turn on or off the "shoot the same style" mode. The user turns on the "shoot the same style" mode by clicking the first control, and identifies the object in the shooting preview screen when the shooting preview screen is displayed.
[0042] When one or more objects are displayed in the shooting preview screen, the pre-stored object detection algorithm can identify the objects in the shooting preview screen to divide them into images showing different objects. The objects can be buildings, landscapes, plants, animals, people, etc.
[0043] After identifying multiple objects in the shooting preview screen, one or more of the multiple objects can be deleted or multiple identified objects can be merged into the same object according to the user's input operation. It is also possible to determine that one of the multiple objects is a reference object and at least one object is a non-reference object according to the user's input operation. For example, see Figure 2 , the pyramid, person A and person B in the real scene are photographed, and the shooting preview screen shot in the electronic device displays the pyramid 21, person A22, person B23, person C and obstacle D. The objects in the shooting preview screen are identified, and the objects include the pyramid 21, person A22, person B23, person C25 and obstacle 24. The user can delete the person C25 in the identified object, and can also merge the person A22 in the identified object and the person B23 in the identified object into the same object. The user can also select the pyramid 21 in the identified object as a reference object, and the person A22 and person B23 merged into the same object, and the obstacle 24 in the identified object as a non-reference object.
[0044] The electronic device may also send the identified images showing different objects to a cloud server, and the cloud server may identify a reference object and at least one non-reference object among the multiple objects. Optionally, the electronic device may also send information such as the shooting location and time to the cloud server to improve the accuracy of the cloud server in distinguishing between the reference object and the non-reference object.
[0045] Optionally, the reference object is a marker with specific characteristics, including landmark buildings and iconic geological features. For example, landmark buildings can be the Sydney Opera House, the Eiffel Tower in Paris, the Tiananmen Square in Beijing, the Statue of Liberty in New York, etc. Iconic geological features can be the Hukou Waterfall of the Yellow River, Mount Fuji in Japan, the Grand Canyon in Colorado, etc.
[0046] S120, acquiring image feature information of the shooting template and a three-dimensional model of a reference object, wherein the image feature information includes first-viewing angle information of the reference object;
[0047] The shooting template may be a fused image file generated in advance based on one or more popular images or videos about the reference object. The shooting template has the common features of one or more popular images or videos. Figure 3 For example, a plurality of popular images 31 about the reference object are obtained, characteristic information of the reference object displayed in the popular images 31 is extracted, and a shooting template 32 is generated. The characteristic information includes shooting angle information of the reference object, and the shooting angle information is the first angle information of the reference object.
[0048] The image feature information may also include position information, size information, depth of field information, exposure information, color temperature information, etc. of the reference object in the shooting template.
[0049] A virtual three-dimensional model of the corresponding reference object can be generated based on the texture information, depth of field information, size information, etc. contained in the three-dimensional model. The real reference object can be scanned in advance to obtain the three-dimensional model of the reference object. The real reference object can also be photographed from multiple angles in advance, and the three-dimensional model of the reference object can be generated based on images from different shooting angles.
[0050] S130, adjusting the reference object in the shooting preview picture shot at the second viewing angle to be displayed at the first viewing angle according to the image feature information and the three-dimensional model of the reference object;
[0051] The second perspective is the perspective of the user's electronic device taking pictures of the real environment, such as Figure 4 The range shown by the dotted line is the range corresponding to the second viewing angle. The first viewing angle and the second viewing angle may be the same or different. When a user shoots a reference object in a real environment, due to environmental factors, the geographical location of the electronic device held by the user relative to the reference object cannot be maintained at the first viewing angle when shooting the reference object. By adjusting the reference object shot at the second viewing angle in the shooting preview screen to the reference object displayed at the first viewing angle, a shooting preview screen displaying the reference object at the first viewing angle can be obtained. The reference object displayed at the first viewing angle can be understood as a three-dimensional model projected at the first viewing angle on the shooting preview screen currently being shot.
[0052] It can be understood that in order to ensure the authenticity of the shooting preview screen, except for the reference object in the shooting preview screen which is adjusted to the first perspective display, the non-reference objects in the shooting preview screen are all maintained in the second perspective display state, that is, the non-reference objects in the shooting preview screen are displayed in the real perspective of the electronic device in real time.
[0053] For example, see Figure 4 , among which, Figure 4 As shown in (a), when the "shoot the same style" mode is not turned on, the electronic device shoots objects in the real environment in real time, shoots the landmark building 41 and the person 42 from a second perspective, and the generated shooting preview screen shows the side of the landmark building 41, and the person 42 stands on the right side of the landmark building 41.
[0054] like Figure 4 As shown in (b), when the "shoot the same style" mode is turned on, the electronic device shoots the objects in the real environment in real time, identifies the landmark building 41 and the person 42, and sends the identified landmark building 41 and the person 42, as well as the shooting time and location to the cloud server. The image feature information of the shooting template of the landmark building 41 and the three-dimensional model of the landmark building 41 sent by the cloud server are received, and the reference object displayed in the shooting preview screen is adjusted according to the image feature information of the shooting template and the three-dimensional model. The generated shooting preview screen displays the landmark building 41 shot from the first perspective, that is, the front of the landmark building 41 is displayed, and the person 42 shot from the second perspective is displayed.
[0055] S140, receiving a first input;
[0056] S150 , in response to the first input, generating a captured image based on the captured preview picture.
[0057] When the electronic device displays a shooting preview screen, a first input is received, and the first input may be a single click, double click, long press, etc., made on a control, image, frame, etc. displayed on the shooting preview screen, or a specific sliding gesture made, a voice command issued, etc. The first input is used to instruct the camera module to shoot an image.
[0058] In response to the first input, the camera module is mobilized to generate a captured image according to the captured preview screen. The adjusted relative spatial position relationship between the reference object and the non-reference object in the captured preview screen is the same as the relative spatial position relationship between the reference object and the non-reference object in the captured image. The reference object displayed in the first perspective in the captured preview screen is the same as the perspective of the reference object displayed in the captured image.
[0059] In the shooting method provided in the present application, by acquiring the image feature information of the shooting template and the three-dimensional model of the reference object, the reference object in the shooting preview screen shot at the second perspective is adjusted to be displayed at the first perspective according to the image feature information and the three-dimensional model of the reference object, so that the user can imitate the shooting template to obtain a shot image showing the reference object at the first perspective without changing the geographical location of the shooting module relative to the reference object, so as to avoid the situation where the image shot due to environmental factors cannot replicate the reference object displayed in the shooting template.
[0060] In some embodiments, after S130, the following steps are included:
[0061] S210: Adjust the relative spatial position relationship between the reference object and at least one non-reference object in the shooting preview picture according to the image feature information.
[0062] The image feature information of the shooting template includes the spatial position relationship between the reference object and the non-reference object in the shooting template, and the relative spatial position relationship between the reference object and the at least one non-reference object in the shooting preview screen can be adjusted according to the spatial position relationship of the shooting template. The image feature information of the shooting template can also include the spatial position relationship of the preset reference object and the non-reference object, and the relative spatial position relationship between the reference object and the at least one non-reference object in the shooting preview screen can be adjusted according to the preset spatial position relationship of the reference object and the non-reference object.
[0063] Adjust the relative spatial position relationship between the reference object and at least one non-reference object in the shooting preview screen so that the displayed reference object and non-reference object can replicate the spatial position relationship of the shooting template, avoid a serious sense of disharmony caused by a large difference in size and position of the reference object and non-reference object, and make the display of the reference object and non-reference object in the shooting preview screen conform to real visual habits.
[0064] In some embodiments, S210 may include at least one of the following:
[0065] When the image feature information includes size information of the reference object in the template image, adjusting the relative size ratio of the reference object and at least one non-reference object in the shooting preview image according to the size information of the reference object in the template image;
[0066] When the image feature information includes position information of the reference object in the template image, adjusting the relative display positions of the reference object and at least one non-reference object in the shooting preview screen according to the position information of the reference object in the template image;
[0067] When the image feature information includes depth information of the reference object in the template image, the relative depths of the reference object and at least one non-reference object in the shooting preview image are adjusted according to the depth information of the reference object in the template image.
[0068] For example, see Figure 4 , among which, Figure 4 As shown in (a), when the "shoot the same style" mode is not turned on, the electronic device shoots objects in the real environment in real time, shoots the landmark building 41 and the person 42 from a second perspective, and the generated shooting preview screen shows the side of the landmark building 41, and the person 42 stands on the right side of the landmark building 41.
[0069] like Figure 4As shown in (b), when the "shoot the same style" mode is turned on, the image feature information of the shooting template of the landmark building 41 and the three-dimensional model of the landmark building 41 are obtained, and the reference object displayed in the shooting preview screen is adjusted according to the image feature information and the three-dimensional model of the shooting template. The generated shooting preview screen displays the landmark building 41 shot from the first perspective, that is, the front of the landmark building 41 is displayed; the generated shooting preview screen displays the person 42 shot from the second perspective standing in front of the landmark building 41, and the person 42 is displayed in a larger size relative to the landmark building 41.
[0070] In some embodiments, the image feature information may further include visual effect parameters, which may include filter parameters, sticker parameters, subtitle parameters, etc. After S130, visual effects may be added to the preview image according to the image feature information.
[0071] In some embodiments, after S110, the following steps are included:
[0072] Establish corresponding layers for the reference object and each non-reference object respectively;
[0073] S130 includes:
[0074] Adjust the reference object to display in the first person perspective for the layer that displays the reference object;
[0075] S210 includes:
[0076] At least one of a relative size relationship, a relative position relationship, and a relative depth relationship between a layer displaying a reference object and each layer displaying non-reference objects in a shooting preview screen is adjusted according to the image feature information.
[0077] By creating separate layers for reference objects and non-reference objects, it is convenient to adjust the reference objects and non-reference objects independently of other layers.
[0078] In some embodiments, the shooting preview screen is a fused image including multiple layers, where the multiple layers include a layer for displaying a reference object and a layer for displaying a non-reference object; after S130, the following steps are included:
[0079] S310, receiving a second input of a first layer among the multiple layers;
[0080] S320: In response to the second input, adjust the spatial position of the object displayed in the first layer in the shooting preview picture.
[0081] When the shooting preview screen adjusted by the image feature information and the three-dimensional model does not meet the user's requirements, the user can make a second input to the first layer among the multiple layers to adjust the size, position, depth of field, layer order and other spatial positions of the object displayed by the first layer in the shooting preview screen. When the first layer is a layer for displaying reference objects, the objects displayed by the first layer are reference objects; when the first layer is a layer for displaying non-reference objects, the objects displayed by the first layer are non-reference objects.
[0082] Since the user can trigger the conventional functions of multiple non-adjustment layers by performing multiple conventional inputs on the shooting preview screen. Conventional functions may include adjusting the brightness of the shooting preview screen, adjusting the focal length of the shooting preview screen, adjusting the exposure time of the captured image, etc. A locked state and an unlocked state may be set for the shooting preview screen to distinguish the conventional input and the second input performed by the user on the preview interface. The user can manually switch between the locked state and the unlocked state. Exemplarily, the user can indicate the switch between the locked state and the unlocked state by touching a specific control on the mobile phone screen, pressing a specific physical key or key combination, inputting a voice, performing an air gesture, etc. Exemplarily, the shooting preview screen displays a second control, and the second control is used to switch between the locked state and the unlocked state. The user switches to the unlocked state by clicking the second control and executes S310. The user switches to the locked state by clicking the second control, and does not respond when receiving the second input to the first layer of the multiple layers.
[0083] The second input may be a click, a long press, a rotation, a zoom, a translation, etc. of a first layer among the multiple layers.
[0084] Optionally, a translation input for a first layer among the multiple layers is received; in response to the translation input, a display position of an object displayed in the first layer in the shooting preview screen is adjusted. Figure 5 ,like Figure 5 As shown in (a), the person 42 is located in front of the right side of the landmark building 41, and the person 42 is selected and translated; Figure 5 As shown in (b), the person 42 is located in front of the left side of the landmark building 41.
[0085] Optionally, a rotation input of a first layer among the multiple layers is received; in response to the rotation input, an object displayed in the first layer in the shooting preview screen is rotated. Figure 6 ,like Figure 6 As shown in (a), the landmark building 41 is displayed in the horizontal direction, and the landmark building 41 is selected and rotated; Figure 6 As shown in (b), the landmark building 41 is deflected at a certain angle.
[0086] Optionally, a two-finger movement input is received for a first layer of the multiple layers; in response to the two-finger movement input, an object displayed in the first layer is scaled in the shooting preview screen. Figure 7 ,like Figure 7 As shown in (a), the character 42 is displayed in the first size, the character 42 is selected, and two fingers are moved away from each other; Figure 7 As shown in (b), the character 42 is displayed in a larger size.
[0087] In some embodiments, the shooting preview screen is a fused image including multiple layers, where the multiple layers include a layer for displaying a reference object and a layer for displaying a non-reference object; after S130, the following steps are included:
[0088] S410, receiving a third input of a second layer displaying a reference object among the multiple layers;
[0089] S420, in response to the third input, switching the display state of the second layer to an unlocked state;
[0090] S430, obtaining a change angle of viewing angle for shooting a preview image;
[0091] S440, generating a third perspective according to the perspective change angle and the first perspective;
[0092] S450: According to the three-dimensional model, the reference object in the second layer is adjusted to be displayed in a third perspective.
[0093] The area where the reference object is displayed in the shooting preview screen can be long-pressed to select the second layer, display the lock control associated with the second layer, and click the lock control to switch the display state of the second layer between the locked state and the unlocked state. The second layer can be set to be in the locked state by default to prevent the reference object displayed in the shooting preview screen from changing as the viewing angle of the shooting preview screen changes.
[0094] When the user moves the electronic device, the viewing angle of the preview image captured by the camera module in the electronic device changes, and the viewing angle change angle is used to characterize the amount and direction of the change in the shooting viewing angle. Since the three-dimensional model is obtained, the reference object displayed in the first viewing angle can change along with the viewing angle change angle.
[0095] In some embodiments, when the second layer is selected and a lock control associated with the second layer is displayed, a layer adjustment control is also displayed, and a click input to the layer adjustment control is received to adjust the order of the second layer in the multiple layers.
[0096] For example, see Figure 8 ,like Figure 8As shown in (a), after the "shoot the same style" mode is turned on, the generated shooting preview screen shows the landmark building 41 shot from the first perspective, that is, the front of the landmark building 41 is shown; the generated shooting preview screen shows the person 42 shot from the second perspective standing in front of the landmark building 41. Figure 8 As shown in (b), the user moves the electronic device, and the person 42 displayed in the shooting preview screen changes with the shooting angle, and the display state of the landmark building 41 is in a locked state, and the angle of displaying the landmark building 41 does not change with the shooting angle.
[0097] like Fig. 9 As shown in (a), after the "shoot the same style" mode is turned on, the generated shooting preview screen shows the landmark building 41 shot from the first perspective, that is, the front of the landmark building 41 is shown; the generated shooting preview screen shows the person 42 shot from the second perspective standing in front of the landmark building 41. Fig. 9 As shown in (b), long press the area showing the landmark building 41 in the shooting preview screen to select the second layer of the landmark building 41, and the floating window displays the lock control 91 and the layer adjustment control 92 associated with the second layer. Click the lock control 91 to switch the display state of the second layer to the unlocked state. Fig. 9 As shown in (c), the user moves the electronic device, and the person 42 displayed in the shooting preview screen changes with the shooting angle. The landmark building 41 is in an unlocked state, and the angle of displaying the landmark building 41 changes with the shooting angle.
[0098] In some embodiments, the layer where the first non-reference object is located can be selected from at least one non-reference object, and the display state of the layer can be switched from an unlocked state to a locked state, so that the layer displaying the first non-reference object does not change with the shooting angle, and the layers of other non-reference objects in the unlocked state change in real time with the shooting angle.
[0099] In some embodiments, the shooting preview screen is a fused image including multiple layers, where the multiple layers include a layer for displaying reference objects and a layer for displaying non-reference objects; S130 includes:
[0100] S510, receiving a fourth input of a second layer displaying a reference object among the multiple layers;
[0101] S520, in response to a fourth input, obtaining a first sight adjustment angle;
[0102] S530, generating a fourth perspective according to the first sight line adjustment angle and the first perspective;
[0103] S540: According to the three-dimensional model, in the shooting preview screen, adjust the reference object in the second layer to be displayed at a fourth viewing angle.
[0104] The perspective of displaying the reference object is the core of the photo. The first sight adjustment angle is the angle that the user needs to adjust to shoot the reference object displayed in the preview screen. Since there is a three-dimensional model of the reference object, the reference object can be adjusted to display in the fourth perspective according to user needs in the shooting preview screen, realizing the rotation, scaling, translation, etc. of the reference object in the three-dimensional space.
[0105] For example, see Fig.10 ,like Fig.10 As shown in (a), after the "shoot the same style" mode is turned on, the generated shooting preview screen shows the landmark building 41 shot from the first perspective, that is, the front of the landmark building 41 is shown; the generated shooting preview screen shows the person 42 shot from the second perspective standing in front of the landmark building 41. Fig.10 As shown in (b), a two-finger operation is performed on the area displaying the landmark building 41 in the shooting preview screen to select the second layer of the landmark building 41. The landmark building 41 photographed from the fourth perspective is displayed according to the moving trajectory of the two fingers, that is, the landmark building 41 is displayed with a deflection, and the left part of the landmark building 41 obscures the main part of the landmark building 41.
[0106] In some embodiments, S150 includes:
[0107] S610, in the photography mode, generating a captured image based on the captured preview screen;
[0108] S620, in the video recording mode, generating a video file including a plurality of captured images according to the captured preview screen displayed on the captured preview screen.
[0109] When the camera application or electronic device is in photography mode, clicking the photography control generates a captured image based on the shooting preview screen. The reference object and non-reference object displayed in the captured image are consistent with the reference object and non-reference object displayed in the preview interface.
[0110] When the camera application or electronic device is in recording mode, click the recording control, and multiple frames of shooting images are generated in sequence according to the shooting preview screen displayed on the shooting preview screen to form a video file. For the recording mode, the shooting template can be a video template about the reference object. During the recording process, the shooting preview screen adjusts the screen in real time according to the spatial information of the image of the same time frame in the shooting template to ensure that the spatial position of the video file recorded by the user and the reference object displayed in the video template are consistent.
[0111] In some embodiments, in the video recording mode, a video file including a plurality of captured images is generated according to the captured preview screen displayed on the captured preview screen, including:
[0112] S710, in the shooting preview screen, at least one non-reference object changes with the shooting perspective;
[0113] S720, adjusting the display viewing angle of the reference object in the shooting preview picture according to the three-dimensional model so that the viewing angle of the shooting preview picture changes as the shooting viewing angle of the shooting preview picture changes;
[0114] S730, generating a video file according to the shooting preview picture.
[0115] During the process of recording a video, if the user moves the electronic device, the shooting angle of the non-reference objects in the real environment changes, and the non-reference objects in the shooting preview screen change in real time with the shooting angle. If the reference object in the shooting preview screen remains displayed in the first perspective, the recorded video file lacks a sense of reality. Through S720, the display angle of the reference object in the shooting preview screen changes with the shooting angle of the shooting preview screen, thereby improving the sense of reality of the recorded video file. For example: in the shooting preview screen, person A is located directly in front of a landmark building, and the user moves the camera module relatively located in front of person A to the right side of person A, then the shooting preview screen moves from the front of the landmark building to the front of the landmark building displayed from the side.
[0116] In some implementations, the shooting preview screen is a fused image including multiple layers, where the multiple layers include a layer for displaying a reference object and a layer for displaying a non-reference object; and the method further includes:
[0117] S810, receiving a fifth input of a second layer displaying a reference object among the plurality of layers when a video file is generated according to the shooting preview picture;
[0118] S820: In response to the fifth input, adjust the spatial position of the reference object in the shooting preview picture, and generate a video file including a changed picture of the reference object in the shooting preview picture.
[0119] When a video file is generated according to the shooting preview screen, each frame of the video file is continuously generated according to the shooting preview screen. A fifth input is received for a second layer displaying a reference object in multiple layers, and the size, position, depth of field, layer sorting and other spatial positions of the reference object displayed in the second layer in the shooting preview screen can be adjusted according to the fifth input. The generated video file includes the changing process of the reference object in the shooting preview screen to achieve a magical display effect. For example: if the reference object is rotated, the recorded video file shows the process of the reference object gradually rotating.
[0120] When the user switches to the paused recording state through the "Pause / Continue" control, the shooting preview screen is displayed, and the generation of the shooting image based on the shooting preview screen is paused. The user can make the aforementioned adjustments to the reference object and non-reference object in the shooting preview screen. When the user switches to the recording state through the "Pause / Continue" control, the adjusted shooting preview screen is displayed, and the shooting image is generated based on the adjusted shooting preview screen. The recorded video file does not display the adjustment process of the reference object and non-reference object in the paused recording state.
[0121] In some embodiments, the captured image is a fused image including multiple layers, wherein the multiple layers include a layer displaying a reference object and a layer displaying a non-reference object; and the method further includes:
[0122] receiving a sixth input of a third layer of the plurality of layers of the captured image;
[0123] In response to the sixth input, a spatial position of the object displayed in the third layer in the captured image is adjusted.
[0124] For the generated captured images, the third layer that needs to be adjusted can be selected, and the size, position, depth of field, layer order and other spatial positions of the reference object displayed in the third layer can be adjusted in the captured images to achieve re-editing of the captured images.
[0125] 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, the shooting method is executed by a shooting device as an example to illustrate the shooting device provided in the embodiment of the present application.
[0126] See also Fig.11 , Fig.11 is a structural schematic diagram of a photographing device provided by another embodiment of the present application, such as Fig.11 As shown, the shooting device may include:
[0127] The identification module 1101 is used to identify the object in the shooting preview picture when the shooting preview picture is displayed, and obtain a reference object and at least one non-reference object;
[0128] A first acquisition module 1102 is used to acquire image feature information of the shooting template and a three-dimensional model of a reference object, where the image feature information includes first viewing angle information of the reference object;
[0129] A first adjustment module 1103, configured to adjust the reference object in the shooting preview picture shot at the second viewing angle to be displayed at the first viewing angle according to the image feature information and the three-dimensional model of the reference object;
[0130] A first receiving module 1104, configured to receive a first input;
[0131] The shooting module 1105 is configured to generate a shooting image based on the shooting preview screen in response to a first input.
[0132] In an optional example, based on the image feature information and the three-dimensional model of the reference object; the shooting device further includes:
[0133] The second adjustment module is used to adjust the relative spatial position relationship between the reference object and at least one non-reference object in the shooting preview picture according to the image feature information.
[0134] In an optional example, the shooting preview screen is a fused image including multiple layers, where the multiple layers include a layer displaying a reference object and a layer displaying a non-reference object; the shooting device further includes:
[0135] A second receiving module, configured to receive a second input of a first layer among the plurality of layers;
[0136] The third adjustment module is used to adjust the spatial position of the object displayed in the first layer in the shooting preview picture in response to the second input.
[0137] In an optional example, the shooting preview screen is a fused image including multiple layers, where the multiple layers include a layer displaying a reference object and a layer displaying a non-reference object; the shooting device further includes:
[0138] A third receiving module, used for receiving a third input of a second layer displaying a reference object among the multiple layers;
[0139] A first locking module, configured to switch the display state of the second layer to an unlocked state in response to a third input;
[0140] The second acquisition module is used to acquire the change angle of the viewing angle of the shooting preview picture;
[0141] A first viewing angle generating module, used for generating a third viewing angle according to the viewing angle change angle and the first viewing angle;
[0142] The fourth adjustment module is used to adjust the reference object in the second layer to be displayed at a third viewing angle according to the three-dimensional model.
[0143] In an optional example, the shooting preview screen is a fused image including multiple layers, where the multiple layers include a layer displaying a reference object and a layer displaying a non-reference object; the shooting device further includes:
[0144] A fourth receiving module, configured to receive a fourth input of a second layer displaying a reference object among the plurality of layers;
[0145] A third acquisition module, configured to acquire a first sight adjustment angle in response to a fourth input;
[0146] A second viewing angle generating module, used to generate a fourth viewing angle according to the first sight line adjustment angle and the first viewing angle;
[0147] The fifth adjustment module is used to adjust the reference object in the second layer to be displayed at a fourth viewing angle in the shooting preview screen according to the three-dimensional model.
[0148] In an optional example, the shooting module 1105 includes:
[0149] A photographing unit, used to generate a photographed image based on a photographing preview screen when in a photographing mode;
[0150] The video recording unit is used to generate a video file including a plurality of captured images according to a captured preview screen displayed on the captured preview screen when in a video recording mode.
[0151] In an optional example, the video recording unit is further used to change the shooting angle of view of at least one non-reference object in the shooting preview picture;
[0152] According to the three-dimensional model, adjusting the display viewing angle of the reference object in the shooting preview picture to change with the shooting viewing angle of the shooting preview picture;
[0153] Generate a video file based on the shooting preview screen.
[0154] In an optional example, the shooting preview screen is a fused image including multiple layers, where the multiple layers include a layer displaying a reference object and a layer displaying a non-reference object; the shooting device further includes:
[0155] a fifth receiving module, configured to receive a fifth input of a second layer displaying a reference object among the plurality of layers when a video file is generated according to the shooting preview picture;
[0156] The sixth adjustment module is used to adjust the spatial position of the reference object in the shooting preview picture in response to the fifth input, and the generated video file includes the change process of the reference object in the shooting preview picture.
[0157] 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., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), an ATM or an automated machine, etc., augmented reality (augmented reality, AR), virtual reality (virtual reality, VR) devices, etc., which are not specifically limited in the embodiment of the present application.
[0158] The extended reality 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.
[0159] The shooting device provided in the embodiment of the present application can achieve Figures 1 to 10 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0160] Alternatively, if Fig.12 As shown, an embodiment of the present application further provides an electronic device 100, including a processor 101 and a memory 102, wherein the memory 102 stores programs or instructions that can be executed on the processor 101, and when the program or instructions are executed by the processor 101, 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.
[0161] 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.
[0162] Fig.13 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0163] The electronic device 1000 includes but is not limited to components such as a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
[0164] Those skilled in the art will appreciate that the electronic device 1000 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 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. 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.
[0165] The processor 810 is used to identify the object in the shooting preview picture when displaying the shooting preview picture, and obtain a reference object and at least one non-reference object;
[0166] The processor 810 is used to obtain image feature information of the shooting template and a three-dimensional model of the reference object, where the image feature information includes first-viewing angle information of the reference object;
[0167] The processor 810 is used to adjust the reference object in the shooting preview picture shot at the second perspective to be displayed at the first perspective according to the image feature information and the three-dimensional model of the reference object;
[0168] The processor 810 is configured to receive a first input;
[0169] The processor 810 is configured to generate a captured image based on the captured preview screen in response to a first input.
[0170] Optionally, the processor 810 is configured to adjust the relative spatial position relationship between the reference object and at least one non-reference object in the shooting preview picture according to the image feature information.
[0171] Optionally, the shooting preview screen is a fused image including multiple layers, where the multiple layers include a layer for displaying a reference object and a layer for displaying a non-reference object; the processor 810 is configured to receive a second input for a first layer among the multiple layers;
[0172] The processor 810 is used to adjust the spatial position of the object displayed in the first layer in the shooting preview screen in response to the second input.
[0173] Optionally, the shooting preview screen is a fused image including multiple layers, wherein the multiple layers include a layer displaying a reference object and a layer displaying a non-reference object; the processor 810 is configured to receive a third input of a second layer displaying a reference object in the multiple layers;
[0174] The processor 810 is configured to switch the display state of the second layer to an unlocked state in response to a third input;
[0175] The processor 810 is used to obtain the change angle of the viewing angle of shooting the preview picture;
[0176] The processor 810 is used to generate a third perspective according to the perspective change angle and the first perspective;
[0177] The processor 810 is used to adjust the reference object in the second layer to be displayed at a third viewing angle according to the three-dimensional model.
[0178] Optionally, the shooting preview screen is a fused image including multiple layers, wherein the multiple layers include a layer displaying a reference object and a layer displaying a non-reference object; the processor 810 is configured to receive a fourth input of a second layer displaying a reference object in the multiple layers;
[0179] The processor 810 is configured to obtain a first sight adjustment angle in response to a fourth input;
[0180] The processor 810 is used to generate a fourth perspective according to the first line of sight adjustment angle and the first perspective;
[0181] The processor 810 is used to adjust the reference object in the second layer to be displayed at a fourth perspective in the shooting preview screen according to the three-dimensional model.
[0182] Optionally, the processor 810 is configured to generate a captured image based on a captured preview screen when in a photography mode;
[0183] The processor 810 is used to generate a video file including a plurality of captured images according to a capture preview screen displayed on the capture preview screen when in the video recording mode.
[0184] Optionally, the processor 810 is used to change the shooting perspective of at least one non-reference object in the shooting preview picture;
[0185] The processor 810 is used to adjust the display viewing angle of the reference object in the shooting preview picture according to the three-dimensional model so that the shooting viewing angle of the shooting preview picture changes;
[0186] The processor 810 is used to generate a video file according to the captured preview image.
[0187] Optionally, the shooting preview screen is a fused image including multiple layers, where the multiple layers include a layer displaying a reference object and a layer displaying a non-reference object; the processor 810 is configured to receive a fifth input of a second layer displaying a reference object in the multiple layers when generating a video file according to the shooting preview screen;
[0188] The processor 810 is used to adjust the spatial position of the reference object in the shooting preview picture in response to the fifth input, and the generated video file includes the change process of the reference object in the shooting preview picture.
[0189] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0190] The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may 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 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may 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 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0191] The processor 810 may include one or more processing units; optionally, the processor 810 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 communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.
[0192] 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.
[0193] 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.
[0194] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication 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.
[0195] 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.
[0196] 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.
[0197] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out 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 reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0198] 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.
[0199] 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: When displaying a shooting preview picture, identifying an object in the shooting preview picture to obtain a reference object and at least one non-reference object; Acquire image feature information of a shooting template and a three-dimensional model of the reference object, wherein the image feature information includes first viewing angle information of the reference object; According to the image feature information and the three-dimensional model of the reference object, adjusting the reference object in the shooting preview picture shot at the second viewing angle to be displayed at the first viewing angle; receiving a first input; In response to the first input, a captured image is generated based on the captured preview screen.
2. The shooting method according to claim 1, characterized in that: The method according to the image feature information and the three-dimensional model of the reference object; after adjusting the reference object in the shooting preview picture shot at the second viewing angle to be displayed at the first viewing angle, comprises: According to the image feature information, the relative spatial position relationship between the reference object and the at least one non-reference object in the shooting preview picture is adjusted.
3. The shooting method according to claim 1, characterized in that: The shooting preview screen is a fused image including multiple layers, wherein the multiple layers include a layer displaying the reference object and a layer displaying the non-reference object; and adjusting the reference object in the shooting preview screen shot at the second viewing angle to be displayed at the first viewing angle according to the image feature information and the three-dimensional model of the reference object, comprising: receiving a second input for a first layer of the plurality of layers; In response to the second input, a spatial position of the object displayed in the first layer in the shooting preview screen is adjusted.
4. The shooting method according to claim 1, characterized in that: The shooting preview screen is a fused image including multiple layers, wherein the multiple layers include a layer displaying the reference object and a layer displaying the non-reference object; and adjusting the reference object in the shooting preview screen shot at the second viewing angle to be displayed at the first viewing angle according to the image feature information and the three-dimensional model of the reference object, comprising: receiving a third input for a second layer of the plurality of layers displaying the reference object; In response to the third input, switching the display state of the second layer to an unlocked state; Obtaining a change in viewing angle for shooting the shooting preview image; generating a third perspective according to the perspective change angle and the first perspective; According to the three-dimensional model, the reference object in the second layer is adjusted to be displayed at the third viewing angle.
5. The shooting method according to claim 1, characterized in that: The shooting preview screen is a fused image including multiple layers, wherein the multiple layers include a layer displaying the reference object and a layer displaying the non-reference object; and adjusting the reference object in the shooting preview screen shot at the second viewing angle to be displayed at the first viewing angle according to the image feature information and the three-dimensional model of the reference object, comprising: receiving a fourth input for a second layer of the plurality of layers displaying the reference object; In response to the fourth input, obtaining a first sight adjustment angle; Generating a fourth perspective according to the first sight adjustment angle and the first perspective; According to the three-dimensional model, in the shooting preview screen, the reference object in the second layer is adjusted to be displayed at the fourth viewing angle.
6. A photographing device, characterized in that: include: an identification module, configured to identify objects in the shooting preview picture when the shooting preview picture is displayed, and obtain a reference object and at least one non-reference object; A first acquisition module, used to acquire image feature information of a shooting template and a three-dimensional model of the reference object, wherein the image feature information includes first viewing angle information of the reference object; A first adjustment module, configured to adjust the reference object in the shooting preview picture shot at a second viewing angle to be displayed at the first viewing angle according to the image feature information and the three-dimensional model of the reference object; A first receiving module, configured to receive a first input; The shooting module is used to generate a shooting image based on the shooting preview screen in response to the first input.
7. The photographing device according to claim 6, characterized in that: According to the image feature information and the three-dimensional model of the reference object; the shooting device also includes: The second adjustment module is used to adjust the relative spatial position relationship between the reference object and the at least one non-reference object in the shooting preview picture according to the image feature information.
8. The photographing device according to claim 6, characterized in that: The shooting preview screen displays a fused image including multiple layers, wherein the multiple layers include a layer displaying the reference object and a layer displaying the non-reference object; the shooting device further includes: A second receiving module, configured to receive a second input of a first layer among the plurality of layers; The third adjustment module is used to adjust the spatial position of the object displayed in the first layer in the shooting preview screen in response to the second input.
9. The photographing device according to claim 6, characterized in that: The shooting preview screen displays a fused image including multiple layers, wherein the multiple layers include a layer displaying the reference object and a layer displaying the non-reference object; the shooting device further includes: A third receiving module, configured to receive a third input of a second layer in the plurality of layers displaying the reference object; A first locking module, configured to switch the display state of the second layer to an unlocked state in response to the third input; A second acquisition module is used to acquire a change angle of viewing angle for shooting the shooting preview picture; A first viewing angle generating module, used for generating a third viewing angle according to the viewing angle change angle and the first viewing angle; The fourth adjustment module is used to adjust the reference object in the second layer to be displayed at the third viewing angle according to the three-dimensional model.
10. The photographing device according to claim 6, characterized in that: The shooting preview screen displays a fused image including multiple layers, wherein the multiple layers include a layer displaying the reference object and a layer displaying the non-reference object; the shooting device further includes: a fourth receiving module, configured to receive a fourth input of a second layer in the plurality of layers displaying the reference object; A third acquisition module, configured to acquire a first sight adjustment angle in response to the fourth input; A second viewing angle generating module, configured to generate a fourth viewing angle according to the first sight line adjustment angle and the first viewing angle; A fifth adjustment module is used to adjust the reference object in the second layer to be displayed at the fourth viewing angle in the shooting preview screen according to the three-dimensional model.
Citation Information
Patent Citations
Method and device for generating group photo, and electronic equipment
CN107451953A
Photographing method and device
CN112839164A
Image synthesis method and device, electronic equipment and computer readable storage medium
CN112927176A
Shooting method, terminal and computer readable storage medium
CN113301242A
Picture shooting and sharing method and electronic equipment
CN117793522A