Shooting method and electronic equipment

By displaying reference pictures and object contour lines in the shooting preview interface on electronic devices, users can complete imitation and shooting operations, solving the problem of low shooting efficiency and quality in imitation and shooting scenes, and achieving more efficient and high-quality imitation and shooting effects .

CN119233076APending Publication Date: 2024-12-31HUAWEI TECH CO LTD

Patent Information

Application Number
CN202310777142.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-28
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In imitation shooting scenarios, it is difficult for the existing technology to improve the shooting efficiency and shooting quality of electronic devices. Users need to frequently switch reference image works and camera applications, resulting in low efficiency and low photo quality.

Method used

By displaying reference pictures and shooting preview interfaces for imitation shots on electronic devices, and displaying outlines matching objects in the reference picture on the shooting preview interface, assisting users in completing imitation shots, including displaying reference samples, scene matching and Adjust shooting parameters.

Benefits of technology

The shooting efficiency and photo quality in imitation shot scenes are improved, allowing users to compare reference pictures and preview interfaces more directly, ensuring that the subject and parameters are consistent with the reference pictures, thereby improving the success rate and efficiency of imitation shots.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119233076A_ABST
    Figure CN119233076A_ABST
Patent Text Reader

Abstract

The invention provides a shooting method and electronic equipment, and the electronic equipment can display a first picture used for imitation shooting and a shooting preview interface at the same time, and can display a first contour line used for indicating the contour of a shooting object in the first picture on the shooting preview interface. In the shooting process, the first picture and the first contour line can be used for assisting the user in shooting a picture similar to the first picture. The shooting method provided by the invention is high in shooting efficiency, the similarity between the picture shot by the electronic equipment and the first picture is high, the quality is good, the energy consumption of the electronic equipment in the shooting process can be reduced to a certain extent, and the shooting experience of a user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal device software, and in particular, to a shooting method and an electronic device. Background Art

[0002] Electronic devices, such as mobile phones, have become an important way for users to record their lives. Photography is a common recording method, and the user experience of the photography and video functions of electronic devices is becoming an increasingly important factor in evaluating electronic devices.

[0003] Imitation photography is a common shooting scenario. How to improve the efficiency and quality of photo or video shooting of electronic devices in imitation photography scenarios and enhance the user experience is a question worth considering. Summary of the invention

[0004] The present application provides a shooting method and an electronic device, wherein the electronic device can simultaneously display a first picture for imitation shooting and a shooting preview interface, and a first contour line can be displayed on the shooting preview interface, and the first contour line matches the contour of a first object in the first picture. During the imitation shooting process, with the help of the first contour line, the user can more directly compare the shooting preview interface displayed by the electronic device with the first picture, which is conducive to improving the shooting efficiency and shooting quality of photos or videos in the imitation shooting scene.

[0005] In a first aspect, a shooting method is provided, which can be applied to an electronic device including a first display screen and a camera, the method comprising: receiving a first input from a user; in response to the first input, displaying a first picture through a first display area of ​​the first display screen, and displaying a shooting preview interface through a second display area of ​​the first display screen, wherein the first picture includes a first object; the second display area also displays a first contour line, wherein the first contour line corresponds to the contour of the first object; in response to detecting a preset input, saving the image acquired by the camera as a photo.

[0006] In some examples, the first display area and the second display area are both displayed in split-screen windows, or the second display area is displayed in a full-screen window and the first display area is displayed in a floating window.

[0007] The first image may refer to a reference image work selected by the user for imitation in the imitation shooting scene, and the first image may also be called a comparison sample. The first contour line may refer to the outline of one or more characters, and the first contour line may also refer to the outline of a building or a scene. The outline of a character may be used to indicate the posture of the character in the first image.

[0008] In this technical solution, the electronic device displays the first picture and the framing screen of the photo, and the photo interface has a first outline for indicating the outline of the person, building or scenery in the first picture, and the first picture and the first outline can be used to assist the user to complete the imitation photo. The implementation of this technical solution is conducive to improving the efficiency and quality of electronic device photo taking in the imitation photo scene.

[0009] In combination with the first aspect, in some implementations of the first aspect, before receiving a first input from a user, the first control and the first picture are displayed through the first display screen, and the first input is an input acting on the first control.

[0010] In a possible implementation, the first picture may be stored in a local storage medium of the electronic device (eg, a picture taken by a user), or the first picture may be obtained from a server or other electronic device via a network.

[0011] The first control can also be called a "sample analysis" control. The user can trigger the electronic device to analyze the first picture by inputting the first control, so that the electronic device can provide a contour line indicating the person, building or scenery in the first picture on the shooting interface to assist the user in imitating the picture.

[0012] In this technical solution, the user can manually turn on the sample analysis function of the electronic device, and the electronic device can identify the person, building or scenery in the sample according to the content of the first picture, and display the contour lines indicating the posture of the person or the shape and outline of the building or scenery in the first picture on the shooting interface. Taking the shooting object as a person as an example, the contour lines can be used to assist the shooting object to make similar movements and postures as the person in the first picture, which is conducive to shooting photos similar to the first picture, thereby improving the shooting quality of photos in the imitation shooting scene.

[0013] In combination with the first aspect, in certain implementations of the first aspect, before receiving a first input from the user, a second control and a shooting preview interface of the camera are displayed through the first display screen, and the first input is an input acting on the second control.

[0014] The second control may also be referred to as a "scene parsing" control, and the user may trigger the electronic device to obtain current scene information by inputting information into the second control.

[0015] In a possible implementation, the scene of the first picture matches the scene displayed in the shooting preview interface displayed in the second display area. Exemplarily, the scene elements contained in the scene of the first picture are identical, partially identical, or similar to the scene elements contained in the scene displayed in the shooting preview interface. Exemplarily, the scene displayed in the shooting preview interface includes the first scene element, the second scene element, and the third scene element, then the scene of the first picture may include at least one of the aforementioned three scene elements. Scene elements may refer to the scenery, buildings, etc. that make up the scene, such as green mountains, white clouds, or blue sky.

[0016] In this technical solution, the user can manually turn on the scene recognition function of the electronic device, and the electronic device can provide the user with a first picture containing a similar or identical scene according to the recognized scene. The implementation of this technical solution is conducive to improving the efficiency of the electronic device in imitation photography. Since the scene of the first picture is similar to the current scene, the technical solution is also conducive to improving the similarity between the photo obtained by imitation photography and the first picture, thereby improving the quality of imitation photography.

[0017] In combination with the first aspect, in some implementations of the first aspect, the first picture is determined based on location information of the electronic device and / or a picture captured by the camera.

[0018] In a possible implementation, the images captured by the camera may include scene information and / or person information.

[0019] In the present technical solution, the electronic device can provide the user with a first picture for reference in imitation shooting based on one or more of location information, scene information or character information. The first picture matches the scene, location or character that the user is about to shoot, which is conducive to improving the similarity between the photo obtained by the imitation shooting and the first picture, thereby improving the quality of the imitation shooting.

[0020] In combination with the first aspect, in some implementations of the first aspect, the first object includes one or more of the following: a person, a building, or a scenery, and the number of the person is one or more.

[0021] In combination with the first aspect, in certain implementations of the first aspect, before displaying the first picture through the first display area of ​​the first display screen, at least one picture is displayed through the first display area, and the at least one picture includes the first picture. In response to the user selecting the first picture, the first picture is displayed through the first display area.

[0022] In this technical solution, the user can select or reselect the first picture on the imitation shooting interface during the imitation shooting process. The implementation of this technical solution is conducive to improving the efficiency of the electronic device in displaying pictures for imitation shooting reference, and is conducive to improving the probability of the electronic device taking pictures that meet the user's needs.

[0023] In combination with the first aspect, in certain implementations of the first aspect, the first display area or the second display area also displays a third control, and in response to a second input, adjusts the shooting parameters of the electronic device according to the shooting parameters of the first picture, the second input is an input acting on the third control, and the shooting parameters of the electronic device and the shooting parameters of the first picture include one or more of the following: aperture, focal length, shutter, depth of field, sensitivity, or white balance.

[0024] In a possible implementation, the third control and the aforementioned first control or the aforementioned second control may be the same control.

[0025] The user can manually turn on the sample analysis function of the electronic device. By analyzing the sample, the electronic device can obtain the shooting parameters of the first picture, and adjust the shooting parameters of the electronic device for imitation shooting according to the shooting parameters of the first picture. The implementation of this technical solution is conducive to improving the similarity between the photo taken by the electronic device and the first picture, and improving the efficiency and quality of the electronic device taking photos in the imitation shooting scene.

[0026] In combination with the first aspect, in certain implementations of the first aspect, the first display area or the second display area also displays a fourth control, and displays shooting parameters of the first image in response to a third input, wherein the third input is an input acting on the fourth control, and the shooting parameters include at least one of the following: aperture, focal length, shutter, depth of field, sensitivity, or white balance.

[0027] In a possible implementation, the fourth control and the aforementioned third control are the same control, or the fourth control and the aforementioned second control can be the same control, or the fourth control and the aforementioned first control can be the same control.

[0028] After parsing the first image, the electronic device can also provide the shooting parameters of the first image to the user for reference. According to the shooting parameters of the first image provided by the electronic device, the user can manually adjust the shooting parameters of the electronic device. While simplifying the imitation shooting operation, it also provides conditions for the user to manually adjust the parameters. The implementation of this technical solution is conducive to improving the applicability of the solution.

[0029] In combination with the first aspect, in certain implementations of the first aspect, shooting parameters of the photo match shooting parameters of the first picture, and the shooting parameters include one or more of the following: aperture, focal length, shutter, depth of field, sensitivity, or white balance.

[0030] The shooting parameters of the photo match the shooting parameters of the first picture, which can be understood as: for the same shooting parameters, the shooting parameters of the photo and the shooting parameters of the first picture can be equal or the same. For shooting parameters included in the first picture but not included in (or cannot be adjusted by) the electronic device, the electronic device can improve the similarity between the photo and the first picture by adjusting other shooting parameters.

[0031] In this technical solution, the shooting parameters of the photo match the shooting parameters of the first picture, which is conducive to making the shooting method of the photo similar or consistent with the shooting method of the first picture. The implementation of this technical solution is conducive to improving the similarity between the photo taken by the electronic device in the imitation shooting scene and the first picture, and is conducive to improving the shooting quality of the imitation photo.

[0032] In combination with the first aspect, in certain implementations of the first aspect, the picture information of the photo is adjusted according to the picture information of the first picture, and the picture information includes at least one of the following: color, brightness or clarity.

