Shooting method, device and electronic equipment

By displaying the preview interface of the auxiliary camera on the main shooting preview interface in the electronic device and controlling the camera shooting, the problem of the cumbersome shooting process in the existing technology is solved, and the effect of quickly acquiring full-frame and close-up images is achieved.

CN115278030BActive Publication Date: 2024-09-24VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210908200.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2024-09-24
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

When shooting with existing electronic devices, users need to switch cameras and shoot multiple times to obtain different camera effects, making the shooting process cumbersome and time-consuming.

Method used

A shooting method and device are provided, which receive user input on the main shooting preview interface, display the auxiliary shooting preview interface of the target auxiliary camera, control the main camera and the auxiliary camera to shoot, output full-frame images and close-up images, and improve shooting efficiency.

Benefits of technology

Users can quickly view and shoot full-frame images and close-up images of partial areas, simplifying the shooting process and improving the efficiency of image acquisition with different camera effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115278030B
    Figure CN115278030B
Patent Text Reader

Abstract

The present application discloses a shooting method, device and electronic device, which belongs to the field of camera technology. The method includes: receiving a first input from a user while displaying a main shooting preview interface of a main camera, and displaying a secondary shooting preview interface of a target secondary camera in response to the first input, wherein the preview image displayed on the secondary shooting preview interface is a preview image of a target preview area in the main shooting preview interface, controlling the main camera and the secondary camera to shoot, and outputting a first main shooting file and a secondary shooting file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of camera technology, and specifically relates to a shooting method, device and electronic equipment. Background Art

[0002] The shooting function in electronic devices is usually used to record daily life. In order to meet people's growing recording needs, electronic devices have more and more shooting modes, and the shooting effects must be getting better and better.

[0003] In the related art, when an image is captured by a camera of an electronic device, a single camera captured image will be presented on a display screen. If a user needs to capture multiple images of the current scene with different camera effects, the user needs to switch cameras and trigger the electronic device to capture multiple images through the corresponding cameras. This makes the shooting process cumbersome and time-consuming. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a shooting method, device and electronic device, which can quickly capture a full-frame image and a close-up image of a partial area in the full-frame image, thereby improving the efficiency of shooting images with different camera effects.

[0005] In a first aspect, an embodiment of the present application provides a shooting method, the method comprising: receiving a first input from a user while displaying a main shooting preview interface of a main camera, and displaying a secondary shooting preview interface of a target secondary camera in response to the first input, wherein the preview image displayed on the secondary shooting preview interface is a preview image of a target preview area in the main shooting preview interface, controlling the main camera and the secondary camera to shoot, and outputting a first main camera file and a secondary camera file.

[0006] In a second aspect, an embodiment of the present application provides a shooting device, which includes: a receiving module, a display module and a control module, wherein: the receiving module is used to receive a first input from a user while displaying a main shooting preview interface of a main camera; the display module is used to display an auxiliary shooting preview interface of a target auxiliary camera in response to the first input received by the receiving module, and the preview image displayed on the auxiliary shooting preview interface is a preview image of a target preview area in the main shooting preview interface; the control module is used to control the main camera and the target auxiliary camera to shoot, and output a first main camera file and an auxiliary camera file.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0011] In an embodiment of the present application, when the main shooting preview interface of the main camera is displayed, the shooting device receives a first input from the user, displays an auxiliary shooting preview interface of the target auxiliary camera, and the preview image displayed in the auxiliary shooting preview interface is a preview image of the target preview area in the main shooting preview interface. The main camera and the target auxiliary camera are controlled to shoot, and a first main shooting file and an auxiliary shooting file are output. Through this method, by displaying the main shooting preview interface of the main camera and the auxiliary shooting preview interface of the target auxiliary camera, the user can quickly view images of different camera effects shot by different cameras. Since the preview image in the auxiliary shooting preview interface is the preview image of the target preview area in the main shooting preview interface, the full-frame image and the close-up image of a part of the full-frame image can be quickly captured, thereby improving the efficiency of shooting images with different camera effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A schematic diagram of a method flow of a photographing method provided in an embodiment of the present application;

[0013] FIG2 is a schematic diagram of an interface used by a shooting method provided in some embodiments of the present application;

[0014] Figure 3 A schematic diagram of an interface used by a shooting method provided in some embodiments of the present application;

[0015] Figure 4 A schematic diagram of an interface used by a shooting method provided in some embodiments of the present application;

[0016] Figure 5 A schematic diagram of an interface used by a shooting method provided in some embodiments of the present application;

[0017] Figure 6 A schematic diagram of an interface used by a shooting method provided in some embodiments of the present application;

[0018] FIG. 7( a ) is a schematic diagram of an interface used by a photographing method provided in some embodiments of the present application;

[0019] FIG7( b ) is a schematic diagram of an interface used by a photographing method provided in some embodiments of the present application;

[0020] FIG8( a ) is a schematic diagram of an interface used by a photographing method provided in some embodiments of the present application;

[0021] FIG8( b ) is a schematic diagram of an interface used by a photographing method provided in some embodiments of the present application;

[0022] FIG9( a ) is a schematic diagram of an interface used by a photographing method provided in some embodiments of the present application;

[0023] FIG9( b ) is a schematic diagram of an interface used by a photographing method provided in some embodiments of the present application;

[0024] Fig.10 A schematic diagram of the structure of a photographing device provided in an embodiment of the present application;

[0025] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0026] Fig.12 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0028] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0029] The following is a detailed description of the shooting method provided in the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0030] The shooting method provided by the embodiment of the present invention can be applied to the scene of shooting a group photo of multiple people, and can also be applied to the scene of shooting the night sky.

[0031] For a group photo shooting scenario, assume that user A uses a wide-angle camera of an electronic device to take a group photo for user B, user C, user D, user E and user F. The preview image on the shooting preview interface of the wide-angle camera includes the images of the above-mentioned users B, user C, user D, user E and user F. If the user needs to focus on the character details of user F, the area where the image of user F is located can be manually framed in the shooting preview interface. When the user frames the area where the image of user F is located, the shooting device starts the depth of field camera to shoot user F according to the object type of user F in the area framed by the user, and displays the shooting preview interface of the depth of field camera. The preview image in the shooting preview interface of the depth of field camera is the image of user F. Then, the user clicks the shooting button, and the shooting device controls the wide-angle camera to shoot, so as to obtain a group photo including the images of user B, user C, user D, user E and user F, and controls the depth of field camera to shoot, so as to obtain a single person photo including only the image of user F.

[0032] For the scene of photographing the night sky, suppose user A uses the wide-angle camera of an electronic device to photograph the night sky. The preview image of the shooting preview interface of the wide-angle camera includes the captured image of the night sky. If the user needs to focus on the details of the moon in the night sky, the user can manually frame the area where the image of the moon is located in the shooting preview interface. When the user frames the area where the image of the moon is located, the shooting device starts the telephoto camera to photograph the moon according to the object type of the moon in the area framed by the user, and displays the shooting preview interface of the telephoto camera. The preview image in the shooting preview interface of the telephoto camera is the image of the moon. Then, the user clicks the shooting button, and the shooting device controls the wide-angle camera to shoot to obtain a full-frame photo of the night sky, and controls the telephoto camera to shoot to obtain a photo that only includes the image of the moon.

[0033] An embodiment of the present application provides a shooting method, which can be applied to large-screen, flexible-screen and folding-screen electronic devices. Figure 1 FIG. 1 is a flow chart of a shooting method provided by an embodiment of the present application. Figure 1 As shown, the shooting method provided in the embodiment of the present application may include the following steps 201 to 203:

[0034] Step 201: When displaying the main shooting preview interface of the main camera, the shooting device receives a first input from the user.

[0035] Optionally, in an embodiment of the present application, the above-mentioned main camera may include any one of the following: a 2x camera, a wide-angle camera, a telephoto camera, and a depth of field camera, etc. The above-mentioned main camera may also be other cameras, and the embodiment of the present application does not impose any limitation on this.

[0036] Optionally, in the embodiment of the present application, when the main camera is used to shoot, the main camera shoots a full-frame picture, and the main shooting preview interface of the main camera displays a full-frame preview image. Exemplarily, when the main camera is used to shoot a night scene, the main shooting preview interface displays an image of the entire night sky, thereby obtaining a full-frame night sky image shot by the main camera.

[0037] It should be noted that full-frame images can accommodate wider scenes, allowing users to see richer image content.

[0038] Optionally, in an embodiment of the present application, the first input may include any of the following: a user's touch input, a voice input, a gesture input, a folding or unfolding operation of a foldable screen, or other feasible inputs, which are not limited in any way in the embodiment of the present application. Further, the touch input may be: a user's click input, a sliding input, a pressing input, etc. Further, the click operation may be any number of click operations. The sliding operation may be a sliding operation in any direction, such as sliding up, sliding down, sliding to the left, or sliding to the right, etc., which are not limited in any way in the embodiment of the present application.

[0039] Optionally, the first input may be a touch input of a user to a target control in the main shooting preview interface, or a folding input of a foldable screen, or a sliding input in the main shooting preview interface.

[0040] Step 202: The photographing device displays an auxiliary photographing preview interface of the target auxiliary camera in response to the first input.

[0041] The preview image displayed on the auxiliary shooting preview interface is a preview image of the target preview area in the main shooting preview interface.

[0042] Optionally, in an embodiment of the present application, the above-mentioned target auxiliary camera may include any one of the following: a 2x camera, a wide-angle camera, a telephoto camera, and a depth of field camera, etc. The above-mentioned target auxiliary camera may also be other cameras, and the embodiment of the present application does not impose any limitation on this.