[0033] In one possible implementation, the electronic device may adjust one or more of the following image information: exposure, sharpness, highlight, shadow, contrast, brightness, natural saturation, color temperature, hue, and noise, etc.

[0034] In this technical solution, the electronic device can also adjust the captured photo according to the color and / or light of the first picture, etc. The implementation of this technical solution is conducive to improving the efficiency of the electronic device in post-processing photos, and is conducive to improving the similarity between the photo processed by the electronic device and the first picture, and is conducive to improving the quality of the processed photo.

[0035] In combination with the first aspect, in certain implementations of the first aspect, the picture information of the adjusted photo matches the picture information of the first picture.

[0036] In one possible implementation, the image information of the adjusted photo is the same as the image information of the first image or the difference is less than a preset threshold, and the image information may include one or more of the following: exposure, sharpness, highlight, shadow, contrast, brightness, natural saturation, color temperature, hue and noise, etc.

[0037] In the present technical solution, setting the picture information of the adjusted photo to match the picture information of the first photo is beneficial to improving the similarity between the adjusted photo and the first photo, and is beneficial to improving the quality of the processed photo.

[0038] In combination with the first aspect, in certain implementations of the first aspect, in response to detecting a preset input, before saving the image acquired by the camera as a photo, first information is displayed, the first information being used to prompt that the photographed object matches the first contour line, and the preset input includes a confirmation operation for the first information.

[0039] Matching the photographed object with the first contour line may also be understood as that the contour of the photographed object is consistent with or similar to the contour of the first object in the first picture.

[0040] In this technical solution, the electronic device can prompt the user that the outline of the photographed object is consistent with or similar to the outline of the first object in the first picture. The implementation of this technical solution is conducive to improving the shooting efficiency of the electronic device in the imitation shooting scene and reducing the energy consumption of the electronic device during the shooting process.

[0041] In combination with the first aspect, in some implementations of the first aspect, the preset input includes a target shooting preview interface, in which the shooting object matches the first contour line.

[0042] In this technical solution, when the electronic device detects that the photographed object in the preview interface matches the first contour line, the electronic device can automatically save the image acquired by the camera as a photo, which is conducive to improving the success rate and efficiency of the electronic device's imitation shooting.

[0043] In combination with the first aspect, in certain implementations of the first aspect, in response to detecting a preset input, before saving the image acquired by the camera as a photo, second information is displayed, and the second information is used to prompt that the shooting parameters of the electronic device match the shooting parameters of the first picture, and the shooting parameters include at least one of the following: aperture, focal length, shutter, depth of field, sensitivity or white balance.

[0044] In this technical solution, the electronic device can prompt that the shooting parameters of the electronic device are similar and consistent with the shooting parameters of the first picture. In the scenario of manually adjusting the shooting parameters, the shooting efficiency of the electronic device in the imitation shooting scenario can be improved, and to a certain extent, it is also conducive to improving the quality of the photos taken by the electronic device in the imitation shooting.

[0045] In combination with the first aspect, in certain implementations of the first aspect, in response to saving the image acquired by the camera as a photo, a fifth control is displayed; in response to a fourth input, the photo is sent to a server, and the fourth input is an input acting on the fifth control.

[0046] In a possible implementation, the server is used to store the first picture and the photo.

[0047] In a possible implementation, the fifth control may be a control included in a photo display interface, for example, a control on a user interface of a gallery application.

[0048] In a possible implementation, the server can also classify and store the photos uploaded by the electronic device (for example, classify and store according to the scene of the photo). The photos stored on the server can also be used as reference samples for the next time the electronic device simulates taking photos and provide them to the user for simulated taking photos.

[0049] In this technical solution, the electronic device can upload the photos obtained by the user's imitation shooting to the server, and the server saves the photos. The electronic device can also obtain the saved photos from the server as reference samples for imitation shooting next time. The implementation of this technical solution is conducive to improving the management efficiency of the electronic device for the photos obtained by imitation shooting, and is conducive to improving the shooting efficiency and shooting quality of the subsequent imitation shooting of the electronic device.

[0050] In combination with the first aspect, in certain implementations of the first aspect, the electronic device also includes a second display screen, a light emitting surface of the second display screen and a light emitting surface of at least part of the first display screen are arranged opposite to each other, and the shooting preview interface and the first contour line are displayed through the second display screen.

[0051] In a possible implementation, the first display screen of the electronic device is a display screen operated by the photographer, and the second display screen is a display screen used to display shooting status information to the person being photographed.

[0052] In the present technical solution, the electronic device can display a shooting preview interface and a first outline on a display screen facing the subject. In a scene of imitation photography of a person, the person being photographed can adjust posture, movements, etc. through the information displayed on the second display screen, thereby helping to improve the efficiency of the electronic device in imitation photography and the effect of the imitation photos.

[0053] The beneficial effects and explanations of the technical solutions in the following embodiments can refer to the relevant contents of the first aspect, and for the sake of brevity, they will not be repeated below.

[0054] In a second aspect, an electronic device is provided, which includes a first display screen and a camera. The electronic device also includes a processor and a memory, the memory is used to store program instructions, and the processor is used to: receive a first input from a user; in response to the first input, display a first picture through a first display area of ​​the first display screen, and display a shooting preview interface through a second display area of ​​the first display screen, wherein the first picture includes a first object; the second display area also displays a first contour line, wherein the first contour line corresponds to the contour of the first object; in response to detecting a preset input, save the image acquired by the camera as a photo.

[0055] In combination with the second aspect, in certain implementations of the second aspect, the processor is further used to: before receiving a first input from the user, display the first control and the first picture through the first display screen, and the first input is an input acting on the first control.

[0056] In combination with the second aspect, in certain implementations of the second aspect, the processor is also used to: before receiving a first input from the user, display a second control and a shooting preview interface of the camera through the first display screen, and the first input is an input acting on the second control.

[0057] In combination with the second aspect, in some implementations of the second aspect, the first picture is determined based on location information of the electronic device and / or a picture captured by the camera.

[0058] In combination with the second aspect, in some implementations of the second aspect, the first object includes one or more of the following: a person, a building, or a scenery, and the number of the person is one or more.

[0059] In combination with the second aspect, in certain implementations of the second aspect, before displaying the first picture through the first display area of ​​the first display screen, the processor is also used to: display at least one picture through the first display area, the at least one picture including the first picture, and in response to a user selecting the first picture, display the first picture through the first display area.

[0060] In combination with the second aspect, in certain implementations of the second aspect, the first display area or the second display area also displays a third control, and the processor is further used to: in response to a second input, adjust the shooting parameters of the electronic device according to the shooting parameters of the first image, the second input is an input acting on the third control, and the shooting parameters include at least one of the following: aperture, focal length, shutter, depth of field, sensitivity, or white balance.

[0061] In combination with the second aspect, in certain implementations of the second aspect, the first display area or the second display area also displays a fourth control, and the processor is further used to: display shooting parameters of the first image in response to a third input, the third input is an input acting on the fourth control, and the shooting parameters include one or more of the following: aperture, focal length, shutter, depth of field, sensitivity, or white balance.

[0062] In combination with the second aspect, in certain implementations of the second aspect, shooting parameters of the photo match shooting parameters of the first picture, and the shooting parameters include at least one of the following: aperture, focal length, shutter, depth of field, sensitivity, or white balance.

[0063] In combination with the second aspect, in certain implementations of the second aspect, the processor is further used to: adjust the picture information of the photo according to the picture information of the first picture, and the picture information includes at least one of the following: color, brightness or clarity.

[0064] In combination with the second aspect, in certain implementations of the second aspect, the picture information of the adjusted photo matches the picture information of the first picture.

[0065] In combination with the second aspect, in certain implementations of the second aspect, the processor is also used to: in response to detecting a preset input, display first information before saving the image acquired by the camera as a photo, the first information being used to prompt that the photographed object matches the first contour line, and the preset input including a confirmation operation for the first information.

[0066] In combination with the second aspect, in some implementations of the second aspect, the preset input includes a target shooting preview interface, in which the shooting object matches the first contour line.

[0067] In combination with the second aspect, in certain implementations of the second aspect, the processor is also used to: in response to detecting a preset input, before saving the image acquired by the camera as a photo, display second information, wherein the second information is used to prompt that the shooting parameters of the electronic device match the shooting parameters of the first picture, and the shooting parameters include at least one of the following: aperture, focal length, shutter, depth of field, sensitivity or white balance.

[0068] In combination with the second aspect, in certain implementations of the second aspect, the processor is further used to: display a fifth control in response to saving an image acquired by the camera as a photo; and send the photo to a server in response to a fourth input, the fourth input being an input acting on the fifth control.

[0069] In combination with the second aspect, in certain implementations of the second aspect, the electronic device also includes a second display screen, a light emitting surface of the second display screen and a light emitting surface of at least part of the first display screen are arranged opposite to each other, and the processor is further used to: display the shooting preview interface and the first contour line through the second display screen.

[0070] According to a third aspect, a shooting device is provided, which includes a first display screen and a camera. The shooting device also includes a processing module, which is used to: receive a first input from a user; in response to the first input, display a first picture through a first display area of ​​the first display screen, and display a shooting preview interface through a second display area of ​​the first display screen, wherein the first picture includes a first object; the second display area also displays a first contour line, wherein the first contour line corresponds to the contour of the first object; in response to detecting a preset input, save the image acquired by the camera as a photo.

[0071] In combination with the third aspect, in certain implementations of the third aspect, the processing module is further used to: before receiving a first input from the user, display the first control and the first picture through the first display screen, and the first input is an input acting on the first control.

[0072] In combination with the third aspect, in certain implementations of the third aspect, the processing module is also used to: before receiving a first input from the user, display a second control and a shooting preview interface of the camera through the first display screen, and the first input is an input acting on the second control.

[0073] In combination with the third aspect, in certain implementations of the third aspect, the first picture is determined based on location information of the shooting device and / or a picture captured by the camera.

[0074] In combination with the third aspect, in certain implementations of the third aspect, the first object includes one or more of the following: a person, a building, or a scenery, and the number of the person is one or more.

[0075] In combination with the third aspect, in certain implementations of the third aspect, before displaying the first picture through the first display area of ​​the first display screen, the processing module is also used to: display at least one picture through the first display area, the at least one picture including the first picture, and in response to a user selecting the first picture, display the first picture through the first display area.

[0076] In combination with the third aspect, in certain implementations of the third aspect, the first display area or the second display area also displays a third control, and the processing module is also used to: in response to a second input, adjust the shooting parameters of the shooting device according to the shooting parameters of the first image, and the shooting parameters include at least one of the following: aperture, focal length, shutter, depth of field, sensitivity or white balance.