[0043] Optionally, in the embodiment of the present application, the main camera and the target auxiliary camera may be different cameras. For example, the main camera is a wide-angle camera, and the target auxiliary camera is a telephoto camera; or, the first camera and the target camera are the same camera, and the shooting parameters of the first camera and the target camera are different, for example, the main camera and the target auxiliary camera are both 2x cameras, and the focal length of the target auxiliary camera is greater than that of the first camera.

[0044] It should be noted that the larger the focal length, the closer the distant scenery can be brought, making the image of the subject larger and showing details, but the viewing angle is small; the smaller the focal length, the more scenery can be accommodated, the viewing angle is wider, but the image details are insufficient.

[0045] Optionally, in the embodiment of the present application, the target preview area in the main shooting preview interface may be at least a portion of the preview area in the main shooting preview interface.

[0046] Optionally, the preview image of the main camera and the preview image of the target auxiliary camera may include different shooting objects. Exemplarily, the shooting object corresponding to the preview image of the target auxiliary camera may be: a part of the shooting objects among all the shooting objects corresponding to the preview image of the main camera.

[0047] Exemplarily, when photographing the starry sky through the main camera, the preview image displayed in the main shooting preview interface is a starry sky image, which includes images of stars and the moon in the night sky. The target preview area can be the preview area where the image of the moon in the main shooting preview interface is located.

[0048] For example, when shooting a group portrait through the main camera, the preview image displayed in the main shooting preview interface is a group portrait, which includes images of multiple people. The target preview area can be the image area where person A, who the user needs to pay attention to, is located in the main shooting preview interface.

[0049] Optionally, in the embodiment of the present application, the target preview area may be preset, or selected by a user, or determined by the photographing device according to a recognition result of a preview image in the main photographing preview interface.

[0050] In some embodiments of the present application, taking the first input as an input of a user folding the foldable screen as an example, when the camera detects that the foldable screen is folded and the folding angle is 90°, the camera triggers the display of the auxiliary shooting preview interface of the target auxiliary camera.

[0051] In some embodiments of the present application, taking the first input as a touch input of a target control in the user's main shooting preview interface as an example, when the shooting device receives a drag input of the zoom multiple control in the main shooting preview interface from the user, it triggers a split-screen display of the auxiliary shooting preview interface of the target auxiliary camera.

[0052] In some embodiments of the present application, when the photographing device receives a gesture input of the user sliding fingers of both hands in opposite directions to the left and right in the main photographing preview interface, the auxiliary photographing preview interface of the target auxiliary camera is displayed.

[0053] In this way, the user can quickly trigger the shooting device to display the auxiliary shooting preview interface through the above input according to actual needs, so that the user can view multiple preview interfaces under the shooting scene at the same time.

[0054] Step 203: The shooting device controls the main camera and the target auxiliary camera to shoot, and outputs a first main shooting file and an auxiliary shooting file.

[0055] Optionally, in an embodiment of the present application, the first main camera file may be an image or a video, and the auxiliary camera file may be an image or a video.

[0056] Optionally, in the embodiment of the present application, upon receiving the seventh input from the user, the photographing device controls the main camera and the target auxiliary camera to shoot, and outputs a first main camera file and an auxiliary camera file.

[0057] Optionally, the seventh input is used to trigger the shooting device to perform a shooting operation. Exemplarily, the seventh input may be: a user's touch input on the shooting preview interface, a voice input, a gesture input, or other feasible input, which is not limited in any way in the present embodiment of the application.

[0058] Exemplarily, the photographing device may receive a third input from the user, and control the first camera and the target camera to photograph simultaneously or in sequence, to obtain a first image and a second image respectively.

[0059] Optionally, the seventh input includes a first sub-input and a second sub-input. The shooting device receives the first sub-input, controls the main camera to shoot, outputs a first main camera file, and then receives the second sub-input, controls the target auxiliary camera to shoot, and outputs an auxiliary camera file.

[0060] In some embodiments of the present application, the main camera is a wide-angle camera, and the target auxiliary camera is a depth-of-field camera. When shooting a group portrait, the preview image of the main camera is the group portrait captured by the wide-angle camera, and the preview image of the target auxiliary camera is the portrait of person A in the group portrait captured by the depth-of-field camera. After the user clicks the shooting control, the wide-angle camera is controlled to shoot the group portrait to obtain a group photo image including the group portrait, and the depth-of-field camera is controlled to shoot person A to obtain a single person image including the person A.

[0061] In some embodiments of the present application, in combination with the above embodiments, after the user clicks the shooting control, the wide-angle camera is controlled to shoot the group portrait to obtain a group photo image including the group portrait; after the user clicks the shooting control again, the depth of field camera is controlled to shoot the portrait A to obtain a single person image including the portrait A.

[0062] In some embodiments of the present application, in combination with the above embodiments, after obtaining a group photo image including group portraits, after the user long presses the shooting control, the depth of field camera is controlled to record the portrait A to obtain a video including the portrait A. Further, during the recording process, the user can adjust the shooting angle of the camera according to actual needs to obtain a video of the person within a period of time (e.g., 3s, 5s, 10s, etc.).

[0063] In the shooting method provided in the embodiment of the present application, when the main shooting preview interface of the main camera is displayed, the shooting device receives the first input of the user, displays the auxiliary shooting preview interface of the target auxiliary camera, the preview image displayed in the auxiliary shooting preview interface is the preview image of the target preview area in the main shooting preview interface, controls the main camera and the target auxiliary camera to shoot, and outputs the first main shooting file and the auxiliary shooting file. Through this method, by displaying the main shooting preview interface of the main camera and the auxiliary shooting preview interface of the target auxiliary camera, the user can quickly view images of different camera effects shot by different cameras. Since the preview image in the auxiliary shooting preview interface is the preview image of the target preview area in the main shooting preview interface, the full-frame image and the close-up image of a part of the full-frame image can be quickly captured, thereby improving the efficiency of shooting images with different camera effects.

[0064] Optionally, in some embodiments of the present application, before displaying the auxiliary shooting preview interface of the target auxiliary camera in the above step 202, the shooting method provided in the embodiment of the present application further includes the following steps A1 and A2:

[0065] Step A1: The camera determines a target preview area.

[0066] Step A2: The shooting device determines the target auxiliary camera.

[0067] Among them, the preview image displayed on the above-mentioned auxiliary shooting preview interface is a preview image of the target preview area captured by the target auxiliary camera; the above-mentioned target preview area is determined according to the first input, or the above-mentioned target preview area is the area where the identified preset type of shooting object is located.

[0068] In some possible embodiments, the user may perform sliding input or click input in the main shooting preview interface, and the shooting device may determine the target preview area in the main shooting preview interface according to the input track of the sliding input or the position of the click input.

[0069] In some other possible embodiments, the photographing device may identify the preview image in the main photographing preview interface and determine the target preview area in the photographing preview interface according to the identification result.

[0070] Exemplarily, the photographing device may determine the target camera based on the preview image in the target preview area, or determine the target auxiliary camera according to the first input of the user.

[0071] In this way, the shooting device can select a specific preview area from the main shooting preview interface according to the user's first input, and use the target auxiliary camera to shoot the object corresponding to the specific preview area, thereby obtaining an image of the area that the user needs to pay attention to for subsequent viewing.

[0072] Further optionally, in the embodiment of the present application, the above step A1 may include the following steps B1 and B2:

[0073] Step B1: When the first input includes a user input to the main shooting preview interface, the shooting device determines a target preview area according to input information of the first input.

[0074] The above input information includes input position or input track.

[0075] Step B2: When the first input includes an input for triggering display of an auxiliary shooting preview interface of the target auxiliary camera, the shooting device performs object recognition on the main shooting preview interface, and when a preset type of shooting object is recognized, the area where the shooting object is located is determined as the target preview area.

[0076] In some possible implementations, the first input is a click input or a sliding input of the user on the main shooting preview interface.

[0077] Exemplarily, when the first input is a click input by the user on the main shooting preview interface, the photographing device may determine the target preview area in the main shooting preview interface according to the input position of the click input by the user in the main shooting preview interface.

[0078] In some embodiments of the present application, as shown in FIG2(a), when the main shooting preview interface 21 is displayed, the shooting preview interface 21 displays an image of the night sky captured by a wide-angle camera. When the user needs to focus on the moon 22 in the night sky, the user clicks on position A, position B, position C, and position D in the main shooting preview interface in sequence. The shooting device can use the four input positions of position A, position B, position C, and position D as four vertices, and then connect two adjacent vertices to form a quadrilateral, and determine the interface area enclosed by the quadrilateral as the target preview area, or determine the interface area outside the interface area enclosed by the quadrilateral as the target preview area.

[0079] Exemplarily, when the first input is a user sliding input in the main shooting preview interface, the shooting device receives the user's sliding input and determines the interface area surrounded by the sliding track of the sliding input as the target preview area, or determines the interface area outside the interface area surrounded by the sliding track of the sliding input as the target preview area.

[0080] In some embodiments of the present application, taking the main camera as a wide-angle camera as an example, when the wide-angle camera is used to shoot the night sky, as shown in Figure 2(b), the main shooting preview interface 21 displayed on the left screen displays an image of the night sky taken by the wide-angle camera, and the right screen displays the desktop of the electronic device. If the user wants to focus on the moon in the night sky, the user manually slides the input box in the main shooting preview interface 21 to select the area where the moon 22 is located, that is, the area in the dotted box in Figure 2, and the shooting device determines the area where the moon 22 is located as the target preview area.