[0077] In combination with the third aspect, in certain implementations of the third aspect, the first display area or the second display area also displays a fourth control, and the processing module is also used to: in response to a third input, display shooting parameters of the first image, and the shooting parameters include one or more of the following: aperture, focal length, shutter, depth of field, sensitivity, or white balance.

[0078] In combination with the third aspect, in certain implementations of the third aspect, shooting parameters of the photo match shooting parameters of the first picture, and the shooting parameters include at least one of the following: aperture, focal length, shutter, depth of field, sensitivity, or white balance.

[0079] In combination with the third aspect, in certain implementations of the third aspect, the processing module is further used to: adjust the picture information of the photo according to the picture information of the first picture, and the picture information includes at least one of the following: color, brightness or clarity.

[0080] In combination with the third aspect, in certain implementations of the third aspect, the picture information of the adjusted photo matches the picture information of the first picture.

[0081] In combination with the third aspect, in certain implementations of the third aspect, the processing module is also used to: in response to detecting a preset input, display first information before saving the image acquired by the camera as a photo, the first information being used to prompt that the photographed object matches the first contour line, and the preset input including a confirmation operation for the first information.

[0082] In combination with the third aspect, in some implementations of the third aspect, the preset input includes a target shooting preview interface, in which the shooting object matches the first contour line.

[0083] In combination with the third aspect, in certain implementations of the third aspect, the processing module is also used to: in response to detecting a preset input, before saving the image acquired by the camera as a photo, display second information, wherein the second information is used to prompt that the shooting parameters of the shooting device match the shooting parameters of the first picture, and the shooting parameters include at least one of the following: aperture, focal length, shutter, depth of field, sensitivity or white balance.

[0084] In combination with the third aspect, in certain implementations of the third aspect, the processing module is also used to: display a fifth control in response to saving the image acquired by the camera as a photo; and send the photo to the server in response to a fourth input, the fourth input being an input acting on the fifth control.

[0085] In combination with the third aspect, in certain implementations of the third aspect, the shooting device also includes a second display screen, the light emitting surface of the second display screen is arranged opposite to the light emitting surface of at least part of the first display screen, and the processing module is also used to: display the shooting preview interface and the first contour line through the second display screen.

[0086] According to a fourth aspect, a computer program product is provided. The computer program product comprises a computer program code. When the computer program code is run on a computer, the method in the first aspect and any possible implementation manner thereof is executed.

[0087] According to a fifth aspect, a computer-readable storage medium is provided, on which a computer program code is stored. When the computer program code is executed on a computer, the method in the first aspect and any possible implementation thereof is executed.

[0088] In a sixth aspect, a chip is provided, comprising a processor for reading instructions stored in a memory, wherein when the processor executes the instructions, the chip implements the method in the first aspect and any possible implementation thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0089] Figure 1 It is a schematic diagram of the hardware architecture of an electronic device provided in an embodiment of the present application.

[0090] Figure 2 It is a schematic diagram of the software architecture of an electronic device provided in an embodiment of the present application.

[0091] Figures 3 to 5 It is a schematic diagram of a graphical user interface of a shooting entrance provided in an embodiment of the present application.

[0092] Figures 6 to 8 It is a schematic diagram of a graphical user interface of a comparison interface provided in an embodiment of the present application.

[0093] Figures 9 to 15 It is a schematic diagram of an application method of comparison samples provided in an embodiment of the present application.

[0094] Figures 16 to 19 It is a schematic diagram of a graphical user interface of a shooting interface provided in an embodiment of the present application.

[0095] Fig. 20 It is a schematic diagram of the photo editing control provided in the embodiment of the present application.

[0096] Fig.21 It is a schematic diagram of the photo sending interface provided in an embodiment of the present application.

[0097] Fig. 22 This is a schematic diagram of a comparison interface and a shooting interface on a folding screen device provided in an embodiment of the present application.

[0098] Fig.23 This is a schematic diagram of a shooting interface on a folding screen device provided in an embodiment of the present application.

[0099] Fig.24 This is a shooting method provided in an embodiment of the present application.

[0100] Fig.25 This is another shooting method provided in an embodiment of the present application.

[0101] Fig.26 A photographing device is provided in an embodiment of the present application.

[0102] Fig. 27 An electronic device is provided in an embodiment of the present application. DETAILED DESCRIPTION

[0103] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0104] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0105] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0106] The method provided in the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc. The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.

[0107] For example, Figure 11 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0108] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0109] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0110] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0111] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0112] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0113] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for image rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0114] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0115] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0116] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0117] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0118] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0119] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0120] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0121] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.

[0122] Figure 2 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.

[0123] like Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0124] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0125] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0126] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0127] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0128] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0129] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0130] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0131] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0132] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0133] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0134] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0135] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0136] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0137] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0138] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0139] A 2D graphics engine is a drawing engine for 2D drawings.

[0140] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0141] It should be understood that the technical solutions in the embodiments of the present application can be used in Android, IOS, Hongmeng and other systems.

[0142] Imitation photography refers to the method of taking new photos or images by imitating the actions of characters, scene layouts, and shooting techniques in existing video works. For example, when users use mobile phones to take imitation photos, they often need to frequently switch back and forth between the application used to display reference video works (such as the gallery application) and the camera application to adjust the actions of characters or shooting methods in the current shooting scene. On the one hand, this imitation photography method has low shooting efficiency. On the other hand, it is limited by the user's shooting skills and understanding of the reference video works. The photos or images obtained by this imitation photography method are often of low quality and poor effect.

[0143] In order to improve the shooting efficiency and shooting quality of electronic devices in simulated shooting scenarios, an embodiment of the present application provides a shooting method, which is now introduced as follows.

[0144] The following embodiments are mainly described by taking simulated photos as an example. It should be understood that the shooting method provided in the embodiments of the present application is also applicable to shooting videos.

[0145] The electronic device may provide multiple entrances to the imitation shooting function, which may be integrated into a camera application, or may be integrated into an application for managing photos, videos, etc. (such as a gallery application). The electronic device may enable the imitation shooting function in response to a user's operation, or the electronic device may detect a shooting scene to obtain scene information to prompt the user whether to enable the imitation shooting function. Figures 3 to 5 Some methods of enabling the imitation shooting function are provided as examples.

[0146] The user of the electronic device can input information to the electronic device in a variety of ways, such as touch input, voice input, or gesture operation input, etc., or the electronic device can receive the user's input information in a variety of ways, such as obtaining the touch operation of the display screen, obtaining the user's voice command, or obtaining the user's gesture operation, etc. This application does not limit this, and the following embodiments are described by taking the user inputting information to the electronic device by touch as an example.

[0147] Figure 3 The user interface 300 (hereinafter referred to as the first interface 300) of the "desktop" application of the electronic device is shown. The first interface 300 is used to display icons of one or more applications running on the electronic device, such as an icon 310 of a camera application and an icon 330 of a gallery application. The icon 310 of the camera application can be regarded as an entry for opening functions such as taking photos and recording videos of the electronic device, and the icon 330 of the gallery application can be regarded as an entry for opening functions such as playing and editing of image works such as photos and videos. In other words, in response to the operation of the icon 330 of the gallery application, the electronic device can display an interface for functions such as playing and editing of image works such as photos and videos, and in response to the operation of the icon 310 of the camera application, the electronic device can display an interface for functions such as taking photos and recording videos.

[0148] The icon 310 of the camera application may be provided with a quick entry for opening a specific function of the camera. For example, a quick entry for opening a selfie function, a quick entry for opening a video function, or a quick entry for opening an imitation shooting function. In some examples, in response to an operation (such as a long press) on the icon 310 of the camera application, the electronic device may display a quick function control 320 on the first interface 300, and the quick function control 320 may be used to display a quick entry for one or more functions included (or supported) by the camera application, such as a selfie function entry, a video function entry, or an imitation shooting function entry 321. In response to the operation of selecting the imitation shooting function entry 321, the electronic device may open the imitation shooting function, or in other words, the electronic device may display a user interface for the imitation shooting function.

[0149] Figure 4 The picture shows a camera interface 400 (hereinafter referred to as the second interface 400) of a camera application of an electronic device. The second interface 400 may be provided with a camera function selection control 410, which may be used to display one or more application functions supported by the camera application. The one or more application functions may also be referred to as one or more application modes of the camera application. For example, a video recording function (mode), a photo taking function (mode), and a night scene function (mode), etc. The default application mode of the camera function selection control 410 may be a photo taking mode. In other words, when a user opens the camera application for the first time, the camera function selection control 410 may indicate that the current application function is a photo taking function.

[0150] The electronic device may switch the camera application from the photo taking mode to the imitation shooting mode according to the current shooting scene or in response to the user's operation on the camera function selection control 410 .

[0151] In some examples, the electronic device can obtain scene information of the current electronic device through a camera and a light sensor, and determine whether to prompt the user to switch to the imitation shooting mode according to the obtained scene information. Figure 4 In the example, if the scene information obtained by the electronic device through the camera indicates that the current scene is a beach scene, and the electronic device can obtain a reference image work corresponding to the beach scene (for example, an image work containing a beach scene is stored on the local storage medium of the electronic device, or the electronic device can obtain an image work containing a beach scene from a server or other electronic device through network communication), the electronic device can display a first prompt control 420, and the first prompt control 420 is used to prompt the user to turn on the imitation shooting function. In response to the user's confirmation operation, the electronic device turns on the imitation shooting function, or in other words, the electronic device displays the user interface of the imitation shooting function. In response to the user's cancellation operation, the electronic device does not switch the camera application function.

[0152] Optionally, in response to the user's confirmation operation, the electronic device may display a reference sample that matches the scene identified by the electronic device on the user interface of the imitation photography function, for the user to select for imitation photography.

[0153] In some examples, the electronic device can obtain the current location information and determine whether to prompt the user to switch to the imitation shooting mode based on the current location information. For example, if the electronic device determines that the user is currently at scenic spot A based on the obtained location information, and the electronic device can obtain image works related to the buildings, scenery, etc. of scenic spot A, the electronic device can prompt the user to turn on the imitation shooting function. In response to the user's determination operation, the electronic device can display a reference sample matching the location information (i.e., an image work containing the buildings, scenery, etc. of scenic spot A) on the user interface of the imitation shooting function for the user to choose to perform imitation shooting.

[0154] In some examples, the electronic device can obtain the character information in the camera's viewfinder through the camera, and the character information can refer to the number of characters, the characters' clothing, the characters' expressions, and the characters' movements, etc. For example, when the viewfinder contains multiple characters, in response to the user confirming the operation of starting the imitation shooting, the electronic device can display one or more multi-person co-photographed images on the user interface of the imitation shooting function for the user to imitate. For example, when the characters in the viewfinder are wearing ethnic costumes, in response to the user confirming the operation of starting the imitation shooting, the electronic device can display one or more images matching the ethnic costumes on the user interface of the imitation shooting function for the user to imitate.

[0155] In some examples, the electronic device can determine whether to prompt the user to switch to the imitation shooting mode based on one or more of the acquired location information, scene information, or character information. For example, the electronic device determines that it is currently in scenic spot B based on the location information, and the current scene includes grassland and sunset based on the scene information. Similarly, in the case where the electronic device can obtain an image work that includes grassland and sunset and belongs to scenic spot B, the electronic device can prompt the user to turn on the imitation shooting function. In response to the user's determination operation, the electronic device can display reference samples that match the location information, scene information, or character information on the user interface of the imitation shooting function for the user to choose to perform imitation shooting.

[0156] In other words, the reference sample provided by the electronic device can be determined based on one or more of the location information, scene information, or person information, etc. acquired by the electronic device. In other words, the reference sample can match the location information, scene information, or person information, etc. For example, if the current shooting preview interface of the electronic device includes the sea, beach, grassland, mountain, snow-capped mountain, scenic spot building, etc., the reference sample can be an image work containing the corresponding sea, beach, grassland, mountain, snow-capped mountain, scenic spot building, etc.

[0157] In some examples, in response to a user selecting the imitate shooting function 411 in the camera function selection control 410 , the electronic device turns on the imitate shooting function, or in other words, the electronic device displays a user interface for the imitate shooting function.

[0158] Figure 5The user interface 500 (hereinafter referred to as the third interface 500) of the gallery application of the electronic device is shown. The third interface 500 may include a display control 510 and a processing control 520. The display control 510 can be used to display photos or play videos. The photos or videos can be taken by the user using the electronic device, or downloaded from the server by the user through a communication method or received from other electronic devices. The processing control 520 may include one or more processing functions of the image works. For example, a sharing function, an imitation shooting function or an editing function, etc. In response to the user selecting the operation of the imitation shooting function 521, the electronic device can turn on the imitation shooting function. In this case, the user interface of the imitation shooting function displayed by the electronic device can directly display the image work displayed by the display control 510. In other words, by turning on the imitation shooting operation through the imitation shooting function 521, the image work displayed by the display control 510 can be used as the default comparison sample, and the user can directly use the default comparison sample to start imitation shooting, which can improve the efficiency of the electronic device in performing imitation shooting to a certain extent.

[0159] For different electronic devices, the user interface of the imitation shooting function may be different. For example, for an electronic device including multiple display screens and an electronic device including only one display screen, the user interface of the imitation shooting function of the two electronic devices may be different. The following first takes an electronic device including one display screen as an example to introduce the user interface of the imitation shooting function and related functions.

[0160] The following further illustrates the shooting method provided by the present application in combination with the user interface of the imitation shooting function in different scenarios.

[0161] In some examples, the user interface of the imitation photography function can be used to simultaneously display the user interface of the first application and the user interface of the second application.

[0162] The first application may be used to implement functions such as selection, comparison, and display of imitation proofs, or in other words, the user interface of the first application may include an imitation proof selection interface (e.g., Figure 6 or Figure 7 The user interface displayed on the left side of the electronic device in the figure), the comparison interface of the imitation sample (for example, Figure 8 The user interface displayed on the left side of the electronic device in the figure), the display interface of the imitation sample (for example, Fig. 9 or Fig.10 The interface displayed on the left side of the electronic device in the figure) etc.

[0163] The second program may be used to implement functions such as taking photos and adjusting shooting parameters, or in other words, the user interface of the second application program may include a photo shooting interface (for example, Fig.10 The interface displayed on the right side of the electronic device in the video), the shooting parameter adjustment interface (for example, Fig.18The user interface shown on the right side of the electronic device in the figure).

[0164] Figure 6 Shown is a user interface of an imitation shooting function provided in an embodiment of the present application (hereinafter referred to as the fourth interface 600), and the fourth interface 600 is displayed in a split-screen manner.

[0165] The fourth interface 600 may include a first reference sample selection interface 610 displayed in a split screen and a shooting interface 620 displayed in a split screen, wherein the first reference sample selection interface 610 may be used to display functional controls and information related to the reference sample, and the first reference sample selection interface 610 may also be called a comparison interface. The shooting interface 620 may be used to display functional controls and information related to the shooting process. One or more prompt information may also be displayed on the fourth interface 600, and the prompt information may be used to assist the user in completing the imitation shooting operation.

[0166] In some examples, when a user first turns on the imitation shooting function, the electronic device may display the following Figure 6 The first prompt information 630 shown is used to prompt the user to select a comparison sample to be imitated in the first reference sample selection interface 610 before starting to shoot. Figure 6 The first reference sample selection interface 610 displays one or more reference samples, which can be displayed in different classification and sorting modes, such as by scene classification, location classification or character classification, by time sorting, by the difficulty of imitation shooting or by the similarity of scenes.

[0167] Exemplarily, the multiple reference proofs displayed in the first reference proof selection interface 610 may be displayed in a scene classification manner, and these scenes include "beach", "building" or "recommendation", etc. The imitation proofs may be sorted in a descending order according to the difficulty of imitation, wherein the reference proofs with the highest order may be called "recommended imitation proofs", and the recommended imitation proofs may be reference proofs with scenes similar to the scene that the user is about to shoot, and the recommended imitation proofs may also be reference proofs with less difficulty in imitation (e.g., relatively simple composition).

[0168] As an example and not limitation, in response to a user turning on a simulated photography function or opening a user interface for the simulated photography function, the electronic device may obtain scene information in which the electronic device is currently located through a camera and a light sensor, and display one or more reference samples on a first reference sample selection interface 610 based on the obtained scene information. The one or more reference samples may be pictures that match the scene information.

[0169] Exemplarily, the multiple reference samples displayed in the first reference sample selection interface 610 can be classified according to whether they contain people and the number of people contained. For example, reference samples that do not contain people (only contain scenery) are classified as the first classification, reference samples that contain a single person are classified as the second classification, and reference samples that contain two or more people are classified as the third classification. The electronic device can provide different information for imitation shooting for different types of reference samples, which is described in detail in the following examples.

[0170] Figure 7 The second reference sample selection interface 700 is shown, which can also be called a comparison interface. In some examples, the second reference sample selection interface 700 can include a first setting control 611. In response to the operation of the first setting control 611, the electronic device can display a first selection control 710. The first selection control 710 can include one or more functional options, such as a "sample sorting" functional option 711, a "sample grouping" functional option 712, and a "more" functional option.

[0171] In response to the operation of selecting the "sample sorting" function option 711, the electronic device may display a sample sorting setting interface, which may be used to display one or more sample sorting methods. In response to the operation of selecting the one or more sample sorting methods, the electronic device displays a comparison interface after the reference sample sorting method is changed. In response to the operation of selecting the "sample grouping" function option 712, the electronic device may display a sample grouping interface, which may be used to display one or more sample grouping methods. In response to the operation of selecting the one or more sample grouping methods, the electronic device displays a comparison interface after the reference sample grouping method is changed.

[0172] In some examples, in response to a user's first operation on the comparison interface, the electronic device may display more reference samples on the comparison interface for the user to select (eg, Figure 7 In some examples, in response to the user's second operation on the comparison interface, the electronic device may display fewer reference samples on the comparison interface to increase the detailed information that can be displayed for each sample (such as Figure 8 shown).

[0173] Exemplarily, in response to the user performing a pinch operation on the comparison interface, the electronic device displays more reference samples on the comparison interface, or in other words, the electronic device reduces the display area of ​​each reference sample on the comparison interface. In response to the user performing a pinch operation on the comparison interface, the electronic device displays fewer reference samples on the comparison interface, or in other words, the electronic device expands the display area of ​​each reference sample on the comparison interface.

[0174] In some examples, such as Figure 7 The second reference sample selection interface 700 shown may also be provided with a search box 720. In response to the operation of inputting a keyword in the search box 720, the electronic device may display a reference sample corresponding to the keyword. For example, when the user inputs "blue sky and white clouds" in the input box 720, the electronic device may display the corresponding search results, which may be one or more reference samples containing elements or colors such as sky, white clouds, blue and white. In the case where no reference sample matches the keyword in the input box 720, the search result may also be blank, that is, it does not contain any reference sample.

[0175] In some examples, in response to an operation of enlarging the size of a reference sample on the comparison interface, the electronic device may display a Figure 8 The sample comparison interface 800 shown in FIG. 8 may also be referred to as a comparison interface. Figure 6 or Figure 7 The electronic device may display a sample comparison interface 800 for selecting at least two reference samples at the same time on the comparison interface shown. The sample comparison interface 800 may include a first display area 810 and a second display area 820, and the first display area 810 may be used to display the samples to be compared. For example, the first display area 810 displays a sample A and a sample B to be compared, wherein the sample A is located on the left and the sample B is located on the right. The second display area 820 may be used to display the sample comparison result, and the sample comparison result may include detailed information on the comparison between the sample A and the sample B. For example, the matching degree of the sample A and the sample B with the scene that the user is about to shoot, the current network popularity of the sample A and the sample B, and the difficulty of imitating the sample A and the sample B. In some examples, the recommendation index of the sample A and the sample B may also be displayed respectively in the sample comparison result.

[0176] The sample comparison interface 800 can display the comparison results between multiple samples in different dimensions in detail. The display of the comparison results is helpful for the user to select a more appropriate reference sample for imitation shooting.

[0177] In some examples, in response to selecting any reference sample in the comparison interface, the electronic device may display Fig. 9 The sample display interface 900 is shown.

[0178] The sample display interface 900 is used to display reference samples and functional controls or information related to the reference samples. In some examples, the sample display interface 900 may display: a return control 910, a sample switching control 920, and a second setting control 930. In response to the operation of the return control 910, the electronic device may display the upper interface of the sample display interface 900, such as Figures 6 to 8 Any comparison interface.

[0179] The sample switching control 920 may include one or more icons 921, each of which may correspond to a reference sample. In response to the operation of selecting the one or more icons 921, the electronic device displays the reference sample corresponding to the icon on the sample display interface 900. The reference samples corresponding to the one or more icons 921 may be reference samples of the same category, for example, these reference samples all belong to the "beach" category or the "recommended" category.

[0180] In some examples, in response to a user sliding the sample display interface 900 left or right, the electronic device may switch the sample displayed on the sample display interface 900 .