[0081] In some embodiments of the present application, taking the main camera as a wide-angle camera as an example, when a wide-angle camera is used to take a group photo of a person, such as Figure 3 As shown, the main shooting preview interface 31 displayed on the left screen displays a multi-person image shot by a wide-angle camera, and the right screen displays the desktop. If the user wants to focus on a person 32, the user manually slides the input box in the main shooting preview interface 31 to select the area 33 where the person is located, that is, Figure 3 The area in the dotted line frame is determined by the shooting device as the target preview area.

[0082] For example, Figure 3 In the corresponding embodiment, the left screen displays the main shooting preview interface of the main camera, and when the right screen displays the desktop, the user selects an area in the main shooting preview interface on the left screen. In other examples, when the left screen displays the main shooting preview interface, the right screen may also display the shooting preview interface of other cameras, or any application interface.

[0083] It should be noted that the dotted box is for intuitively selecting or marking the location of the area selected by the user, and may not exist in actual reality.

[0084] In this way, the shooting device can determine the target preview area based on the user's input, so that the user can select a preview image of a preview area that needs to be focused on in the main shooting preview interface for viewing according to their actual needs, thereby improving the flexibility of user operation.

[0085] In some other possible implementations, the first input is used to trigger display of the auxiliary shooting preview interface of the target auxiliary camera, and the first input is the user's input to the target control in the main shooting preview interface, or is the input for folding the foldable screen.

[0086] Exemplarily, when the main shooting preview interface is displayed, the user clicks on the zoom factor control in the main shooting preview interface, and the shooting device performs object recognition on the main shooting preview interface, and when a preset type of shooting object is recognized, the area where the shooting object is located is determined as the target preview area.

[0087] Exemplarily, when performing object recognition on the main shooting preview interface, the shooting device extracts the preview image in the main shooting preview interface, detects each shooting object contained in the preview image through an AI image recognition algorithm, and intelligently identifies the object type of each shooting object through the AI ​​image recognition algorithm, and then matches the object type of each shooting object with a preset type, and when there is an object type that matches the preset type, the area in the main shooting interface where the shooting object corresponding to the object type is located is determined as the target preview area.

[0088] In some possible embodiments, the AI ​​image recognition algorithm may be a deep learning algorithm, and the photographing device uses an image recognition model trained by the deep learning algorithm to detect the photographed object in the preview image and identify the feature information of the photographed object, and then matches the feature information of each photographed object with the feature information in a preset database, and finally determines the object type corresponding to the feature information matched therewith in the preset database as the object type of the photographed object. It should be noted that the preset database stores the correspondence between the feature information and the object type of the photographed object, and the photographing device can obtain the object type of the photographed object by matching the feature information of the photographed object.

[0089] It should be noted that using an image recognition model trained with a deep learning algorithm to detect each object in a preview image and identify feature information of each object is a prior art and will not be described in detail here.

[0090] Exemplarily, taking the preset type of person as an example, assuming that the main shooting preview interface displays a person landscape image taken by a wide-angle camera, and the person landscape image includes a person image and a landscape image, the shooting device can use an image recognition algorithm to identify the person landscape image. After identifying that the person landscape image contains a portrait of the person type, the area where the portrait is located is determined as the target preview area.

[0091] In this way, the shooting device can perform object recognition on the main shooting preview interface and automatically determine the target preview area based on the recognition result, so that the user can view the preview image in the target preview area separately without any operation, thereby improving the intelligence of the operation and simplifying the user operation.

[0092] Further optionally, in the embodiment of the present application, the above step A2 may include the following steps C1 and C2:

[0093] Step C1: The photographing device obtains the object type of the photographing object in the target preview area.

[0094] Step C2: The shooting device determines a target auxiliary camera that matches the object type.

[0095] Exemplarily, the object type of the photographed object is used to characterize the object category of a photographed object. Exemplarily, the object type of the photographed object includes, but is not limited to, landscape, person, building, and food, etc., and the object type of the photographed object can be further classified according to actual needs. For example, the landscape type can be further divided into mountains, rivers, lakes, stars, forests, sun, moon, etc., and the person can be further divided into the elderly, children, young people, etc. The above object type can also be other types not listed, and the embodiments of the present application do not impose any limitation on this.

[0096] Exemplarily, the photographing device may identify the object type of the photographed object through an AI image recognition algorithm.

[0097] In some possible implementations, the photographing device may determine a target auxiliary camera that matches the object type through a preset correspondence between the object type and the camera.

[0098] Exemplarily, if the camera corresponding to the preset scenery type of shooting object is a telephoto camera, then when it is identified that the object type of the shooting object in the target preview area is scenery, the telephoto camera is determined as the target auxiliary camera that matches the object type; if the camera corresponding to the preset person type of shooting object is a depth of field camera, then when it is identified that the object type of the shooting object in the target preview area is scenery, the depth of field camera is determined as the target auxiliary camera that matches the object type.

[0099] In some other possible implementations, the photographing device may obtain the object type of the photographing object and then determine a target auxiliary camera suitable for photographing the photographing object through an AI algorithm.

[0100] Exemplarily, when the preview image in the target preview area is a portrait, the shooting device determines the target auxiliary camera using the depth of field camera; when the preview image in the target preview area is a natural scene, the periscope camera is determined as the target auxiliary camera; when the preview image in the target preview area is a building, the 2x camera is determined as the target auxiliary camera.

[0101] Further, in the case of determining a target auxiliary camera suitable for photographing the subject, the photographing device may acquire a preview image of the subject through the target auxiliary camera.

[0102] In some examples, when the target auxiliary camera is used to shoot the object, the shooting device can adjust the shooting parameters of the target auxiliary camera according to the size of the object to obtain a preview image that only includes the image of the object. For example, when the target auxiliary camera is used to shoot person A in a group of people, the focal length is reduced to zoom in and enlarge the distant object, and then the target auxiliary camera can be moved so that the image of person A is in the center of the preview image, thereby obtaining a preview image that only includes the image of person A.

[0103] In other examples, when the object is photographed through the target auxiliary camera, the photographing device may process the original image data collected by the target auxiliary camera to obtain image data including only the image of the object, and obtain a preview image including only the image of the object based on the image data. For example, when person A in a group of people is photographed through the target auxiliary camera, when the original image data including the image of the group of people collected by the target auxiliary camera is obtained, the original image data is processed to obtain image data including only the image of person A, and based on the image data including only the image of person A, a preview image including only the image of person A is obtained.

[0104] In some embodiments of the present application, in combination with the above embodiments, when a wide-angle camera is used to photograph the night sky, when a user manually slides the input box in the main shooting preview interface 21 to select the area 23 where the moon 22 is located, the shooting device detects the object type of the shooting object in the area 23 through an AI algorithm, determines to call the telephoto camera to photograph the moon in the night sky, and displays a preview image of the moon in the shooting preview interface of the telephoto camera, so as to obtain an image showing only the moon in subsequent shooting.

[0105] In some embodiments of the present application, in combination with the above embodiments, when a wide-angle camera is used to take a group photo of people, when the user manually slides the input box in the main shooting preview interface 31 to select the area 33 where the person A who needs to be paid attention to is located, the shooting device detects the object type of the shooting object in the area 33 through an AI algorithm, determines to call the depth of field to shoot the person A, and displays a preview image of the user A in the shooting preview interface of the depth of field camera, so that an image with depth of field information showing only the specific person A can be obtained in subsequent shooting.

[0106] Furthermore, when the person A is photographed by a depth of field camera, the photographing device can process the original image data collected by the depth of field camera to obtain image data corresponding to the person A, and obtain a preview image that only includes the image of the person A based on the image data.

[0107] In other possible implementations, the photographing device can also determine the target auxiliary camera suitable for photographing the subject through an AI algorithm based on information such as the size of the subject, the display ratio of the subject in the preview image, and the distance between the actual subject corresponding to the subject and the camera.

[0108] It should be noted that the actual shooting object corresponding to the shooting object refers to the shooting object in the actual shooting environment. For example, when shooting the moon in the night sky, the shooting object may be the moon in the preview image, and the actual shooting object is the real moon in the night sky.

[0109] It should be noted that different types of subjects usually require different camera effects. For example, when shooting portraits, you can use a depth of field camera to blur the background to highlight the portrait effect. For scenes like the moon in the night sky, you can use a telephoto camera to obtain higher clarity.

[0110] In this way, the shooting device can automatically identify the object type of the shooting object in the target preview area and obtain a close-up shot of the shooting object in the target preview area without the user selecting the shooting object that requires a close-up shot, thereby conveniently and efficiently shooting a close-up image of the shooting object that the user needs to focus on.

[0111] Further optionally, in the embodiment of the present application, the above step A2 may include the following step D1:

[0112] Step D1: when the first input includes a folding input of folding the screen, the photographing device determines the auxiliary camera associated with the folding angle of the folding input as the target auxiliary camera according to the association relationship between the preset folding angle and the auxiliary camera.

[0113] Exemplarily, the folding angle is the angle formed by the screens on both sides of an axis after the flexible screen or foldable screen is folded along the axis.

[0114] Exemplarily, the auxiliary camera includes one or more cameras of the electronic device.

[0115] Exemplarily, the association between the folding angle and the auxiliary camera may be a system default or a user-defined one.

[0116] Exemplarily, the association relationship between the folding angle and the auxiliary camera can be: when the folding angle is 30°, the associated auxiliary camera is a telephoto camera; when the folding angle is 60°, the associated auxiliary camera is a depth of field camera; when the folding angle is 90°, the associated auxiliary camera is a 2x camera; or, when the folding angle is greater than 30° and less than 45°, the associated auxiliary camera is a telephoto camera; when the folding angle is greater than 60° and less than 75°, the associated auxiliary camera is a telephoto camera. The association relationship between the preset folding angle and the auxiliary camera can be flexibly set according to actual needs, and the embodiments of the present application do not impose any limitation on this.