[0181] In response to the operation of the second setting control 930, the electronic device may display a second selection control on the sample display interface 900, and the second selection control may include one or more functional options related to the reference sample. In response to the user's operation of selecting the one or more functional options, the electronic device may perform the operation corresponding to the functional option. For example, the color, brightness or clarity information of the current reference sample is displayed. For another example, the shooting parameters of the current reference sample are displayed. The relevant functions of the second setting control 930 will be introduced below and will not be described in detail here.

[0182] In some examples, a sample information display control 940 may also be displayed on the sample display interface 900. The sample information display control 940 may be used to display information such as the name or storage location of the current reference sample.

[0183] In some examples, in response to a user's operation on the reference sample currently displayed on the sample display interface 900 (eg, long pressing the display area of ​​the reference sample), the electronic device may display a Fig. 9 The first confirmation control 950 shown is used to obtain an indication of whether the user uses the current sample to imitate the photo. Specifically, in response to the user's confirmation operation on the first confirmation control 950, the electronic device determines that the user uses the reference sample currently displayed on the sample display interface 900 to imitate the photo. In response to the user's cancellation operation on the first confirmation control 950, the electronic device determines that the user does not use the reference sample currently displayed on the sample display interface 900 to imitate the photo.

[0184] In some examples, such as Fig.10As shown, the sample display interface 900 may also display a second confirmation control 960. In response to the operation of the second confirmation control 960, the electronic device determines that the user uses the reference sample currently displayed on the sample display interface 900 for imitation photography. The second confirmation control 960 may have a certain degree of transparency, so that the second confirmation control 960 can reduce the occlusion of the reference sample, thereby improving the display effect of the sample display interface 900 for the reference sample.

[0185] In response to the user confirming the comparison sample operation, the electronic device can analyze the composition, color, character movement, character modeling and shooting parameters of the comparison sample, so as to provide the user with information for assisting shooting.

[0186] In some examples, in response to the user confirming the operation performed on the comparison sample, the electronic device may display a Fig.11 The second prompt information 970 is used to prompt the user to apply the shooting parameters of the comparison sample to imitate the shooting. In response to the user's confirmation operation, the electronic device can set the shooting parameters of the electronic device to a state that matches the shooting parameters of the comparison sample. The shooting parameters may include but are not limited to one or more of focal length, aperture, white balance, shutter, depth of field, and sensitivity.

[0187] The shooting parameters of the electronic device match the shooting parameters of the comparison sample, which can be understood as: for the same shooting parameters, the shooting parameters of the photo and the shooting parameters of the comparison sample can be equal or the same. For shooting parameters included in the comparison sample but not included in the electronic device (or cannot be adjusted), the electronic device can improve the similarity between the photo and the comparison sample by adjusting other shooting parameters. Matching the shooting parameters of the electronic device with the shooting parameters of the comparison sample can improve the similarity between the simulated photo and the comparison sample.

[0188] Here, the adjustment of the shooting parameters may be: the electronic device adjusts the shooting parameters according to information such as the current light intensity to obtain a photo effect similar to the comparison sample; or the electronic device may provide recommended values ​​for adjusting the shooting parameters, and apply these recommended values ​​to the adjustment of the shooting parameters after the user confirms. This part will be further explained below.

[0189] like Fig.12 As shown, the electronic device can also display composition information 1210 on the shooting interface 620. The composition information 1210 can be used to show the outlines of people, scenery, etc. in the comparison sample. The composition information 1210 can be determined by the electronic device based on the analysis of the comparison sample, and the composition information 1210 can also be generated in response to the user's operation of drawing the outline of a person or scenery on the comparison sample.

[0190] In some examples, the composition information 1210 can be determined based on the shape, action, and posture of the characters included in the comparison sample. In some scenarios, the composition information 1210 can also be called a character stroke line 1210 or a character outline line 1210. The composition information 1210 can be used to assist the user in posing the shape, action, or posture of the characters included in the comparison sample, thereby improving the similarity between the simulated photo and the comparison sample. The character stroke line 1210 can refer to the stroke line of a character, or it can also refer to the stroke line of each character when multiple characters are photographed together, or it can also refer to the outer contour line when multiple characters are regarded as a whole when multiple characters are photographed together.

[0191] In some examples, the composition information 1210 may be determined based on the outer contour of the scene included in the comparison sample. In some scenarios, the composition information 1210 may also be referred to as a scene contour line 1210. The composition information 1210 may be used to prompt the user to adjust the shooting direction, shooting angle, shooting parameters, etc., so that the scene to be shot by the user can fall within the range of the scene contour line 1210 determined based on the scene in the comparison sample.

[0192] In some examples, the composition information 1210 can be determined based on the shape, action and posture of the characters included in the comparison sample and the outer contour of the scene included in the comparison sample. In other words, the composition information 1210 can simultaneously display the aforementioned character stroke line and scene contour line. The relevant description of the character stroke line and the scene contour line is similar to the above, and will not be repeated here.

[0193] For ease of explanation, the following embodiments mainly use the composition information 1210 used to indicate the stroke lines of the characters to illustrate the shooting method provided in the embodiments of the present application. For the case where the composition information 1210 is used to indicate the contour lines of the scene or the composition information 1210 includes both the stroke lines of the characters and the contour lines of the scene, it can be executed similarly.

[0194] In some examples, in response to the user confirming the comparison sample operation, the electronic device displays the aforementioned composition information 1210 on the shooting interface 620 .

[0195] In some examples, the electronic device may display the composition information 1210 on the comparison sample display interface 900 while displaying the composition information 1210 on the shooting interface 620. Displaying the composition information 1210 on the comparison sample and the shooting interface simultaneously is more conducive to the user to compare with the comparison sample while shooting, and is more conducive to the user to determine the shooting details in the comparison sample, which is conducive to improving the effect of the user's imitation shooting.

[0196] The electronic device can continuously obtain the shape, movement or posture of the photographed user (photographed subject), and determine the difference between the shape, movement, etc. of the photographed user and the shape and movement of the person in the comparison sample.

[0197] In some examples, when the shape and action of the photographed user match the shape and action of the person in the comparison sample, the electronic device can display the following information: Fig.13 The third prompt information 1310 shown can be used to prompt the user to match the action, shape, etc. of the shooting object with the action of the person in the comparison sample. The third prompt information 1310 can also be used to prompt the user to apply the shooting parameters of the comparison sample and take a picture.

[0198] In some examples, in response to the action, shape, etc. of the photographed subject matching the action of the person in the comparison sample, the electronic device can automatically trigger shooting. In other words, the electronic device can automatically save the photo including the shape, action, etc. of the photographed user matching the shape, action, etc. of the person in the comparison sample.

[0199] In response to the confirmation operation of the third prompt information 1310, the electronic device may set the shooting parameters of the electronic device according to the shooting parameters of the comparison sample. In response to the cancellation operation of the third prompt information 1310, the electronic device may display a fourth prompt information, which may be used to prompt the user to manually adjust the shooting parameters. The shooting parameters may include but are not limited to one or more of focal length, aperture, white balance, shutter, depth of field, and sensitivity.

[0200] In some examples, in response to the user's operation on the second setting control 930 on the sample display interface 900, the electronic device may display the following Fig.14 The second selection control 1410 shown in the figure may include at least one function option. For example, the second selection control 1410 may include a shooting parameter viewing function 1411. In response to the user selecting the shooting viewing function 1411, the electronic device may display the following information: Fig.15 The fifth prompt information 1510 shown may be used to display shooting parameters of the comparison sample, such as white balance or focal length, etc. The fifth prompt information 1510 may also be used to obtain the user's instructions for imitating shooting using the application sample shooting parameters.

[0201] Optionally, the second selection control 1410 may also include other functions such as a picture parameter viewing function 1412. In response to a user selecting the picture parameter viewing function 1412, the electronic device may display picture parameter information related to the sample, such as contrast, brightness, exposure, etc. of the sample.

[0202] In response to the user's confirmation operation on the fifth prompt information 1510, the electronic device may set the shooting parameters of the electronic device to the shooting parameters of the comparison sample displayed in the fifth prompt information 1510. The electronic device may also display on the shooting interface 620 such as Fig.12 The composition information 1210 shown may be determined based on the shape, action or posture of the person included in the comparison sample. The composition information 1210 may be used to assist the user in posing the shape, action or posture of the person included in the comparison sample. In response to the user canceling the fifth prompt information 1510, the electronic device may display the aforementioned fourth prompt information, which may be used to prompt the user to manually adjust the shooting parameters.

[0203] The above describes the shooting method provided in the embodiment of the present application in combination with the selection and confirmation process of the comparison sample, the configuration process of the shooting parameters and the composition information, etc., and is further explained in combination with the shooting interface 620 below.

[0204] The shooting interface 620 may display a plurality of function controls, which may be used to indicate different functions of the camera application. Fig.16 As shown, the multiple function controls may include a shooting function control 621, a viewing function control 622, a lens switching function control 623, a focal length switching function control 624, and the like.

[0205] In response to the operation of the shooting function control 621, the electronic device saves the photo corresponding to the picture (viewing picture) displayed on the current shooting interface 620. In response to the operation of the viewing function control 622, the electronic device can display the photos recently taken by the electronic device on the shooting interface 620. In response to the operation of the lens switching function control 623, the electronic device can switch the current imaging lens to other lenses included in the electronic device. For example, the current imaging lens is the rear lens, and in response to the operation of the lens switching function control 623, the electronic device can switch the rear lens to the front lens. For another example, the current imaging lens is a wide-angle lens, and in response to the operation of the lens switching function control 623, the electronic device can switch the wide-angle lens to a telephoto lens.

[0206] In response to the operation of the focus switching function control 624, the electronic device can switch the focus of the current imaging lens from the current focus to the adjusted focus. In the case where the current imaging lens does not include the adjusted focus, in response to the operation of the focus switching function control 624, the electronic device can also switch the current imaging lens to an imaging lens that supports the adjusted focus, and adjust the focus of the switched imaging lens to the adjusted focus.

[0207] It should be noted that when the electronic device switches the lens or the focal length, the viewfinder displayed on the shooting interface 620 will also change accordingly. For example, when the rear lens is switched to the front lens, the viewfinder will also switch from the image of the rear lens to the image of the front lens.

[0208] In some examples, a mode switching control 625 may also be displayed on the shooting interface 620, and the mode switching control 625 may be used to display the current working mode of the camera. In response to the operation of the mode switching control 625, the electronic device may display a mode selection control, and the mode selection control may include one or more shooting modes supported by the electronic device, such as: video mode, night scene mode, and professional mode. In response to the user selecting any of the shooting modes, the electronic device switches the shooting mode to the shooting mode selected by the user.

[0209] During the shooting process, the electronic device may display shooting auxiliary information on the shooting interface 620, and the shooting auxiliary information may be used to guide the user to complete the imitation shooting.

[0210] In some examples, as described above, in response to the user confirming the operation of comparing the proofs, the electronic device may display composition information 1210 on the shooting interface 620, and the composition information 1210 may be determined according to the shape, action or posture of the person in the comparison proof. When the composition information 1210 is displayed on the shooting interface 620, the electronic device may continuously detect the shape, action or posture of the user being photographed to determine whether the shape, action or posture of the user being photographed matches the shape, action or posture of the person in the comparison proof.

[0211] Exemplarily, when the graphic indicated by the composition information 1210 in the screen of the shooting interface 620 (hereinafter referred to as the target graphic) is filled with the image formed by the shooting user, and the area of ​​the filled area is greater than the first threshold (for example, 80% of the area of ​​the target graphic area), and the area of ​​the image formed by the shot user outside the target graphic is less than the second threshold (for example, 5% of the total area of ​​the image formed by the shot user). In this case, the electronic device can determine that the shape, action or posture of the shot user matches the shape, action or posture of the person in the comparison sample, otherwise, the electronic device determines that the shape, action or posture of the shot user does not match the shape, action or posture of the person in the comparison sample.

[0212] When the shape, movement or posture of the photographed user matches the shape, movement or posture of the person in the comparison sample, the electronic device can display the third prompt information 1310 as described above, and the third prompt information 1310 can be used to prompt the user to match the movement, shape, etc. of the photographed object with the movement of the person in the comparison sample, and the third prompt information 1310 can also be used to prompt the user to apply the shooting parameters of the comparison sample and shoot. The electronic device can also prompt the user to match the movement, shape, etc. of the photographed object with the movement of the person in the comparison sample by means of flash, sound, change of screen light, etc.

[0213] When the shape, action or posture of the photographed user does not match the shape, action or posture of the person in the comparison sample, the electronic device may display the following information: Fig.17 The sixth prompt information 1710 shown may be used to prompt the user to adjust a method of adjusting a posture of a photographed object or a method of adjusting a photographing method.

[0214] Exemplarily, the sixth prompt information 1710 can be used to prompt the subject to stay away from the electronic device, or the sixth prompt information 1710 can be used to prompt the subject to stay away from the subject. Also exemplary, the sixth prompt information 1710 can also be used to prompt the subject to adjust the head movement or leg posture, etc.

[0215] In some examples, in response to the operation of the mode switching control 625, the electronic device can switch the working mode of the camera application to the professional mode, or in other words, the electronic device can display the following information: Fig.18 The interface 1800 of the professional mode shown in FIG. 18 is, in one embodiment, displayed as follows: Fig.18 The interface 1800 of the professional mode shown may not display the simulated picture on the left.

[0216] In some examples, in response to the user canceling the operation of applying the shooting parameters of the comparison sample to shoot (see Fig.11 , 13 or the related description in 15), the electronic device can also switch the working mode of the camera application to the professional mode, or in other words, the electronic device can display the following Fig.18 Interface 1800 of the professional mode is shown.

[0217] like Fig.18 As shown, the professional mode interface 1800 may include a shooting parameter selection control 1810 , a shooting parameter adjustment control 1820 , and a shooting parameter display control 1830 .

[0218] Among them, the shooting parameter selection control 1810 may display one or more shooting parameters, which may include but are not limited to one or more of focal length, aperture, white balance, shutter, depth of field, and sensitivity, etc. In response to the operation of selecting any parameter of the one or more shooting parameters, the electronic device may switch the parameter adjustment control 1820 to the adjustment control corresponding to the selected shooting parameter.

[0219] In response to the operation of the shooting parameter adjustment control 1820, the electronic device may adjust the parameter value of the shooting parameter currently indicated by the shooting parameter selection control 1810 accordingly according to the user's operation. The shooting parameter display control 1830 may be used to display the parameter value corresponding to the current shooting parameter. In some examples, the shooting parameter display control 1830 may display the parameter value of the same shooting parameter of the comparison sample selected by the user by default. In other words, the shooting parameter display control 1830 may display a recommended parameter value, which may be determined based on the parameter value of the shooting parameter of the comparison sample. For example, the recommended parameter value is the same or equal to the parameter value of the same shooting parameter of the comparison sample.

[0220] In some examples, in response to the user's operation on the shooting function control 621, the electronic device saves the screen displayed on the current shooting interface 620 in the form of a picture on the storage medium of the electronic device, that is, saves the simulated photo.

[0221] The electronic device can detect information such as color, brightness, and character composition between the photo taken by the user and the comparison sample. In some examples, when there is a significant difference in one or more of the color, brightness, or character composition between the photo taken by the user and the comparison sample, the electronic device can display the following information: Fig.19 The seventh prompt information 1910 shown may prompt the user to adjust the photo just taken. For example, the seventh prompt information 1910 may prompt the user to increase the contrast of the photo and reduce the brightness of the photo. Also for example, the seventh prompt information 1910 may also prompt the user to retake the photo (for example, when the shape of the user being photographed is significantly different from the shape of the person in the comparison sample).

[0222] The seventh prompt information 1910 may also prompt the user to adjust one or more of the following picture information: color, brightness or clarity. For example, the picture information may include one or more of the following parameters: exposure, sharpness, highlights, shadows, contrast, brightness, natural saturation, color temperature, hue and noise.

[0223] In response to the user's confirmation operation on the seventh prompt information 1910, the electronic device can perform corresponding operations, such as adjusting the brightness, contrast and other parameters of the photo just taken by the user. For another example, the composition information 1210 is redisplayed on the shooting interface 620 for the user to retake the photo.

[0224] For the photos taken by imitation, the electronic device can also provide the user with a picture editing function. The picture editing function can be integrated into the gallery application. For example, Figure 5 As shown, in response to the user's operation on the "editing function" 522, the electronic device can display a picture editing interface, which can be used to display the photo in the editing state. The picture editing interface can include one or more picture editing functions, such as a picture tone adjustment function, a filter switching function, etc. The picture editing interface can also be provided with Fig. 20 The picture parameter adjustment control 2010 shown in the figure can set a default adjustment value, which can be determined based on the difference between the comparison sample and the photo taken by the user. In response to the user's operation on the picture parameter adjustment control 2010, the electronic device can display the picture after the parameter adjustment. In response to the user's save operation, the electronic device can save the picture after the parameter adjustment to the storage medium of the electronic device.

[0225] For simulated photos stored in a storage medium of an electronic device, in response to a user's operation, the electronic device can send the simulated photos to a server or other electronic devices.

[0226] Fig.21 An exemplary sending interface 2100 for simulated photo shooting is provided. The sending interface 2100 may include a photo selection control 2110 and a sending method selection control 2120. The photo selection control 2110 may be used to display photos to be selected, and the sending method selection control 2120 may include one or more sending method entries, such as Bluetooth sending or email sending. In response to the selection operation of the photos displayed in the photo selection control 2110, the electronic device may determine that one or more photos selected by the user are the photos to be sent. In response to the user's selection operation of one or more sending method entries in the sending method selection control 2120, the electronic device may send the photos to be sent in the method selected by the user.

[0227] In some examples, the electronic device may set read and write permissions for the simulated photo when uploading the simulated photo to the server, and the read and write permissions may be determined according to the identity of the user accessing the simulated photo.

[0228] Exemplarily, the electronic device can set the simulated photos uploaded to the server to be readable and writable only by the uploading user. The next time the simulated photo is taken, the electronic device can display the simulated photos uploaded by the user to the server as preferred reference samples on the comparison interface, for example, displaying the simulated photos at the front of the "recommended" classification sample set on the comparison interface. The server can classify the photos uploaded by the user according to certain rules (for example, according to the photo scene), thereby improving the efficiency of the electronic device in providing reference samples the next time the simulated photo is taken.

[0229] Also illustratively, the electronic device may also be configured so that only authorized and authenticated users can access the simulated proofs uploaded by the user to the server, thereby helping to protect the user's privacy and security.

[0230] The above describes the shooting method provided by the embodiment of the present application by taking an electronic device including a display screen as an example. It should be noted that in the above embodiment, the sizes of the two split screens of the comparison interface and the shooting interface 620 in the split screen state can be adjusted. For example, in response to the user's operation, the electronic device can expand the display area of ​​the comparison interface to display more reference proofs. For another example, in response to the user's operation, the electronic device can expand the display area of ​​the shooting interface 620 to display more functional controls on the shooting interface for user convenience.

[0231] The shooting method provided in the embodiment of the present application is also applicable to electronic devices including multiple screens, and the application on the electronic devices including multiple screens is basically similar to the description in the aforementioned embodiment. For the sake of brevity, in the following embodiments, only the application of the shooting method provided in the embodiment of the present application on the electronic devices including multiple screens where there may be differences is described.

[0232] Fig. 22 and Fig.23 A folding screen electronic device including a first screen and a second screen is shown, wherein the first screen and the second screen are respectively arranged on two opposite surfaces in the thickness direction of the electronic device, or in other words, the light emitting surface of the second screen and the light emitting surface of at least part of the first screen are arranged opposite to each other. Depending on the folding method of the folding screen electronic device, the first screen can be the inner screen or the outer screen of the electronic device, and correspondingly, the second screen can be the outer screen or the inner screen arranged opposite to the first screen.

[0233] In some examples, Fig. 22 Shown is a first screen 2200, Fig.23The second screen 2300 is shown. The display area of ​​the first screen 2200 is larger, and the display area of ​​the second screen 2300 is smaller. The electronic device may be provided with a rotation axis, and the first screen 2200 may be folded around the rotation axis. In this scenario, the first screen 2200 may also be referred to as the inner screen 2200, and the second screen 2300 may also be referred to as the outer screen 2300. The first area of ​​the first screen 2200 is used to display the aforementioned comparison interface, and the second area of ​​the first screen 2200 is used to display the aforementioned shooting interface 620. In some examples, the first area and the second area may be two areas of equal area.

[0234] In some examples, when the comparison interface displays only one reference sample, in response to the user sliding the first area left or right, the electronic device can switch the reference sample displayed on the comparison interface. In other words, when the display area of ​​the first display area is large, the electronic device may not display the aforementioned sample switching control 920 on the comparison interface, but directly complete the sample switching by responding to the user's gesture operation.