[0117] For example, when the electronic device is a folding screen or flexible screen electronic device, the shooting device receives the user's input on the screen folding. When the shooting device detects that the foldable screen is folded and the folding angle is 90°, the 2x camera is determined as the target auxiliary camera.

[0118] In this way, the user can quickly trigger the shooting device to determine the target auxiliary camera through the above input according to actual needs, so that the preview image shot by the target auxiliary camera can be viewed at the same time.

[0119] Optionally, in the embodiment of the present application, when the target preview area includes at least two preview areas, the target auxiliary camera includes at least two auxiliary cameras.

[0120] Optionally, the above step 202 may include the following step 202b1 or step 202b2:

[0121] Step 202b1: In response to the first input, the camera displays a main shooting preview interface of the main camera in a first screen area of ​​the display screen, and displays auxiliary shooting preview interfaces of at least two auxiliary cameras in at least two screen areas of the display screen.

[0122] Step 202b2: In response to the first input, the photographing device displays the main photographing preview interface of the main camera on the first screen, and displays the auxiliary photographing preview interfaces of at least two auxiliary cameras on at least two screen areas of the second screen.

[0123] Exemplarily, one auxiliary camera corresponds to one target preview area.

[0124] In some possible implementations, for large-screen electronic devices, the first screen area may be any screen area of ​​a display screen of the electronic device, and the at least two screen areas may be any screen area of ​​the display screen except the first screen area.

[0125] In some embodiments of the present application, Figure 4 As shown, taking the main camera as a wide-angle camera, and the target auxiliary cameras as a depth-of-field camera and a telephoto camera as an example, when shooting a group portrait through the wide-angle camera, a main shooting preview interface 41 is displayed on the left screen of the electronic device, and the main shooting preview interface 41 includes the group portrait and the distant mountain captured by the wide-angle camera. After the user slides the input box of the main shooting preview interface 41 to select a single portrait 42a in the group portrait and a distant mountain 42b, the shooting device displays an auxiliary shooting preview interface 43 of the distant mountain 42b shot by the telephoto camera in the upper half of the right screen, and displays an auxiliary shooting preview interface 44 of the single portrait 42a shot by the depth-of-field camera in the lower half of the right screen.

[0126] In some other possible implementations, for a foldable screen electronic device, the first screen is one screen of the foldable screen, and the second screen is another screen of the foldable screen.

[0127] In this way, the shooting device can respectively display the main shooting preview interface of the main camera and the auxiliary shooting preview interfaces of multiple target auxiliary cameras on the display screen, so that users can preview images captured by multiple cameras on the same interface, which is convenient for users to view the shooting effects in real time. In addition, within the same image scene, more detailed displays can be made based on more detailed scenes that users may pay attention to later, thereby displaying more detailed information about things in the scene within a limited scene.

[0128] Optionally, in an embodiment of the present application, the first input includes a folding input of a folding screen, and the folding input is used to trigger display of an auxiliary shooting preview interface of the target auxiliary camera.

[0129] Optionally, the above step 202 may include the following step 202c:

[0130] Step 202c: the photographing device responds to the first input, and when the folding angle of the folding input is a preset angle, displays the auxiliary photographing preview interface of the target auxiliary camera.

[0131] Exemplarily, the preset angle may be a system default or a user-defined angle.

[0132] Exemplarily, the preset angle may be an angle value, for example, the preset angle is 30°, 60° or 90°, etc.; the preset angle may also be an angle range, for example, the preset angle is between 30° and 60°, including any angle value between 30° and 60°, or the preset angle is between 60° and 90°, including any angle value between 60° and 90°.

[0133] Exemplarily, when a user inputs a foldable screen of a foldable electronic device, the camera detects the current folding angle, and when the folding angle is a preset angle, displays an auxiliary shooting preview interface of the target auxiliary camera.

[0134] For example, taking the target auxiliary camera as the telescopic camera and the preset angle as 60°, when the user is folding the foldable electronic device, the shooting device displays the shooting preview interface of the telescopic camera when it detects that the current folding angle of the foldable screen reaches 60°.

[0135] In this way, the user can quickly trigger the display of the target auxiliary shooting preview interface through input on the folded screen, thereby improving user operation efficiency.

[0136] Optionally, in an embodiment of the present application, the first main camera file and the auxiliary camera file include images or videos.

[0137] Optionally, after step 203, the photographing device performs synthesis processing on the first main photographing file and the auxiliary photographing file to obtain a synthesized file. How to obtain the synthesized file includes the following four cases:

[0138] When the first main camera file is a main camera image and the auxiliary camera file of the photographing device is an auxiliary camera image, the main camera image and the auxiliary camera image are fused to output a fused image.

[0139] When the first main camera file is a main camera video and the auxiliary camera file is an auxiliary camera video, the shooting device fuses the main camera video and the auxiliary camera video and outputs a fused video.

[0140] When the first main camera file is a main camera image and the auxiliary camera file is an auxiliary camera video, the shooting device performs video fusion on the main camera image and the auxiliary camera video and outputs a fused video.

[0141] When the first main camera file is a main camera video and the auxiliary camera file is an auxiliary camera image, the shooting device performs video fusion on the main camera video and the auxiliary camera image and outputs a fused video.

[0142] Exemplarily, when the first main camera file is a main camera image and the auxiliary camera file is an auxiliary camera image, the shooting device determines a fusion area in the main camera image, and performs fusion processing on the fusion area of ​​the auxiliary camera image in the main camera image to obtain a fused image, and the fusion area in the fused image displays the auxiliary camera image; or, the shooting device can obtain an image of the main camera object in the auxiliary camera image based on the auxiliary camera image, and then performs image fusion on the image of the main camera object in the fusion area in the main camera image to obtain a fused image.

[0143] Exemplarily, the fusion area may be an area in the background image of the main image.

[0144] For example, assuming that the main camera image is a group photo and the auxiliary camera image is an image of a single person, the upper right corner area of ​​the single person image where no portrait is shown in the group photo is fused to obtain a fused image with the single person image shown in the upper right corner.

[0145] For example, when the auxiliary image includes the moon, the shooting device identifies the outline of the moon in the image through an edge detection algorithm, and then obtains an image showing only the moon based on the outline of the moon, and fuses the image in the fusion area of ​​the main image.

[0146] Exemplarily, when the first main camera file is the main camera video and the auxiliary camera file is the auxiliary camera video, the shooting device determines the fusion area of ​​each image frame of the main camera video, and fuses each frame of the auxiliary camera video with the fusion area of ​​each image frame of the main camera video to obtain a fused video, and the fusion area of ​​each image frame of the fused video displays an image frame of the auxiliary camera video.

[0147] Further, in the case that the number of image frames included in the main video is different from the number of image frames included in the auxiliary video, the shooting device may intercept the same number of video frames of the main video and the auxiliary video for fusion.

[0148] In some possible embodiments, assuming that the auxiliary video and the main video include k image frames, that is, k frames of images, the shooting device fuses the first frame of the auxiliary video in the fusion area of ​​the first frame of the main video to obtain the first fused image frame, fuses the second frame of the auxiliary video in the fusion area of ​​the second frame of the main video to obtain the second fused image frame, fuses the third frame of the auxiliary video in the fusion area of ​​the third frame of the main video to obtain the third fused image frame, and so on, until the kth frame of the auxiliary video is fused in the fusion area of ​​the kth frame of the main video to obtain the kth image frame, and finally the k fused image frames are synthesized into a fused video.

[0149] For example, assuming that the main camera image is a video including multiple portraits, referred to as multi-person video, and the auxiliary camera image is a video including a single portrait, referred to as single-person video, then the same number of image frames of the multi-person video and the single-person video are intercepted, and each image frame of the intercepted single-person video is fused or spliced ​​in the fusion area of ​​each image frame of the intercepted multi-person video to obtain a fused video including single-person video information and multi-person video information.

[0150] Exemplarily, when the first main camera file is a main camera image and the auxiliary camera file is an auxiliary camera video, the shooting device can copy the image frames of the main camera image to obtain a corresponding main camera video, the main camera video and the auxiliary camera video have the same number of image frames, and each image frame of the main camera video is the same, and then determine the fusion area of ​​the main camera image, and fuse each image frame of the auxiliary camera video in the fusion area of ​​each image frame of the main camera video corresponding to the main camera image to obtain a fused video.

[0151] In some possible embodiments, assuming that the auxiliary video includes m image frames, the shooting device copies the image frames of the main camera image to obtain a main camera video including m identical image frames, and then the shooting device fuses the first frame of the auxiliary video in the fusion area of ​​the first frame of the main camera video to obtain the first fused image frame, fuses the second frame of the auxiliary video in the fusion area of ​​the second frame of the main camera video to obtain the second fused image frame, and fuses the third frame of the auxiliary video in the fusion area of ​​the third frame of the main camera video to obtain the third fused image frame, and so on, until the mth frame of the auxiliary video is fused in the fusion area of ​​the mth frame of the main camera video to obtain the mth fused image frame, and finally the m fused image frames are synthesized into a fused video.

[0152] Exemplarily, when the first main camera file is a main camera video and the auxiliary camera file is an auxiliary camera image, the shooting device can copy the image frames of the auxiliary camera image to obtain a corresponding auxiliary camera video, which has the same number of image frames as the main camera video, and each image frame of the auxiliary camera video is the same, and then determine the fusion area of ​​each image frame of the main camera video, and fuse each image frame of the auxiliary camera video corresponding to the auxiliary camera image into the fusion area of ​​each image frame of the main camera video to obtain a fused video.

[0153] In some possible embodiments, assuming that the main camera video includes n image frames, the shooting device copies the image frames of the auxiliary camera image to obtain an auxiliary camera video including n identical image frames, and then the shooting device fuses the first frame of the auxiliary camera video in the fusion area of ​​the first frame of the main camera video to obtain the first fused image frame, fuses the second frame of the auxiliary camera video in the fusion area of ​​the second frame of the main camera video to obtain the second fused image frame, and fuses the third frame of the auxiliary camera video in the fusion area of ​​the third frame of the main camera video to obtain the third fused image frame, and so on, until the nth frame of the auxiliary camera video is fused in the fusion area of ​​the nth frame of the main camera video to obtain the nth fused image frame, and finally the n fused image frames are synthesized into a fused video.

[0154] Optionally, after obtaining the above-mentioned fused image or fused video, the fused image or fused video may be stored or displayed.

[0155] Optionally, in the embodiment of the present application, the above step 202 may include the following step 202c1 or step 202c2:

[0156] Step 202a1: In response to the first input, the photographing device displays a main photographing preview interface of the main camera in the first screen area of ​​the display screen, and displays a secondary photographing preview interface of the target secondary camera in the second screen area of ​​the display screen.

[0157] Step 202a2: In response to the first input, the photographing device displays a main photographing preview interface of the main camera on the first screen, and displays a secondary photographing preview interface of the target secondary camera on the second screen.

[0158] Exemplarily, the first screen area is different from the second screen area. For example, the first screen area may be the upper half of the screen area of ​​the display screen, and the second screen area may be the lower half of the screen area of ​​the display screen; or, the first screen area may be the left half of the screen area of ​​the display screen, and the second screen area may be the right half of the screen area of ​​the display screen.

[0159] Exemplarily, the first screen and the second screen may be two screens of a folding screen electronic device, or two screen areas of a flexible screen electronic device.

[0160] It should be noted that in the embodiment of the present application, the first screen and the second screen of the folding screen electronic device can be called the left screen and the right screen, the left half of the screen area of ​​the large screen or flexible screen electronic device can be called the left screen, and the right half of the screen area can be called the right screen.

[0161] In some embodiments of the present application, Figure 5As shown, taking the main camera as a wide-angle camera and the target auxiliary camera as a depth-of-field camera as an example, the left screen of the electronic device displays a shooting preview interface 51 of the wide-angle camera, and the shooting preview interface 51 displays a preview image of a group portrait captured by the wide-angle camera. After the user selects the area where the specific portrait A in the shooting preview interface 51 is located, the right screen displays a shooting preview interface 52 including a preview image of the person corresponding to the specific portrait A in the group portrait captured by the depth-of-field camera.

[0162] In some embodiments of the present application, Figure 6 As shown, taking the main camera as a wide-angle camera and the target auxiliary camera as a telescopic camera as an example, the left screen of the electronic device displays a shooting preview interface 61 of the wide-angle camera, which displays a preview image of the starry sky collected by the wide-angle camera. After the user selects the area where the moon 62 is located in the shooting preview interface 61, the right screen displays a shooting preview interface 63 including a preview image of the moon collected by the telescopic camera.

[0163] It should be noted that in Figure 5 In the corresponding embodiments, the electronic device may be a large-screen electronic device or a folding-screen electronic device. When the electronic device is a large-screen electronic device, the left screen may be the left half of the display screen of the large-screen electronic device, and the right screen may be the right half of the display screen of the large-screen electronic device. When the electronic device is a folding-screen electronic device, the left screen may be the first screen of the folding-screen electronic device, and the right screen may be the second screen of the folding-screen electronic device.

[0164] In the shooting method provided in the embodiment of the present application, according to the characteristics of the screen, multiple cameras are used for preview display and auxiliary photography. Through the interactive combination of multiple cameras and multiple screens, while preserving the overall appearance of the scene, preview images of specific shooting objects are displayed according to user needs, thereby facilitating users to view preview images of various different camera effects.

[0165] Further optionally, in the embodiment of the present application, after the above step 203, the shooting method provided in the embodiment of the present application further includes the following step 205 or step 206:

[0166] Step 205: When the main shooting preview interface and the auxiliary shooting preview interface are respectively displayed in the first screen area and the second screen area of ​​the display screen, the shooting device updates the auxiliary shooting preview interface to the first sub-area of ​​the second screen area for display, and displays the first main shooting file and the auxiliary shooting file in the second sub-area of ​​the second screen area.

[0167] Step 206: When the main shooting preview interface and the auxiliary shooting preview interface are displayed on the first screen and the second screen respectively, the shooting device updates the auxiliary shooting preview interface to the first screen area of ​​the second screen for display, and displays the first main shooting file and the auxiliary shooting file in the second screen area of ​​the second screen.

[0168] Exemplarily, the first sub-region and the second sub-region may be different screen regions of the second screen region.

[0169] In one example, when the main shooting preview interface and the auxiliary shooting preview interface are respectively displayed in the first screen area and the second screen area of ​​the display screen, the shooting device receives the user's shooting input to the shooting control of the main shooting preview interface, and the shooting device controls the main camera and the target auxiliary camera to shoot respectively, and obtains a first main camera file and an auxiliary camera file.

[0170] In another example, when the main shooting preview interface and the auxiliary shooting preview interface are respectively displayed in the first screen area and the second screen area of ​​the display screen, the shooting device receives a first shooting input from a user to the shooting control of the main shooting preview interface, and the shooting device controls the main camera to shoot, and obtains a first main shooting file. Then, the shooting device receives a second shooting input from the user to the shooting control of the main shooting preview interface, and the shooting device controls the target auxiliary camera to shoot, and obtains an auxiliary shooting file.

[0171] In some embodiments of the present application, in combination with the above embodiments, a shooting preview interface 51 of a wide-angle camera is displayed on the left screen of the electronic device, and the shooting preview interface 51 displays a preview image of a group portrait captured by the wide-angle camera, and a preview image of a person corresponding to a specific portrait A in the group portrait captured by the depth-of-field camera is displayed in a shooting preview interface 52 on the right screen. After the user clicks on the shooting control 53, as shown in FIG7(a), the shooting device controls the wide-angle camera to shoot the group portrait to obtain an image 74 including the group portrait, and displays the preview image of the depth-of-field camera in the upper screen area 75a of the right screen, and displays the image 74 in the screen area 75b of the right screen. Then, after the user clicks on the shooting control 53 again, as shown in FIG7(b), the depth-of-field camera is controlled to shoot the specific person in the group portrait scene to obtain a 3D depth-of-field image 75 including the portrait of the specific person, and the image 74 including the group portrait and the depth-of-field image 75 are respectively displayed in the screen area of ​​the right screen.

[0172] In this way, by displaying preview images of the panoramic image and the regional close-up image in different screen areas respectively, the user can intuitively view the panoramic image and the regional close-up image.

[0173] In some embodiments of the present application, in combination with the above embodiments of the present application, the left screen of the electronic device displays a shooting preview interface of the full scene picture shot by the wide-angle camera, and the right screen displays a preview interface of the main camera. The user selects two areas of interest in the shooting preview interface of the left screen, and the shooting device preferentially calls out the optimal camera of the first selected area of ​​interest according to the user's selection order, and then switches to open the optimal camera for shooting and displays the preview image shot by the camera in the preview interface of the right screen. Then, the user clicks the left screen shooting control to trigger the left screen wide-angle camera shooting, and the area below the right screen will display the picture preview shot by the left screen synchronously. Then, the user clicks the left screen shooting button to trigger the optimal camera shooting of the right screen. At this time, two picture preview images will be displayed below the right screen, one is the global picture shot by the first wide-angle camera, and the other is the close-up picture of the area of ​​interest selected by the user for the first time. At this time, the shooting device switches to display the preview image of the optimal camera of the second selected area in the right screen shooting preview interface. The user continues to click the shooting button to trigger the optimal camera shooting of the second selected area, and obtains the close-up picture of the second area selected by the user and displays the close-up picture on the right screen.

[0174] In the shooting method provided in the embodiment of the present application, according to the characteristics of the screen, multiple cameras are used for preview display and auxiliary shooting. Through the interactive combination of multiple cameras and multiple screens, while preserving the overall appearance of the scene, specific objects in the scene are selected according to the needs of the user. According to the specific scene (close-up, long-range), the most suitable lens (telephoto, macro) is called out through the algorithm to take a close-up of the selected object, which can increase special effects or perform any customized operations. For example, when shooting a night scene, the left screen takes a picture of the entire starry sky, and the right screen can select the moon in the night sky and call the periscope lens to shoot the supermoon. It can also be in the interface of shooting a busy scene, the right screen sets a specific scene to shoot a dynamic video, and the left and right screens take pictures to complete the synthesis of an image. When the user clicks on an object in the image, it can be supplemented according to the shooting details of the right screen. The purpose of displaying as many details as possible in the effective image focus scene that the user may want to pay attention to in the later stage is achieved.

[0175] Optionally, in the embodiment of the present application, after the above step 203, the shooting method provided in the embodiment of the present application further includes the following steps D1 to D4:

[0176] Step D1: The camera receives a third input from the user.

[0177] Step D2: the photographing device controls the main camera to shoot in response to the third input, and outputs a second main camera file.

[0178] Step D3: when the main shooting preview interface and the auxiliary shooting preview interface are displayed in the first screen area and the second screen area of ​​the display screen respectively, the second main shooting file is displayed in the second sub-area of ​​the second screen area.

[0179] Step D4: when the main shooting preview interface and the auxiliary shooting preview interface are displayed on the first screen and the second screen respectively, the second main shooting file is displayed in the second screen area of ​​the second screen.