[0235] In some examples, a sample parsing control 2221 may be provided on the shooting interface 620. In the case where only one reference sample is displayed on the comparison interface, in response to the operation of the sample parsing control 2221, the electronic device may parse the reference sample currently displayed on the comparison interface to obtain the composition information, picture information, or shooting parameter information of the reference sample. The electronic device may also directly apply the obtained composition information and shooting parameter information to the user's upcoming imitation shooting operation, that is, display the composition information 1210 on the shooting interface 620, or adjust the shooting parameters of the electronic device to be consistent with the shooting parameters of the reference sample.

[0236] In some examples, a scene analysis control 2222 may be provided on the shooting interface 620. In response to the operation of the scene analysis control 2222, the electronic device may obtain the scene in which the current user is located or the scene to be simulated through sensors such as a camera. The electronic device may display one or more reference samples matching the current scene on the comparison interface, and in response to the user's selection operation of the reference sample, the electronic device may perform the simulated shooting described above.

[0237] When the shooting user uses the first screen 2200 to simulate the shooting user, the second screen 2300 may face the shooting user. Fig.23As shown, the second screen 2300 can display the aforementioned composition information 1210, and the photographed user can refer to the composition information 1210 to pose corresponding actions, postures and shapes. The second screen 2300 can also display the aforementioned sixth prompt information 1710, and the sixth prompt information 1710 can be used to prompt the photographed user to make actions, postures and shapes similar to those of the characters in the comparison sample. Exemplarily, the sixth prompt information 1710 can be used to instruct the photographed user to adjust the hand movements, leg postures, etc. The sixth prompt information 1710 can also be used to prompt the photographed user's current action, shape or posture to match the actions, postures and shapes similar to those of the characters in the comparison sample.

[0238] In some examples, the user of the electronic device can simulate taking photos of buildings and scenery. In this case, the electronic device may not display information such as composition information 1210 and sixth prompt information 1710 on the second screen 2300, or the electronic device may directly turn off the second screen 2300, thereby reducing the energy consumption of the electronic device during the simulated shooting process. In other words, in the simulated shooting mode, in response to the electronic device performing an operation of imitating a building or a scene (for example, selecting a comparison sample that does not contain a person for simulated shooting), the electronic device may turn off the screen that the user does not operate or not display relevant information about the simulated shooting process on the second screen 2300.

[0239] In some examples, such as Fig.23 As shown, when performing imitation photography of buildings or scenery, the second screen 2300 of the electronic device can also display composition information 1210, sixth prompt information 1710 and other information, which is conducive to improving the consistency of the user experience when performing imitation photography operations, and can also improve the efficiency of imitation photography of the electronic device to a certain extent.

[0240] In some examples, the second screen 2300 may display more information in addition to the composition information 1210 and the sixth prompt information 1710. For example, the second screen 2300 may display part or all of the content on the shooting interface 620. Displaying more information on the second screen 2300 is helpful for the photographed user to determine the operation currently performed by the electronic device or the shooting user, is helpful for enhancing the mutual cooperation between the photographed user and the shooting user, and is helpful for improving the imitation shooting effect of the electronic device.

[0241] In other words, for an electronic device including a first screen 2200 and a second screen 2300, when the electronic device is used to perform an imitation shooting operation, the aforementioned shooting interface 620 can be displayed simultaneously on the first screen 2200 and the second screen 2300, and the shooting interface 620 displayed on the first screen 2200 and the second screen 2300 can simultaneously display information related to shooting, such as composition information 1210 and sixth prompt information 1710. Among them, the second screen 2300 facing the shooting object can provide the shooting object with prompt information related to shooting, which is conducive to improving the imitation shooting effect of the electronic device.

[0242] Combination of the above Fig. 22 and Fig.23 The application of the shooting method provided by the present application to an electronic device in which the first screen is an inner screen and the second screen is an outer screen is described. Similarly, the shooting method provided by the embodiment of the present application can also be applied to an electronic device in which the first screen is an outer screen and the second screen is an inner screen. Fig. 22 and Fig.23 Related content.

[0243] Fig.24 A shooting method provided by an embodiment of the present application is shown. In response to a user selecting a comparison sample, the electronic device can apply information such as shooting parameters of the comparison sample to the imitation shooting process.

[0244] S2401, determine the comparison sample.

[0245] In response to the user's selection, the electronic device may use the reference sample selected by the user as a comparison sample for the upcoming imitation photography.

[0246] In some examples, such as Figure 5 As shown, in response to the user's operation of the imitation shooting function 521 on the third interface 500, the electronic device determines that the picture currently displayed on the third interface 500 is a comparison sample of the imitation shooting to be performed, and the electronic device can also display Fig.11 The user interface of the imitation shooting function is shown.

[0247] In some examples, in response to a user clicking on Figures 6 to 8 In any comparison interface, a reference sample is selected and confirmed, and the electronic device determines the reference sample selected by the user as a comparison sample for the upcoming imitation shooting.

[0248] It should be noted that, in response to the user's reselection operation, the electronic device may also re-determine the comparison sample.

[0249] It should also be noted that the comparison sample can be a picture, a photo, or a video. That is, in response to the user's operation, the electronic device can use a photo as a simulated sample, or a video as a simulated sample. In other words, the process of the electronic device's simulated shooting can be the shooting of a photo, or the shooting of a video.

[0250] S2402, obtaining sample information of the comparison sample.

[0251] The sample information of the comparison sample may include shooting parameters of the comparison sample, the sample information may also include image information such as color, brightness or clarity of the sample, and the sample information may also include storage location, name, size of storage space occupied, storage format, etc. The electronic device may obtain the above-mentioned sample information by parsing the comparison sample.

[0252] S2403: Apply shooting auxiliary information according to the sample information.

[0253] The shooting assistance information may refer to relevant information used to assist the user in shooting, such as Fig.12 The composition information 1210, the shooting parameters of the comparison sample, the prompt information for prompting the user to adjust the posture of the shooting object, etc.

[0254] In some examples, the electronic device may display the following on the shooting interface 620 based on the actions, postures, and shapes of the people included in the comparison sample: Fig.12 The composition information 1210 shown in the figure can assist the user in making actions, gestures or shapes similar to those of the characters included in the comparison sample. In some scenarios, the composition information 1210 can also be referred to as the stroke line 1210 of the character or the outer contour line 1210 of the character.

[0255] In some examples, the electronic device may obtain shooting parameters of the comparison sample and adjust the shooting parameters of the electronic device according to the shooting parameters.

[0256] In some examples, in response to a user's operation, the electronic device may display Fig.18 As shown in the professional mode interface 1120 , multiple shooting parameters displayed on the professional mode interface 1120 may be set with default parameter values, and the default parameter values ​​may be determined by the electronic device according to the shooting parameters of the obtained comparison samples.

[0257] In some examples, in response to the user editing the simulated photo, the electronic device may display a Fig. 20The picture parameter adjustment control 2010 shown, the parameters in the picture parameter adjustment control 2010 can be set with default adjustment values, and these default adjustment values ​​can be determined based on the picture information contained in the sample information of the comparison sample and the picture information of the photo taken by the user.

[0258] In some examples, in response to a user's operation, the electronic device may display Fig.17 or Fig.23 The sixth prompt information 1710 shown may also be determined according to the sample information of the comparison sample and the information of the photographed object acquired by the current electronic device.

[0259] S2404, shooting completed.

[0260] In response to the operation of the shooting function control 621 , the electronic device saves the picture corresponding to the screen displayed on the current shooting interface 620 .

[0261] In some examples, in response to the user's operation, the electronic device can send the simulated photo to a server or other electronic device. In one example, the electronic device uploads the simulated photo to a server, which can be used to save the simulated photo. The server can also classify the photos uploaded by the user according to certain rules (for example, according to the scenery, scene, photo shooting location information, number of people included in the photo, etc.), and provide the user's simulated photo as a reference sample in the next simulated photo process for the user to simulate.

[0262] Fig.25 Another shooting method provided by an embodiment of the present application is shown, and the electronic device can provide a reference sample matching the scene information based on the acquired scene information, and complete the imitation shooting based on the comparison sample determined by the user.

[0263] S2501, obtain scene information.

[0264] The scene information may be used to indicate the scene in which the current electronic device or user is located, and the scene information may be used to determine a reference sample.

[0265] In some examples, in response to a user opening a camera application, the electronic device may call upon one or more of the electronic device's front camera, rear camera, light sensor, infrared sensor, etc. to obtain scene information, and determine the scene in which the current electronic device or user is located based on the obtained scene information.

[0266] For example, the electronic device can determine the scene elements contained in the picture, such as a beach, coconut trees, water surface, etc., based on the light captured by the rear camera, thereby determining that the electronic device or the user may be in a beach scene. The electronic device can also determine that the brightness of the current scene is lower than a first threshold based on the front camera and / or the light sensor, thereby determining that the current scene may be a dark scene.

[0267] In some examples, in response to an operation on the scene analysis control 2222, the electronic device may obtain scene information of the scene in which the current user is located through a sensor such as a camera, and determine the scene to be simulated based on the obtained scene information.

[0268] S2502, obtain a reference sample.

[0269] The electronic device may obtain a reference sample matching the scene information based on the scene information obtained in S2501.

[0270] In some examples, the electronic device can obtain pictures or images containing the same or similar scene elements from the network as reference samples based on the scene elements contained in the scene information. For example, if the scene information contains a beach or sea surface, the electronic device can download some pictures containing the same beach or sea surface elements from the network as reference samples.

[0271] In some examples, the electronic device can obtain a picture or image containing the same location information as a reference sample based on the location information indicated by the scene information. For example, if the scene information indicates that the current user is in Hainan Island, the electronic device can obtain a picture or image also taken in Hainan Island from the local electronic device or the network as a reference sample.

[0272] S2503, determine the comparison sample.

[0273] In response to the user's selection, the electronic device may use the reference sample selected by the user as a comparison sample for the upcoming imitation photography.

[0274] In some examples, such as Figure 5 As shown, in response to the user's operation of the imitation shooting function 521 on the third interface 500, the electronic device determines that the picture currently displayed on the third interface 500 is a comparison sample of the imitation shooting to be performed, and the electronic device can also display Fig.11 The user interface of the imitation shooting function is shown.

[0275] In some examples, in response to a user clicking on Figures 6 to 8 In any comparison interface, a reference sample is selected and confirmed, and the electronic device determines the reference sample selected by the user as a comparison sample for the upcoming imitation shooting.

[0276] It should be noted that, in response to the user's reselection operation, the electronic device can re-determine the comparison sample.