[0180] Exemplarily, the third input may be any feasible input such as a user's touch input, voice input, or gesture input.

[0181] Exemplarily, the second main camera file may be a main camera image or a main camera video.

[0182] Exemplarily, after obtaining the first main camera file and the auxiliary camera file through shooting, the shooting device receives a third input of the user to the shooting button, controls the main camera to shoot again, and obtains the second main camera file.

[0183] Exemplarily, for a large-screen electronic device, the photographing device may display the second main camera file in a partitioned manner in a second sub-region of a second screen region of the electronic device, or may display the second main camera file in an overlay manner in the second sub-region.

[0184] Exemplarily, for a foldable screen electronic device, the shooting device may display the second main camera file in a partitioned manner in the second screen area of ​​the second screen of the electronic device, or may display the second main camera file in an overlay manner in the second screen area of ​​the second screen.

[0185] For example, after taking the first main camera file, the user can adjust the camera's shooting angle of view to continue the second main camera file. For example, when using a wide-angle camera to take a group photo of people, the user can first get a group photo of the people and a close-up of the people, and then adjust the shooting angle of the wide-angle camera to get another group photo of the people at a different shooting angle, and get multiple main camera images at different shooting angles. In this way, the user can trigger the main camera to shoot multiple main camera files, and display the multiple main camera files taken for easy viewing by the user.

[0186] Optionally, in the embodiment of the present application, after the above step 203, the shooting method provided in the embodiment of the present application further includes the following steps E1 and E2, or includes the following steps E1 and E3:

[0187] Step E1: the photographing device receives a fourth input from the user.

[0188] The fourth input is an input for viewing the main camera file.

[0189] Step E2: In response to the fourth input, the photographing device displays the main photographing file in the first screen area of ​​the display screen, and displays the auxiliary photographing file in the second screen area of ​​the display screen.

[0190] Step E3: In response to the fourth input, the photographing device displays the main photographing file on the first screen and displays the auxiliary photographing file on the second screen.

[0191] Exemplarily, the fourth input is any feasible input such as touch input, voice input, gesture input, etc. of the user, and the embodiment of the present application does not impose any limitation on this.

[0192] Exemplarily, the fourth input is the user's input in the gallery interface.

[0193] In some embodiments of the present application, as shown in FIG8(a), the main camera file is a main camera image, and the auxiliary camera file is an auxiliary camera image. When the image icon 82 of the main camera image is displayed on the gallery interface, the user long presses the icon 82, and as shown in FIG8(b), the camera displays the main camera image 81 on the screen 83 of the electronic device, and displays the auxiliary camera image 85 on the screen 84 of the electronic device. The image area where the portrait 81a in the auxiliary camera image 81 is located corresponds to the auxiliary camera image 85, and the auxiliary camera image 85 is a close-up picture of the person corresponding to the portrait 81a.

[0194] In this way, when the user views the image, the shooting device can display a close-up image corresponding to the target image area in the image on the second screen, and display the image on the first screen, so that the user can conveniently and quickly view the image content in part of the image area in the image through the displayed close-up image, and view the displayed image and close-up image on different screens at the same time, greatly improving the flexibility of the display.

[0195] Optionally, in the embodiment of the present application, after the above step 203, the shooting method provided in the embodiment of the present application further includes the following steps F1 to F4:

[0196] Step F1: the photographing device receives a fifth input from the user.

[0197] Step F2: the photographing device displays the main photographing file in response to the fifth input.

[0198] Step F3: the photographing device receives a sixth input from the user regarding the target image area in the main photographic file.

[0199] Step F4: the photographing device displays the auxiliary photographing file in response to the sixth input.

[0200] The target image area is an area in the main image file corresponding to the target preview area.

[0201] Exemplarily, when the main camera file is a main camera image, the target image area may be an image area in the main camera image corresponding to the target preview area in the shooting preview interface of the main camera when the main camera image is shot by the main camera. For example, if the target preview area in the shooting preview interface of the main camera is the area of ​​portrait A in a group portrait, then the target image area in the main camera image shot by the main camera is the image area where the portrait A is located.

[0202] Exemplarily, the fifth input is any feasible input such as touch input, voice input, gesture input, etc. of the user, and the embodiment of the present application does not impose any limitation on this.

[0203] Exemplarily, the sixth input is any feasible input such as a user's touch input, voice input, and gesture input, and the embodiment of the present application does not impose any limitation on this.

[0204] In some embodiments of the present application, as shown in Figure 9(a), taking the main camera file as the main camera image and the auxiliary camera file as the auxiliary camera image as an example, the foldable screen of the electronic device is in an unfolded state, and a main camera image 91 is displayed on the screen. The main camera image 91 includes character images of multiple characters. The user clicks on the image area where the portrait 91a in the main camera image 91 is located. As shown in Figure 9(b), the shooting device displays on the screen an auxiliary camera image 93 corresponding to the image area where the portrait 91a in the main camera image 91 is located. The auxiliary camera image 93 is a close-up picture of the person corresponding to the portrait 91a.

[0205] It should be noted that the dotted line in the screen is used to represent the folding axis of the electronic device. For example, in some implementations, the foldable screen can be folded along the folding axis shown by the dotted line to obtain two screens on the left and right sides of the folding axis, and the dotted line is not actually displayed on the screen. The above example shows that when the folding screen is unfolded, the main camera image 91 is displayed in full screen, and the main camera image 91 can also be displayed only on the left screen of the folding axis or the right screen of the folding screen.

[0206] In this way, when the user views a full-frame image, the user can conveniently and quickly call out a close-up image of the image content in the partial image area that needs attention in the full-frame image for display, thereby facilitating careful viewing of the image content that needs attention through the close-up image.

[0207] The shooting method provided in the embodiment of the present application can be executed by a shooting device. In the embodiment of the present application, the shooting method is executed by a shooting device as an example to illustrate the shooting device provided in the embodiment of the present application.

[0208] The present application embodiment provides a photographing device, such as Fig.10 As shown, a receiving module 1001, a display module 1002 and a control module 1003, wherein:

[0209] The receiving module 1001 is used to receive a first input from a user when displaying a main shooting preview interface of a main camera;

[0210] The display module 1002 is configured to display an auxiliary shooting preview interface of a target auxiliary camera in response to the first input received by the receiving module 1001, wherein the preview image displayed on the auxiliary shooting preview interface is a preview image of a target preview area in the main shooting preview interface;

[0211] The control module 1003 is used to control the main camera and the target auxiliary camera to shoot, and output a first main camera file and an auxiliary camera file.

[0212] Optionally, in the embodiment of the present application, the device further includes: a determination module;

[0213] The determination module is used to determine the target preview area before the display module displays the auxiliary shooting preview interface of the target auxiliary camera;

[0214] The determination module is further configured to determine the target auxiliary camera before the display module displays the auxiliary shooting preview interface of the target auxiliary camera;

[0215] Among them, the preview image displayed on the auxiliary shooting preview interface is a preview image of the target preview area captured by the target auxiliary camera; the target preview area is determined according to the first input, or the target preview area is the area where the identified preset type of shooting object is located.

[0216] Optionally, in the embodiment of the present application, the determining module is specifically configured to determine the target preview area according to input information of the first input when the first input includes an input of the user to the main shooting preview interface, and the input information includes an input position or an input track;

[0217] The determination module is specifically used to perform object recognition on the main shooting preview interface when the first input includes an input for triggering display of an auxiliary shooting preview interface of a target auxiliary camera, and when a preset type of shooting object is recognized, determine the area where the shooting object is located as the target preview area.

[0218] Optionally, in the embodiment of the present application,

[0219] The determination module is specifically used to obtain the object type of the photographed object in the target preview area;

[0220] The determining module is specifically used to determine a target auxiliary camera that matches the object type obtained by the obtaining module.

[0221] Optionally, in the embodiment of the present application,

[0222] The determination module is specifically used to determine the auxiliary camera associated with the folding angle of the folding input as the target auxiliary camera according to the association relationship between the preset folding angle and the auxiliary camera when the first input includes a folding input of a folding screen.

[0223] Optionally, in the embodiment of the present application, when the target preview area includes at least two preview areas, the target auxiliary camera includes at least two auxiliary cameras;

[0224] The display module is specifically configured to display a main shooting preview interface of the main camera in a first screen area of ​​the display screen in response to the first input received by the receiving module, and to display auxiliary shooting preview interfaces of the at least two auxiliary cameras in at least two screen areas of the display screen;

[0225] Alternatively, the display module is specifically used to display the main shooting preview interface of the main camera on the first screen in response to the first input received by the receiving module, and to display the auxiliary shooting preview interfaces of the at least two auxiliary cameras in at least two screen areas of the second screen.

[0226] Optionally, in an embodiment of the present application, the first input includes a folding input of a folding screen; the folding input is used to trigger display of an auxiliary shooting preview interface of a target auxiliary camera;

[0227] The display module is specifically configured to display an auxiliary shooting preview interface of the target auxiliary camera in response to the first input received by the receiving module when the folding angle of the folding input is a preset angle.

[0228] Optionally, in the embodiment of the present application, the first main camera file and the auxiliary camera file include images or videos; the device further includes: a processing module;

[0229] The processing module is used for, when the first main camera file is a main camera image and the auxiliary camera file is an auxiliary camera image, performing image fusion on the main camera image and the auxiliary camera image, and outputting a fused image;

[0230] The processing module is further configured to, when the first main camera file is a main camera video and the auxiliary camera file is an auxiliary camera video, perform video fusion on the main camera video and the auxiliary camera video, and output a fused video;

[0231] The processing module is further configured to, when the first main camera file is a main camera image and the auxiliary camera file is an auxiliary camera video, perform video fusion on the main camera image and the auxiliary camera video, and output a fused video;

[0232] The processing module is further configured to, when the first main camera file is a main camera video and the auxiliary camera file is an auxiliary camera image, perform video fusion on the main camera video and the auxiliary camera image, and output a fused video.

[0233] Optionally, in the embodiment of the present application,

[0234] The display module is specifically configured to display a main shooting preview interface of the main camera in a first screen area of ​​the display screen in response to the first input received by the receiving module, and to display a secondary shooting preview interface of the target secondary camera in a second screen area of ​​the display screen;

[0235] Alternatively, the display module is specifically configured to display a main shooting preview interface of the main camera on a first screen and a secondary shooting preview interface of the target secondary camera on a second screen in response to the first input.

[0236] Optionally, in the embodiment of the present application,

[0237] The display module is further configured to update the auxiliary shooting preview interface to a first sub-area of ​​the second screen area for display, and display the first main shooting file and the auxiliary shooting file in a second sub-area of ​​the second screen area when the main shooting preview interface and the auxiliary shooting preview interface are displayed in a first screen area and a second screen area of ​​the display screen respectively;

[0238] The display module is also used to update the auxiliary shooting preview interface to the first screen area of ​​the second screen for display when the main shooting preview interface and the auxiliary shooting preview interface are displayed on the first screen and the second screen respectively, and display the first main shooting file and the auxiliary shooting file in the second screen area of ​​the second screen.

[0239] Optionally, in the embodiment of the present application,

[0240] The receiving module is further used to receive a third input from a user;

[0241] The control module is further configured to control the main camera to shoot and output a second main camera file in response to the third input received by the receiving module;

[0242] The display module is further configured to display the second main shooting file in a second sub-area of ​​the second screen area when the main shooting preview interface and the auxiliary shooting preview interface are displayed in a first screen area and a second screen area of ​​the display screen respectively;

[0243] Alternatively, the display module is further configured to display the second main shooting file in a second screen area of ​​the second screen when the main shooting preview interface and the auxiliary shooting preview interface are displayed on the first screen and the second screen respectively.

[0244] Optionally, in the embodiment of the present application,

[0245] The receiving module is further used to receive a fourth input from a user, where the fourth input is an input for viewing the main camera file;

[0246] The display module is further configured to display the main camera file in a first screen area of ​​the display screen and display the auxiliary camera file in a second screen area of ​​the display screen in response to the fourth input received by the receiving module;

[0247] Alternatively, the display module is further configured to display the main camera file on the first screen and the auxiliary camera file on the second screen in response to the fourth input.

[0248] Optionally, in the embodiment of the present application,

[0249] The receiving module is further used to receive a fifth input from the user;

[0250] The display module is further configured to display the main camera file in response to the fifth input received by the receiving module;

[0251] The receiving module is further used to receive a sixth input from a user regarding a target image area in the main camera file;

[0252] The display module is further configured to display the auxiliary photography file in response to the sixth input received by the receiving module;

[0253] The target image area is an area in the main camera file corresponding to the target preview area.

[0254] In the shooting device provided in the embodiment of the present application, when the main shooting preview interface of the main camera is displayed, the shooting device receives the first input of the user, displays the auxiliary shooting preview interface of the target auxiliary camera, the preview image displayed in the auxiliary shooting preview interface is the preview image of the target preview area in the main shooting preview interface, controls the main camera and the target auxiliary camera to shoot, and outputs the first main shooting file and the auxiliary shooting file. Through this method, by displaying the main shooting preview interface of the main camera and the auxiliary shooting preview interface of the target auxiliary camera, the user can quickly view images of different camera effects shot by different cameras. Since the preview image in the auxiliary shooting preview interface is the preview image of the target preview area in the main shooting preview interface, the full-frame image and the close-up image of a part of the full-frame image can be quickly captured, thereby improving the efficiency of shooting images with different camera effects.

[0255] The shooting device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not make specific limitations.

[0256] The shooting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0257] The shooting device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented in the method embodiment of FIG. 9 are not described again here.

[0258] Alternatively, if Fig.11As shown, an embodiment of the present application further provides an electronic device 2000, including a processor 2001 and a memory 2002, wherein the memory 2002 stores programs or instructions that can be executed on the processor 2001, and when the program or instructions are executed by the processor 2001, the various steps of the above-mentioned shooting method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0259] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0260] Fig.12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0261] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0262] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 110 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The electronic device structure shown in FIG8 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.

[0263] The user input unit 107 is used to receive a first input from a user when the main shooting preview interface of the main camera is displayed;

[0264] The display unit 106 is configured to display an auxiliary shooting preview interface of a target auxiliary camera in response to the first input received by the user input unit 107, wherein the preview image displayed on the auxiliary shooting preview interface is a preview image of a target preview area in the main shooting preview interface;

[0265] The processor 110 is used to control the main camera and the target auxiliary camera to shoot, and output a first main camera file and an auxiliary camera file.

[0266] Optionally, in the embodiment of the present application, the apparatus further includes: a processor 110;

[0267] The processor 110 is configured to determine a target preview area before the display unit 106 displays the auxiliary shooting preview interface of the target auxiliary camera;

[0268] The processor 110 is further configured to determine a target auxiliary camera before the display unit 106 displays an auxiliary shooting preview interface of the target auxiliary camera;

[0269] Among them, the preview image displayed on the auxiliary shooting preview interface is a preview image of the target preview area captured by the target auxiliary camera; the target preview area is determined according to the first input, or the target preview area is the area where the identified preset type of shooting object is located.

[0270] Optionally, in the embodiment of the present application, the processor 110 is specifically configured to determine a target preview area according to input information of the first input when the first input includes an input of a user to a main shooting preview interface, where the input information includes an input position or an input track;

[0271] The processor 110 is specifically used to perform object recognition on the main shooting preview interface when the first input includes an input for triggering display of an auxiliary shooting preview interface of a target auxiliary camera, and when a preset type of shooting object is recognized, determine the area where the shooting object is located as the target preview area.

[0272] Optionally, in the embodiment of the present application,

[0273] The processor 110 is specifically configured to obtain an object type of a photographed object in the target preview area;

[0274] The processor 110 is specifically configured to determine a target auxiliary camera that matches the object type acquired by the acquisition module.

[0275] Optionally, in the embodiment of the present application,

[0276] The processor 110 is specifically configured to, when the first input includes a folding input of a folding screen, determine the auxiliary camera associated with the folding angle of the folding input as the target auxiliary camera according to an association relationship between a preset folding angle and the auxiliary camera.

[0277] Optionally, in the embodiment of the present application, when the target preview area includes at least two preview areas, the target auxiliary camera includes at least two auxiliary cameras;

[0278] The display unit 106 is specifically configured to display a main shooting preview interface of the main camera in a first screen area of ​​the display screen in response to the first input received by the user input unit 107, and display auxiliary shooting preview interfaces of the at least two auxiliary cameras in at least two screen areas of the display screen;

[0279] Alternatively, the display unit 106 is specifically used to display the main shooting preview interface of the main camera on the first screen in response to the first input received by the user input unit 107, and to display the auxiliary shooting preview interfaces of the at least two auxiliary cameras in at least two screen areas of the second screen.

[0280] Optionally, in an embodiment of the present application, the first input includes a folding input of a folding screen; the folding input is used to trigger display of an auxiliary shooting preview interface of a target auxiliary camera;

[0281] The display unit 106 is specifically configured to display an auxiliary shooting preview interface of a target auxiliary camera in response to the first input received by the user input unit 107 when the folding angle of the folding input is a preset angle.

[0282] Optionally, in the embodiment of the present application, the first main camera file and the auxiliary camera file include images or videos; the device further includes: a processor 110;

[0283] The processor 110 is configured to, when the first main camera file is a main camera image and the auxiliary camera file is an auxiliary camera image, fuse the main camera image and the auxiliary camera image to output a fused image;

[0284] The processor 110 is further configured to, when the first main camera file is a main camera video and the auxiliary camera file is an auxiliary camera video, perform video fusion on the main camera video and the auxiliary camera video, and output a fused video;

[0285] The processor 110 is further configured to, when the first main camera file is a main camera image and the auxiliary camera file is an auxiliary camera video, perform video fusion on the main camera image and the auxiliary camera video, and output a fused video;

[0286] The processor 110 is further configured to, when the first main camera file is a main camera video and the auxiliary camera file is an auxiliary camera image, perform video fusion on the main camera video and the auxiliary camera image, and output a fused video.

[0287] Optionally, in the embodiment of the present application,

[0288] The display unit 106 is specifically configured to display a main shooting preview interface of the main camera in a first screen area of ​​the display screen in response to the first input received by the user input unit 107, and to display a secondary shooting preview interface of the target secondary camera in a second screen area of ​​the display screen;

[0289] Alternatively, the display unit 106 is specifically configured to display, in response to the first input, a main shooting preview interface of the main camera on a first screen, and display a secondary shooting preview interface of the target secondary camera on a second screen.

[0290] Optionally, in the embodiment of the present application,

[0291] The display unit 106 is further configured to update the auxiliary shooting preview interface to a first sub-area of ​​the second screen area for display, and display the first main shooting file and the auxiliary shooting file in a second sub-area of ​​the second screen area when the main shooting preview interface and the auxiliary shooting preview interface are displayed in a first screen area and a second screen area of ​​the display screen respectively;

[0292] The display unit 106 is further used to update the auxiliary shooting preview interface to the first screen area of ​​the second screen for display when the main shooting preview interface and the auxiliary shooting preview interface are displayed on the first screen and the second screen respectively, and to display the first main shooting file and the auxiliary shooting file in the second screen area of ​​the second screen.