[0277] It should also be noted that the comparison sample can be a picture, a photo, or a video. That is, in response to the user's operation, the electronic device can use a photo as a simulated sample, or a video as a simulated sample. In other words, the process of the electronic device's simulated shooting can be the shooting of a photo, or the shooting of a video.

[0278] S2504, obtaining sample information of the comparison sample.

[0279] The sample information of the comparison sample may include shooting parameters of the comparison sample, the sample information may also include image information such as color, brightness or clarity of the sample, and the sample information may also include storage location, name, size of storage space occupied, storage format, etc. The electronic device may obtain the above-mentioned sample information by parsing the comparison sample.

[0280] S2505: Apply shooting auxiliary information according to the sample information.

[0281] The shooting assistance information may refer to relevant information used to assist the user in shooting, such as Fig.12 The composition information 1210, the shooting parameters of the comparison sample, the prompt information for prompting the user to adjust the posture of the shooting object, etc.

[0282] In some examples, the electronic device may display the following on the shooting interface 620 based on the actions, postures, and shapes of the people included in the comparison sample: Fig.12 The composition information 1210 shown in the figure can assist the user in making actions, gestures or shapes similar to those of the characters included in the comparison sample. In some scenarios, the composition information 1210 can also be referred to as the stroke line 1210 of the character or the outer contour line 1210 of the character.

[0283] In some examples, the electronic device may obtain shooting parameters of the comparison sample and adjust the shooting parameters of the electronic device according to the shooting parameters.

[0284] In some examples, in response to a user's operation, the electronic device may display Fig.18 As shown in the professional mode interface 1120 , multiple shooting parameters displayed on the professional mode interface 1120 may be set with default parameter values, and the default parameter values ​​may be determined by the electronic device according to the shooting parameters of the obtained comparison samples.

[0285] In some examples, in response to the user editing the simulated photo, the electronic device may display a Fig. 20The picture parameter adjustment control 2010 shown, the parameters in the picture parameter adjustment control 2010 can be set with default adjustment values, and the default adjustment values ​​can be determined based on the picture information contained in the sample information of the comparison sample and the picture information of the photo taken by the user.

[0286] In some examples, in response to a user's operation, the electronic device may display Fig.17 Or the sixth prompt information 1710 shown in FIG. 23, the sixth prompt information 1710 can also be determined according to the sample information of the comparison sample and the information of the photographed object acquired by the current electronic device.

[0287] S2506, shooting completed.

[0288] In response to the operation of the shooting function control 621 , the electronic device saves the picture corresponding to the screen displayed on the current shooting interface 620 .

[0289] In some examples, in response to the user's operation, the electronic device can send the simulated photo to a server or other electronic device. In one example, the electronic device uploads the simulated photo to a server, which can be used to save the simulated photo. The server can also classify the photos uploaded by the user according to certain rules (for example, according to the scenes included in the photos), and provide the simulated photo to the user as a reference sample for the next simulated photo process.

[0290] It should be noted that the size of the sequence numbers of the above processes does not mean the order in which the operations are executed. The order in which different steps are executed should be determined based on the internal relationship or logic between the steps.

[0291] Based on the same inventive concept as the above method embodiment, Fig.26 As shown, the embodiment of the present application further provides a photographing device 2600, which includes an acquisition module 2610 and a processing module 2620, wherein the acquisition module is used to perform the following Figures 3 to 25 The acquisition operation performed by the electronic device in the embodiment shown in the figure, such as acquiring the user's operation instructions for the electronic device, etc.; the processing unit is used to perform the following Figures 3 to 25 The processing operations performed by the electronic device in the illustrated embodiment include, for example, determining a simulated shooting scene.

[0292] Optionally, the photographing device 2600 may further include a storage module 2630 for storing program codes and data of the photographing device 2600 .

[0293] Fig. 2727 is a schematic block diagram of an electronic device 2700 provided in an embodiment of the present application. As shown in the figure, the electronic device 2700 includes: at least one processor 2710 and a transceiver 2720. The processor 2710 is coupled to a memory and is used to execute instructions stored in the memory to control the transceiver 2720 to send signals and / or receive signals.

[0294] Optionally, the electronic device 2700 also includes a memory 2730 for storing instructions.

[0295] In some embodiments, the processor 2710 and the memory 2730 may be combined into a processing device, and the processor 2710 is used to execute the program code stored in the memory 2730 to implement the above functions. In specific implementation, the memory 2730 may also be integrated into the processor 2710, or independent of the processor 2710.

[0296] In some embodiments, the transceiver 2720 may include a receiver (or receiver) and a transmitter (or transmitter).

[0297] The transceiver 2720 may further include an antenna, and the number of antennas may be one or more. The transceiver 2720 may be a communication interface or an interface circuit.

[0298] When the electronic device 2700 is a chip, the chip includes a transceiver unit and a processing unit, wherein the transceiver unit may be an input / output circuit or a communication interface; and the processing unit may be a processor or a microprocessor or an integrated circuit integrated on the chip.

[0299] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.

[0300] An embodiment of the present application also provides a computer-readable storage medium on which computer instructions for implementing the method executed by the electronic device in the above method embodiment are stored.

[0301] For example, when the computer program is executed by a computer, the computer can implement the method performed by the electronic device in the above method embodiment.

[0302] The explanation of the relevant contents and beneficial effects of any of the above-mentioned devices can be referred to the corresponding method embodiments provided above, which will not be repeated here.

[0303] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit, or other general-purpose processors, DSPs, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0304] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory and / or a non-volatile memory. 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). For example, RAM may be used as an external cache. As an example and not limitation, RAM may include the following multiple forms: static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous connection dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).

[0305] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) can be integrated into the processor.

[0306] It should also be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0307] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0308] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0309] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0310] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0311] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0312] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.

[0313] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A shooting method, characterized in that: The method is applied to an electronic device including a first display screen and a camera, and the method includes: receiving a first input from a user; In response to the first input, displaying a first picture in a first display area of ​​the first display screen, and displaying a shooting preview interface in a second display area of ​​the first display screen, wherein the first picture includes a first object; The second display area further displays a first contour line, wherein the first contour line corresponds to the contour of the first object; In response to detecting a preset input, the image acquired by the camera is saved as a photo.

2. The shooting method according to claim 1, characterized in that: Before receiving the first input from the user, the method further includes: The first control and the first picture are displayed through the first display screen, and the first input is an input acting on the first control.

3. The shooting method according to claim 1, characterized in that: Before receiving the first input from the user, the method further includes: The second control and the shooting preview interface of the camera are displayed through the first display screen, and the first input is an input acting on the second control.

4. The shooting method according to any one of claims 1 to 3, characterized in that: The first picture is determined according to the location information of the electronic device and / or the picture captured by the camera.

5. The shooting method according to any one of claims 1 to 4, characterized in that: Before displaying the first picture in the first display area of ​​the first display screen, the method further includes: At least one picture is displayed through the first display area, the at least one picture includes the first picture, and in response to a user selecting the first picture, the first picture is displayed through the first display area.

6. The shooting method according to any one of claims 1 to 5, characterized in that: The first object includes one or more of the following: Characters, buildings or scenery, wherein the number of the characters is one or more.

7. The shooting method according to any one of claims 1 to 6, characterized in that: The first display area or the second display area further displays a third control, The method further comprises: In response to a second input, the shooting parameters of the electronic device are adjusted according to the shooting parameters of the first picture, the second input is an input acting on the third control, and the shooting parameters of the electronic device and the shooting parameters of the first picture include at least one of the following: aperture, focal length, shutter, depth of field, sensitivity or white balance.

8. The shooting method according to any one of claims 1 to 7, characterized in that: The first display area or the second display area further displays a fourth control, The method further comprises: In response to a third input, shooting parameters of the first image are displayed, where the third input is an input acting on the fourth control, and the shooting parameters include one or more of the following: aperture, focal length, shutter, depth of field, sensitivity, or white balance.

9. The shooting method according to any one of claims 1 to 8, characterized in that: The shooting parameters of the photo match the shooting parameters of the first picture, and the shooting parameters include at least one of the following: aperture, focal length, shutter, depth of field, sensitivity or white balance.

10. The shooting method according to any one of claims 1 to 9, characterized in that: The method further comprises: The picture information of the photo is adjusted according to the picture information of the first picture, where the picture information includes at least one of the following: color, brightness or clarity.

11. The shooting method according to claim 10, characterized in that: After adjustment, the picture information of the photo matches the picture information of the first picture.

12. The shooting method according to any one of claims 1 to 11, characterized in that: Before saving the image acquired by the camera as a photo in response to detecting a preset input, the method further includes: First information is displayed, where the first information is used to prompt that the photographed object matches the first contour line, and the preset input includes a confirmation operation for the first information.

13. The shooting method according to any one of claims 1 to 11, characterized in that: The preset input includes a target shooting preview interface, in which a shooting object matches the first contour line.

14. The shooting method according to any one of claims 1 to 13, characterized in that: Before saving the image acquired by the camera as a photo in response to detecting a preset input, the method further includes: Displaying second information, where the second information is used to prompt that the shooting parameters of the electronic device match the shooting parameters of the first picture, and the shooting parameters include one of the following: aperture, focal length, shutter, depth of field, sensitivity or white balance.

15. The shooting method according to any one of claims 1 to 14, characterized in that: The method further comprises: In response to saving the image acquired by the camera as a photo, displaying a fifth control; In response to a fourth input, the photo is sent to the server, and the fourth input is an input acting on the fifth control.

16. The shooting method according to any one of claims 1 to 15, characterized in that: The electronic device further includes a second display screen, a light emitting surface of the second display screen and at least a portion of the light emitting surface of the first display screen are arranged opposite to each other, and the method further includes: The shooting preview interface and the first contour line are displayed through the second display screen.

17. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store program instructions, and the processor is used to call the program instructions to execute the method according to any one of claims 1 to 16.

18. A photographing device, characterized in that: The method comprises modules for implementing the method according to any one of claims 1 to 16.

19. A computer program product, characterized in that The computer program product comprises a computer program code, and when the computer program code is run on a computer, the method of any one of claims 1 to 16 is executed.

20. A readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a computer, the method according to any one of claims 1 to 16 is implemented.

21. A chip product, characterized in that: include: A processor is used to read instructions stored in a memory, and when the processor executes the instructions, the chip implements the method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Mobile terminal and photographing method thereof

    CN104301613A

  • Shooting method and device, electronic equipment and storage medium

    CN111355889A

  • Auxiliary shooting method, terminal equipment and computer readable storage medium

    CN113037990A

Cited By

  • Shooting method and electronic equipment

    CN122053962A

  • Capturing assistance method and electronic device

    WO2026179795A1