[0293] Optionally, in the embodiment of the present application,

[0294] The user input unit 107 is further used to receive a third input from the user;

[0295] The processor 110 is further configured to control the main camera to shoot and output a second main camera file in response to the third input received by the user input unit 107;

[0296] The display unit 106 is further configured to display the second main shooting file in a second sub-area of ​​the second screen area when the main shooting preview interface and the auxiliary shooting preview interface are displayed in a first screen area and a second screen area of ​​the display screen respectively;

[0297] Alternatively, the display unit 106 is further configured to display the second main shooting file in a second screen area of ​​the second screen when the main shooting preview interface and the auxiliary shooting preview interface are displayed on the first screen and the second screen respectively.

[0298] Optionally, in the embodiment of the present application,

[0299] The user input unit 107 is further used to receive a fourth input from the user, where the fourth input is an input for viewing the main camera file;

[0300] The display unit 106 is further configured to display the primary camera file in a first screen area of ​​the display screen and display the secondary camera file in a second screen area of ​​the display screen in response to the fourth input received by the user input unit 107;

[0301] Alternatively, the display unit 106 is further configured to display the main camera file on the first screen and the auxiliary camera file on the second screen in response to the fourth input.

[0302] Optionally, in the embodiment of the present application,

[0303] The user input unit 107 is further used to receive a fifth input from the user;

[0304] The display unit 106 is further configured to display the main camera file in response to the fifth input received by the user input unit 107;

[0305] The user input unit 107 is further used to receive a sixth input from the user regarding the target image area in the main camera file;

[0306] The display unit 106 is further configured to display the auxiliary photography file in response to the sixth input received by the user input unit 107;

[0307] The target image area is an area in the main camera file corresponding to the target preview area.

[0308] In the electronic device provided in the embodiment of the present application, when the main shooting preview interface of the main camera is displayed, the shooting device receives the first input of the user, displays the auxiliary shooting preview interface of the target auxiliary camera, the preview image displayed in the auxiliary shooting preview interface is the preview image of the target preview area in the main shooting preview interface, controls the main camera and the target auxiliary camera to shoot, and outputs the first main shooting file and the auxiliary shooting file. Through this method, by displaying the main shooting preview interface of the main camera and the auxiliary shooting preview interface of the target auxiliary camera, the user can quickly view images of different camera effects shot by different cameras. Since the preview image in the auxiliary shooting preview interface is the preview image of the target preview area in the main shooting preview interface, the full-frame image and the close-up image of a part of the full-frame image can be quickly captured, thereby improving the efficiency of shooting images with different camera effects.

[0309] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0310] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0311] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.

[0312] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0313] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0314] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned shooting method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0315] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0316] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned shooting method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0317] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0318] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0319] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A shooting method, characterized in that: The method comprises: In a case where a main shooting preview interface of a main camera is displayed, receiving a first input from a user; the main shooting preview interface displays a full-frame preview image; In response to the first input, determining a target preview area from the main shooting preview interface; Determine a target auxiliary camera matching each object type according to the object type of the photographed object in each target preview area; Displaying a secondary shooting preview interface of the target secondary camera, wherein the preview image displayed on the secondary shooting preview interface is a preview image of the target preview area captured by the target secondary camera; the target preview area is determined according to the first input, or the target preview area is an area where a preset type of photographic object is identified; the target preview area includes at least two preview areas, the at least two preview areas correspond to at least two types of photographic objects, and one preview area corresponds to one photographic object; The main camera and the target auxiliary camera are controlled to shoot, and a first main camera file and an auxiliary camera file are output.

2. The method according to claim 1, characterized in that: The step of determining the target preview area includes: In a case where the first input includes a user input to the main shooting preview interface, determining a target preview area according to input information of the first input, where the input information includes an input position or an input track; In a case where the first input includes an input for triggering display of an auxiliary shooting preview interface of a target auxiliary camera, object recognition is performed on the main shooting preview interface, and when a preset type of shooting object is recognized, an area where the shooting object is located is determined as a target preview area.

3. The method according to claim 1, characterized in that In a case where the target preview area includes at least two preview areas, the target auxiliary camera includes at least two auxiliary cameras; The display of the auxiliary shooting preview interface of the target auxiliary camera includes: Displaying a main shooting preview interface of the main camera in a first screen area of ​​the display screen, and displaying auxiliary shooting preview interfaces of the at least two auxiliary cameras in at least two screen areas of the display screen; Alternatively, in response to the first input, a main shooting preview interface of the main camera is displayed on the first screen, and auxiliary shooting preview interfaces of the at least two auxiliary cameras are displayed on at least two screen areas of the second screen.

4. The method according to claim 1, characterized in that: The first input includes a folding input of a folding screen; the folding input is used to trigger the display of an auxiliary shooting preview interface of a target auxiliary camera; The display of the auxiliary shooting preview interface of the target auxiliary camera includes: When the folding angle of the folding input is a preset angle, an auxiliary shooting preview interface of the target auxiliary camera is displayed.

5. The method according to claim 1, characterized in that The first main camera file and the auxiliary camera file include images or videos; After controlling the main camera and the target auxiliary camera to shoot and outputting the first main camera file and the auxiliary camera file, the method further includes: When the first main camera file is a main camera image and the auxiliary camera file is an auxiliary camera image, performing image fusion on the main camera image and the auxiliary camera image to output a fused image; When the first main camera file is a main camera video and the auxiliary camera file is an auxiliary camera video, the main camera video and the auxiliary camera video are fused to output a fused video; When the first main camera file is a main camera image and the auxiliary camera file is an auxiliary camera video, performing video fusion on the main camera image and the auxiliary camera video to output a fused video; In the case where the first main camera file is a main camera video and the auxiliary camera file is an auxiliary camera image, the main camera video and the auxiliary camera image are fused to output a fused video.

6. The method according to claim 1, characterized in that The display of the auxiliary shooting preview interface of the target auxiliary camera includes: Displaying a main shooting preview interface of the main camera in a first screen area of ​​the display screen, and displaying a secondary shooting preview interface of the target secondary camera in a second screen area of ​​the display screen; Alternatively, the main shooting preview interface of the main camera is displayed on the first screen, and the auxiliary shooting preview interface of the target auxiliary camera is displayed on the second screen.

7. The method according to claim 1 or 6, characterized in that: After controlling the main camera and the target auxiliary camera to shoot and outputting the first main camera file and the auxiliary camera file, the method further includes: When the main shooting preview interface and the auxiliary shooting preview interface are displayed in the first screen area and the second screen area of ​​the display screen respectively, updating the auxiliary shooting preview interface to the first sub-area of ​​the second screen area for display, and displaying the first main shooting file and the auxiliary shooting file in the second sub-area of ​​the second screen area; When the main shooting preview interface and the auxiliary shooting preview interface are displayed on the first screen and the second screen respectively, the auxiliary shooting preview interface is updated to the first screen area of ​​the second screen for display, and the first main shooting file and the auxiliary shooting file are displayed in the second screen area of ​​the second screen.

8. The method according to claim 1, characterized in that After controlling the main camera and the target auxiliary camera to shoot and outputting the first main camera file and the auxiliary camera file, the method further includes: receiving a third input from the user; In response to the third input, controlling the main camera to shoot and outputting a second main camera file; When the main shooting preview interface and the auxiliary shooting preview interface are displayed in the first screen area and the second screen area of ​​the display screen respectively, the second main shooting file is displayed in the second sub-area of ​​the second screen area; When the main shooting preview interface and the auxiliary shooting preview interface are displayed on the first screen and the second screen respectively, the second main shooting file is displayed in the second screen area of ​​the second screen.

9. The method according to claim 1, characterized in that: After controlling the main camera and the target auxiliary camera to shoot and outputting the main camera file and the auxiliary camera file, the method further includes: receiving a fourth input from a user, wherein the fourth input is an input for viewing the main camera file; In response to the fourth input, displaying the main camera file in a first screen area of ​​the display screen, and displaying the auxiliary camera file in a second screen area of ​​the display screen; Alternatively, the main shooting file is displayed on the first screen, and the auxiliary shooting file is displayed on the second screen.

10. The method according to claim 1, characterized in that After controlling the main camera and the target auxiliary camera to shoot and outputting the main camera file and the auxiliary camera file, the method further includes: receiving a fifth input from the user; In response to the fifth input, displaying the main camera file; receiving a sixth input from a user regarding a target image area in the main camera file; In response to the sixth input, displaying the auxiliary photography file; The target image area is an area in the main camera file corresponding to the target preview area.

11. A photographing device, characterized in that: The device comprises: a receiving module, a display module, a control module, an acquisition module and a determination module, wherein: The receiving module is used to receive a first input from a user when a main shooting preview interface of the main camera is displayed; the main shooting preview interface displays a full-frame preview image; The display module is configured to determine a target preview area from the main shooting preview interface in response to the first input received by the receiving module; The determination module is used to determine a target auxiliary camera matching each object type according to the object type of the photographed object in each target preview area; Displaying an auxiliary shooting preview interface of a target auxiliary camera, wherein the preview image displayed on the auxiliary shooting preview interface is a preview image of the target preview area captured by the target auxiliary camera; the target preview area is determined according to the first input, or the target preview area is an area where a recognized preset type of photographic object is located; the target preview area includes at least two preview areas, the at least two preview areas correspond to at least two types of photographic objects, and one preview area corresponds to one photographic object; The control module is used to control the main camera and the target auxiliary camera to shoot, and output a first main camera file and an auxiliary camera file.

12. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the shooting method according to any one of claims 1 to 10.