CN113840070A - Shooting method, shooting device, electronic equipment and medium - Google Patents

Shooting method, shooting device, electronic equipment and medium Download PDF

Info

Publication number
CN113840070A
CN113840070A CN202111101831.4A CN202111101831A CN113840070A CN 113840070 A CN113840070 A CN 113840070A CN 202111101831 A CN202111101831 A CN 202111101831A CN 113840070 A CN113840070 A CN 113840070A
Authority
CN
China
Prior art keywords
camera
screen
target
target camera
shooting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111101831.4A
Other languages
Chinese (zh)
Other versions
CN113840070B (en
Inventor
苏佳明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111101831.4A priority Critical patent/CN113840070B/en
Publication of CN113840070A publication Critical patent/CN113840070A/en
Application granted granted Critical
Publication of CN113840070B publication Critical patent/CN113840070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses a shooting method, a shooting device, electronic equipment and a shooting medium, and belongs to the technical field of communication. The shooting device comprises a first screen and a second screen, wherein at least two cameras with different field angles are arranged on the first screen and the second screen, and the shooting method comprises the following steps: acquiring first folding angle information between a first screen and a second screen; determining a first target camera and a second target camera according to the first folding angle information, wherein the first target camera is a camera on a first screen, and the second target camera is a camera on a second screen; controlling a first target camera and a second target camera to shoot to obtain a target file, wherein the target file comprises at least one of the following items: images, videos.

Description

Shooting method, shooting device, electronic equipment and medium
Technical Field
The application belongs to the technical field of camera shooting, and particularly relates to a shooting method, a shooting device, electronic equipment and a shooting medium.
Background
Generally, in the process of shooting an image through an electronic device, under the condition that the field of view of a current shooting scene is large, the user can trigger the electronic device to be in a panoramic shooting mode firstly, then the electronic device is moved slowly, so that the electronic device collects a plurality of images, and the plurality of images are spliced, so that a complete image is obtained.
However, in the above process, the speed of the electronic device capturing the image is slow, the requirement on the moving speed of the user is high, and the image captured by the electronic device is distorted when the user moves too fast or too slow.
Disclosure of Invention
An object of the embodiments of the present application is to provide a shooting method, an apparatus, an electronic device, and a medium, which can solve the problem in the prior art that a picture is easily distorted when a panoramic shooting mode is adopted for shooting.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a shooting method, applied to a shooting device with a foldable screen, where the shooting device includes a first screen and a second screen, and at least two cameras with different field angles are disposed on both the first screen and the second screen, and the shooting method includes: acquiring first folding angle information between a first screen and a second screen; determining a first target camera and a second target camera according to the first folding angle information, wherein the first target camera is a camera on a first screen, and the second target camera is a camera on a second screen; controlling a first target camera and a second target camera to shoot to obtain a target file, wherein the target file comprises at least one of the following items: images, videos.
In a second aspect, an embodiment of the present application provides a shooting device with a foldable screen, where the shooting device includes a first screen and a second screen, and at least two cameras with different angles of view are disposed on the first screen and the second screen, and the shooting device includes: the device comprises an acquisition module, a determination module and a control module. The obtaining module is used for obtaining first folding angle information between the first screen and the second screen. And the determining module is used for determining a first target camera and a second target camera according to the first folding angle information acquired by the acquiring module, wherein the first target camera is a camera on a first screen, and the second target camera is a camera on a second screen. The control module is used for controlling the first target camera and the second target camera determined by the determination module to shoot to obtain a target file, and the target file comprises at least one of the following items: images, videos.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, because the shooting device includes the first screen and the second screen, and each screen is provided with at least two cameras with different viewing angles, when a user shoots an image through the shooting device, if the screen of the shooting device is in a folded state, first folding angle information between the first screen and the second screen can be acquired, and a target camera to be opened in each screen is determined according to the first folding angle information, so that the shooting device can shoot through the target camera in each screen to obtain an image or a video (i.e., a target file) with a large viewing angle picture. In the scheme, because a plurality of cameras are arranged in each screen, the shooting device can open the target camera in each screen according to the folding angle between the first screen and the second screen in the folding state, so that the scene shot by the first target camera and the scene shot by the second target camera overlap, to ensure the continuity of the images or video pictures shot by the first target camera and the second target camera, therefore, by means of splicing the folded screen characteristic and the images or videos shot by a plurality of cameras, so as to realize the one-time rapid shooting of the image or video with a large visual field picture, solve the problem that the shooting angle of a single camera is limited, and the problem of picture distortion easily caused in the panoramic mode shooting process can be solved, the picture quality of a large-view image or video can be improved, and the shooting efficiency of the electronic equipment can be improved.
Drawings
Fig. 1 is a flowchart of a shooting method provided in an embodiment of the present application;
fig. 2 is one of schematic diagrams of a shooting method provided in an embodiment of the present application;
fig. 3 is a second schematic diagram of a photographing method according to an embodiment of the present application;
fig. 4 is a third schematic diagram of a shooting method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a shooting device provided in an embodiment of the present application;
fig. 6 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The shooting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In the market of intelligent electronic devices, users have higher requirements on the electronic devices, and more application scenes are provided. Generally, when a user shoots a landscape or a large-view scene, due to the fact that the visual angle of most electronic devices is limited, the shooting angle is often insufficient, and even if an ultra-wide-angle camera is used, a large-angle picture required by the user cannot be shot at one time.
In the traditional scheme, in order to shoot a large-view scene, a user can trigger the electronic equipment to be in a panoramic shooting mode, then the electronic equipment is slowly moved to collect a plurality of images, and the images are subjected to synthesis processing, so that a complete image is obtained. However, in the above process, the speed of the electronic device capturing the image is slow, and the image captured by the electronic device is distorted due to the user moving too fast or too slow, so that the capturing efficiency is low.
In order to solve the above technical problem, in the embodiment of the present application, since the shooting device includes a first screen and a second screen, and each screen is provided with at least two cameras with different viewing angles, when a user shoots an image through the shooting device, if the screen of the shooting device is in a folded state, the shooting device may acquire first folding angle information between the first screen and the second screen, and determine a target camera to be turned on in each screen according to the first folding angle information, so that the shooting device may shoot through the target camera in each screen to obtain an image or a video (i.e., a target file in the following embodiment) with a large viewing field.
By the proposal, because a plurality of cameras are arranged in each screen, the shooting device can open the target camera in each screen according to the folding angle between the first screen and the second screen in the folding state, so that the scene shot by the first target camera and the scene shot by the second target camera overlap, to ensure the continuity of the images or video pictures shot by the first target camera and the second target camera, therefore, by means of splicing the folded screen characteristic and the images or videos shot by a plurality of cameras, so as to realize the one-time rapid shooting of the image or video with a large visual field picture, solve the problem that the shooting angle of a single camera is limited, and the problem of picture distortion easily caused in the panoramic mode shooting process can be solved, the picture quality of a large-view image or video can be improved, and the shooting efficiency of the electronic equipment can be improved.
It should be noted that the shooting device provided in the embodiment of the present application includes at least two screens, and the embodiment of the present application takes the first screen and the second screen as an example for description.
The embodiment of the application provides a shooting method, and fig. 1 shows a flowchart of the shooting method provided by the embodiment of the application, and the method can be applied to a shooting device with a folding screen, wherein the shooting device comprises a first screen and a second screen, and at least two cameras with different field angles are arranged on the first screen and the second screen. As shown in fig. 1, the photographing method provided by the embodiment of the present application may include steps 201 to 203 described below.
Step 201, a shooting device acquires first folding angle information between a first screen and a second screen.
In the embodiment of the application, since the photographing device includes the first screen and the second screen, and at least two cameras with different field angles are respectively disposed on the first screen and the second screen, a user can trigger the screen of the photographing device to be in a folded state in a process of photographing an image through the photographing device, so that the photographing device obtains folding angle information between the first screen and the second screen, that is, first folding angle information, and determines a camera to be turned on the first screen (that is, a first target camera in the following embodiments) and a camera to be turned on the second screen (that is, a second target camera in the following embodiments) according to the folding angle information, so that the electronic device can control the first target camera and the second target camera to photograph, thereby obtaining a target file, for example, a large-field image or a video.
Optionally, in this embodiment of the application, the sizes of the first screen and the second screen may be the same or different, and may be determined specifically according to actual use requirements, and this embodiment of the application is not limited.
Optionally, in this embodiment of the application, the first screen and the second screen may be double-sided screens, that is, each screen includes an inner screen and an outer screen, where the outer screen is a screen that is in the same plane with at least two cameras with different angles of view.
Optionally, in this embodiment of the application, the shooting device may set at least two cameras with different field angles at the same position of the first screen and the second screen, where the at least two cameras in each screen are located in the same horizontal line, so as to ensure the quality of the image or video shot by each camera.
Optionally, in this embodiment of the application, the cameras with at least two different angles of view may be a telephoto camera, a wide-angle camera, an ultra-wide-angle camera, a portrait camera, and the like. The specific method can be determined according to actual use requirements, and the embodiment of the application is not limited.
It can be understood that, because the field angles of the at least two cameras in each screen are different, the shooting device can determine a proper camera from the at least two cameras according to the folding angle between the first screen and the second screen and the field angle of each camera, so as to ensure that the scenes shot by the first target camera and the second target camera are overlapped, thereby ensuring the continuity of the images or video pictures shot by the shooting device.
Optionally, in this embodiment of the application, the at least two cameras with different field angles may be a camera module.
Optionally, in this embodiment of the application, the user may input the photographing device in advance to adjust a folding angle between the first screen and the second screen, so that the photographing device is in a folded state, that is, the first screen and the second screen in the photographing device are not in the same plane.
Optionally, in this embodiment of the application, the first folding angle information may be a folding angle between the first screen and the second screen.
It should be noted that, the folding angle information between the first screen and the second screen may be: the angle between the extension lines of the plane of the outer panels of the first screen and the second screen (for example, the folding angle K1 between the screen a and the screen B in fig. 3).
Step 202, the shooting device determines a first target camera and a second target camera according to the first folding angle information.
In an embodiment of the present application, the first target camera is a camera on a first screen, and the second target camera is a camera on a second screen.
Optionally, in this embodiment of the application, when the shooting device is in the folded state, the shooting device may determine the cameras to be turned on each screen, that is, determine the first target camera and the second target camera, according to the first folding angle information between the first screen and the second screen and the field angles of the at least two cameras in each screen.
Optionally, in this embodiment of the application, the first screen is provided with a first telephoto camera and a first wide-angle camera, and the second screen is provided with a second telephoto camera and a second wide-angle camera. The step 202 can be realized by the following steps 202a, 202b, or 202 c.
Step 202a, in the case that the folding angle corresponding to the first folding angle information is smaller than or equal to a first preset angle, the shooting device determines the first tele camera as a first target camera and determines the second tele camera as a second target camera.
Optionally, in this embodiment of the present application, the field angle of the telephoto camera in one screen is smaller than that of the wide-angle cameras, that is, the field angle of the first telephoto camera is smaller than that of the first wide-angle camera, and the field angle of the second telephoto camera is smaller than that of the second wide-angle camera.
Optionally, in this embodiment of the application, the field angle of the first tele camera may be the same as or different from the field angle of the second tele camera. The angle of view of the first wide-angle camera may be the same as or different from the angle of view of the second wide-angle camera. In the embodiments of the present application, the angle of view of the first telephoto camera is the same as the angle of view of the second telephoto camera, and the angle of view of the first wide-angle camera is the same as the angle of view of the second wide-angle camera.
Alternatively, in the embodiment of the present application, when the field angle of the first tele camera is the same as that of the second tele camera and the field angle of the first wide camera is the same as that of the second wide camera, the first preset angle may be the field angle of the first tele camera or the field angle of the second tele camera.
It should be noted that the folding angle corresponding to the first folding angle information is less than or equal to a first preset angle: the field angle of the first tele camera partially overlaps the field angle of the second tele camera. It can be understood that there is an overlapping portion of the scene captured by the first tele camera and the scene captured by the second tele camera.
Step 202b, when the folding angle corresponding to the first folding angle information is greater than a first preset angle and is less than or equal to a second preset angle, the shooting device determines the first tele-camera as a first target camera and determines the second wide-angle camera as a second target camera, or the shooting device determines the first wide-angle camera as the first target camera and determines the second tele-camera as the second target camera.
Optionally, in this embodiment of the application, the second preset angle may be a field angle of the first wide-angle camera, and may also be a field angle of the second wide-angle camera.
It should be noted that the folding angle corresponding to the first folding angle information is greater than a first preset angle, and is less than or equal to a second preset angle: the field angle of the first tele camera partially overlaps the field angle of the second wide camera, or the field angle of the first wide camera partially overlaps the field angle of the second tele camera. It can be understood that there is an overlapping portion between the scene captured by the first tele camera and the scene captured by the second wide camera, or there is an overlapping portion between the scene captured by the first wide camera and the scene captured by the second tele camera.
Step 202c, in the case that the folding angle corresponding to the first folding angle information is greater than the second preset angle, the shooting device determines the first wide-angle camera as the first target camera and determines the second wide-angle camera as the second target camera.
It should be noted that the folding angle corresponding to the first folding angle information is greater than the second preset angle: the field angle of the first wide-angle camera partially overlaps the field angle of the second wide-angle camera. It is understood that there is an overlapping portion of the scene captured by the first wide angle camera and the scene captured by the second wide angle camera.
In the embodiment of the application, the shooting device determines the target camera in each screen according to whether the field angles of the cameras on the two screens are partially overlapped, so that the scene shot by the first target camera (i.e. the camera on the first screen) and the scene shot by the second target camera (i.e. the camera on the second screen) are partially overlapped to ensure the continuity of the images or video pictures shot by the shooting device.
Optionally, in this embodiment of the application, the shooting device may determine a camera to be turned on in each screen according to a folding angle between the first screen and the second screen in the folded state and the field angles of at least two cameras in each screen; after the target cameras (including the first target camera and the second target camera) in each screen are turned on, the shooting device may detect a distance between an object to be shot and each screen, and then, for each screen, the shooting device determines whether the camera in the screen needs to be adjusted according to the distance between the object to be shot and one screen.
Optionally, in this embodiment of the application, a user may perform input to a camera application in a screen of the shooting device to trigger the shooting device to simultaneously turn on the target camera in each screen.
Optionally, in this embodiment of the application, the shooting device may obtain, through the target camera in each screen, a distance between the object to be shot and each screen. It is understood that after the target camera in each screen is turned on, the photographing device may detect a distance between the object to be photographed and each screen according to the target camera in each screen.
Optionally, in this embodiment of the application, for each screen, when a distance (first distance) between one screen and an object to be photographed is greater than or equal to a minimum focus distance of a target camera in the screen, photographing is continued by using the target camera. In a case where the first distance is smaller than the minimum focus distance of the target camera in the corresponding screen, the shooting device may close the target camera in the one screen and switch to another camera in the one screen to shoot with the camera, where the camera is a camera whose field angle in one screen area is larger than that of the target camera.
It can be understood that, in the case that the distance between the object to be photographed and a certain screen is greater than or equal to the minimum focusing distance of the target camera in the screen, the photographing device may focus using the target camera, thereby photographing an image. Under the condition that the distance between an object to be shot and a certain screen is smaller than the minimum focusing distance of a target camera in the screen, the shooting device needs to adjust the camera in the screen, namely, close the target camera, and open the camera with the field angle larger than that of the target camera in the screen, so that the electronic equipment can adopt the camera to focus, and then shoot images.
Note that the smaller the focus distance, the larger the angle of view; the larger the focus distance, the smaller the angle of view. The minimum focus distance mentioned above can be understood as: the camera can focus on the shortest distance, that is, the camera cannot focus on the condition that the distance between the object to be shot and the camera is smaller than the minimum focusing distance.
Illustratively, assuming that the first screen and the second screen each include a tele camera and a wide camera therein, and the field angle of the tele camera is smaller than that of the wide camera, the photographing device turns on the tele camera in the first screen according to the folding angle between the first screen and the second screen and the field angle of each camera, and then turns off the tele camera in the first screen and turns on the wide camera in the first screen if the tele camera detects that a distance between a nearby object and the first screen is smaller than a minimum in-focus distance of the tele camera.
In the embodiment of the application, after the shooting device starts the target camera in each screen, whether the target camera in each screen needs to be adjusted or not can be determined according to the distance between the object to be shot and each screen, so that the camera adopted by each screen during shooting can be accurately determined, the image quality of the image or video shot by each camera is ensured, and the quality of the image or video finally obtained by the shooting device is ensured.
And step 203, controlling the first target camera and the second target camera to shoot by the shooting device to obtain a target file.
In an embodiment of the present application, the object file includes at least one of: images, videos.
Optionally, in an implementation manner of the embodiment of the present application, the shooting device may control the first target camera and the second target camera to shoot simultaneously, so as to obtain a target file; in another implementation manner, the shooting device may respectively control the first target camera and the second target camera to shoot, so as to obtain the target file.
Optionally, in this embodiment of the application, the shooting device may control the first target camera and the second target camera to shoot, so as to obtain two files, and then the shooting device may perform synthesis processing on the two files, so as to obtain the target file.
Optionally, in this embodiment of the application, before the shooting device controls the first target camera and the second target camera to shoot, the shooting device may present, to a user, continuous preview pictures of a scene to be shot on the inner and outer screens of the first screen and the second screen through a stitching algorithm.
Optionally, in this embodiment of the application, in the photographing mode, the photographing device may control the first target camera and the second target camera to photograph the image. In the video recording mode, the shooting device can control the first target camera and the second target camera to record videos.
Optionally, in an implementation manner provided by the embodiment of the present application, before the step 203, the shooting method provided by the embodiment of the present application further includes a step 401 described below. Step 203 may be specifically realized by step 203a described below.
Step 401, the shooting device receives a first input of a user to the shooting device.
Optionally, in this embodiment of the application, the first input may be a click input of a user, or a folding input of the user, or a voice instruction input by the user, or a specific gesture input by the user, which may be specifically determined according to an actual use requirement, and this is not limited in this embodiment of the application.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
Optionally, in this embodiment of the present application, in a first implementation manner, a user may directly input a shooting control in a shooting preview interface of any one screen, so that a shooting device shoots through a first target camera and a second target camera at the same time. In a second implementation manner, the user may input folding to the shooting device, so that the shooting device shoots through the first target camera and the second target camera at the same time.
Optionally, in this embodiment of the application, the shooting device may display a shooting preview interface in the first screen and the second screen respectively, and display a first control on each screen, where the first control is used to open the folding shooting mode, and a user may input the first control to control the shooting device to be in the folding shooting mode, and then, the user may perform folding input on the shooting device, so that the shooting device shoots through the first target camera and the second target camera at the same time.
For example, in the photographing mode, if the user selects the "folding photographing" option (i.e., the first control), when the user adjusts the folding angle of the screen of the photographing device, the photographing device may enter a waiting adjustment state, and when the user finishes adjusting and the screen of the photographing device is stable, the photographing device automatically completes one photographing through the first target camera and the second target camera.
In another exemplary embodiment, in the video recording mode, if the user selects a "folding shooting" option (i.e., a first control), when the user adjusts a folding angle of a screen of the shooting device, if the current shooting device is in a recording state, the video recording is immediately ended and a video with two screen viewing angles is generated, otherwise, the shooting device enters a waiting adjustment state, and when the user finishes adjusting and the screen of the shooting device is stable, the shooting device starts to record the video through the first target camera and the second target camera.
Optionally, in this embodiment of the application, the shooting device may display a first control on both the first screen and the second screen; alternatively, the photographing apparatus may display the first control on any one of the first screen and the second screen.
It should be noted that the above-mentioned folding shooting mode can be understood as follows: the photographing device can perform photographing according to a folded state of a screen of the photographing device.
And step 203a, the shooting device responds to the first input and controls the first target camera and the second target camera to shoot to obtain a target file.
Optionally, in this embodiment of the application, the controlling the first target camera and the second target camera to shoot in response to the first input includes: and responding to the first input, and controlling the first target camera and the second target camera to shoot simultaneously to obtain a target file.
In the embodiment of the application, the user can trigger the shooting device to shoot through the first target camera and the second target camera simultaneously through input, so that the flexibility of the shooting mode of the electronic equipment is improved, and the shooting experience of the user is improved.
Optionally, in another implementation manner provided in this embodiment of the application, the step 203 may be specifically implemented by a step 203b and a step 203c described below.
And 203b, under the condition that a second input of the user to the shooting device is received, the shooting device responds to the second input and controls the first target camera to shoot.
And 203c, under the condition that a third input of the user to the shooting device is received, the shooting device responds to the third input and controls the second target camera to shoot to obtain a target file.
Optionally, in this embodiment of the application, the second input or the third input may be a click input of a user, or a voice instruction input by the user, or a specific gesture input by the user, which may be determined specifically according to an actual use requirement, and this is not limited in this embodiment of the application.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
Optionally, in this embodiment of the application, the shooting device may display shooting preview interfaces in the first screen and the second screen respectively, and display a second control on each screen, where the second control is used to open a split-screen shooting mode, and a user may input the second control to control the shooting device to be in the split-screen shooting mode, and then the user may perform a second input on the first screen to enable the shooting device to shoot through the first target camera, and may perform a third input on the second screen to enable the shooting device to shoot through the second target camera.
For example, in the photographing mode, if the user clicks the "split-screen photographing" option (i.e., the second control), after the camera application starts the voice recognition photographing function, when the user says "a", the target camera in the screen a (i.e., the first screen) takes a picture, and when the user says "B", the target camera in the screen B (i.e., the second screen) takes a picture.
Optionally, in this embodiment of the application, the shooting device may display a second control on both the first screen and the second screen; alternatively, the photographing apparatus may display the second control on any one of the first screen and the second screen.
It should be noted that, the split-screen shooting mode may be understood as follows: each screen can interact with the user independently, i.e. the mode of taking pictures for each screen is independent.
In the embodiment of the application, the user can input to each screen respectively, so that the shooting device shoots through the target camera in each screen respectively, the flexibility of the shooting mode of the electronic equipment is improved, and the shooting experience of the user is improved.
Optionally, in this embodiment of the present application, after step 203, the shooting method provided in this embodiment of the present application further includes step 501 described below.
Step 501, the shooting device displays a target file on a target screen.
Optionally, in an embodiment of the present application, the target screen includes at least one of: the screen comprises a first screen and a second screen.
Optionally, in this embodiment of the application, the shooting device may display the target file on the first screen; alternatively, the photographing apparatus may display the target file on the second screen; alternatively, the photographing device may simultaneously display the target file on the first screen and the second screen.
Optionally, in this embodiment of the application, in a case where the screen of the photographing device is in the expanded state, the photographing device may display the target file in the first screen and the second screen at the same time; in a case where the screen of the photographing device is in a folded state, the photographing device displays the target file in a main screen (i.e., the first screen or the second screen) of the first screen and the second screen.
It can be understood that when the user browses the target file, if the screen of the photographing device is in the unfolded state, the photographing device displays the target file on all screens of the photographing device; if the screen of the shooting device is in a folded state, the shooting device can display the target file on the main screen of the shooting device, so that the aim of facilitating the user to view the shot target file is achieved.
Optionally, in this embodiment of the application, the shooting device may display the target file horizontally on a screen of the shooting device; alternatively, the photographing apparatus may display the target file vertically on a screen of the photographing apparatus.
Illustratively, as shown in fig. 2, the main screen of the photographing device is a screen a and the target file is an image, and the photographing device displays the image vertically on the screen a in a state where the screen of the photographing device is in a folded state.
In the embodiment of the application, the shooting device can display the image or the video on the first screen and/or the second screen, so that a user can conveniently view the shot image or video, and the flexibility of displaying the image or the video by the shooting device is improved.
The embodiment of the application provides a shooting method, wherein a shooting device comprises a first screen and a second screen, and each screen is provided with at least two cameras with different view angles, so that a user can acquire first folding angle information between the first screen and the second screen and determine a target camera to be started in each screen according to the first folding angle information in the process of shooting an image through the shooting device if the screen of the shooting device is in a folding state, and thus, the shooting device can shoot through the target camera in each screen to obtain an image or a video (namely a target file) with a large view angle picture. In the scheme, because a plurality of cameras are arranged in each screen, the shooting device can open the target camera in each screen according to the folding angle between the first screen and the second screen in the folding state, so that the scene shot by the first target camera and the scene shot by the second target camera overlap, to ensure the continuity of the images or video pictures shot by the first target camera and the second target camera, therefore, by means of splicing the folded screen characteristic and the images or videos shot by a plurality of cameras, so as to realize the one-time rapid shooting of the image or video with a large visual field picture, solve the problem that the shooting angle of a single camera is limited, and the problem of picture distortion easily caused in the panoramic mode shooting process can be solved, the picture quality of a large-view image or video can be improved, and the shooting efficiency of the electronic equipment can be improved.
Optionally, in this embodiment of the application, the shooting device further includes a third screen, where the third screen is provided with at least two cameras with different field angles. Before step 203, the shooting method provided in the embodiment of the present application further includes steps 301 and 302 described below. Step 203 may be specifically realized by step 203d described below.
Step 301, the shooting device obtains second folding angle information between the second screen and the third screen.
Illustratively, as shown in fig. 3, the photographing device includes a first screen a, a second screen B, and a third screen C, the folding angle between the first screen a and the second screen B is K1 (i.e., first folding angle information), and the folding angle between the second screen B and the third screen is K2 (i.e., second folding angle information).
And step 302, the shooting device determines a third target camera according to the second folding angle information.
In this embodiment, the third target camera is a camera on a third screen.
And step 203d, the shooting device controls the first target camera, the second target camera and the third target camera to shoot, and a target file is obtained.
It should be noted that, for the method for determining the third target camera and the method for controlling the first target camera, the second target camera, and the third target camera to shoot, reference may be specifically made to the related descriptions in step 201 to step 203 in the foregoing embodiment, and details are not described here again.
The following describes a method for determining a target camera on each screen in the embodiment of the present application in detail with reference to fig. 3.
Suppose each screen includes a tele camera and a wide camera, respectively, where the field angle of the tele camera is X, the field angle of the wide camera is Y, and X is smaller than Y. The principle of determining the target camera in each screen according to the folding angle between two adjacent screens and the field angle of each camera is as follows:
when the folding angle between two adjacent screens is smaller than or equal to X, the two adjacent screens adopt the long-focus cameras, so that the scenes shot by the cameras in the two screens are partially overlapped, and at the moment, the long-focus cameras are opened by the two adjacent screens.
When the folding angle between two adjacent screens is greater than X and is not more than Y, it indicates that one of them screen needs to adopt wide-angle camera at least and just can guarantee that the scene part that the camera was shot overlaps in these two adjacent screens, and at this moment, long burnt camera is opened to preferential screen B, and wide-angle camera is opened to another screen.
When folding angle between two adjacent screens all was greater than Y, it all adopted wide angle camera to explain these two adjacent screens, could guarantee that the scene part that the camera was shot overlaps in two screens, and at this moment, wide angle camera was all opened to these two adjacent screens.
Exemplarily, in conjunction with fig. 3, the folding angle between the first screen a and the second screen B is K1, and the folding angle between the second screen B and the third screen C is K2;
when the K1 is not more than X and the K2 is not more than X, the first screen A starts the long-focus camera, the second screen B starts the long-focus camera, and the third screen C starts the long-focus camera;
when X is more than or equal to X1 and less than or equal to X + 0.5X (Y-X) and K2 is less than X, the first screen A starts the wide-angle camera, the second screen B starts the tele camera, and the third screen C starts the tele camera;
when K1 is more than X and X is more than or equal to X + 0.5X (Y-X) and more than or equal to K2, the first screen A starts the tele camera, the second screen B starts the tele camera, and the third screen C starts the wide camera;
when X is more than K1 and less than or equal to X + 0.5X (Y-X) and X is more than K2 and less than or equal to X + 0.5X (Y-X), the first screen A starts the wide-angle camera, the second screen B starts the tele-camera, and the third screen C starts the wide-angle camera;
when K1 is greater than X + 0.5X (Y-X) and X < K2 is not less than X + 0.5X (Y-X), the first screen A starts the wide-angle camera, the second screen B starts the wide-angle camera, and the third screen C starts the tele-camera;
when X < K1 is not less than X + 0.5X (Y-X) and K2> X + 0.5X (Y-X), the first screen A starts the tele-camera, the second screen B starts the wide-angle camera, and the third screen C starts the wide-angle camera;
when K1> X +0.5 × (Y-X) and K2> X +0.5 × (Y-X), the first screen a turns on the wide-angle camera, the second screen B turns on the wide-angle camera, and the third screen C turns on the wide-angle camera.
Specifically, in the case where X is 60 °, Y is 120 °,
when the K1 is less than or equal to 60 degrees and the K2 is less than or equal to 60 degrees, the first screen A starts the long-focus camera, the second screen B starts the long-focus camera, and the third screen C starts the long-focus camera;
when the angle is 60 degrees and less than or equal to 90 degrees and the angle is K2 and less than 60 degrees, the first screen A starts the wide-angle camera, the second screen B starts the tele camera, and the third screen C starts the tele camera;
when K1 is less than 60 degrees and K2 is less than or equal to 90 degrees, the first screen A starts the tele camera, the second screen B starts the tele camera, and the third screen C starts the wide camera;
when the angle is more than 60 degrees and less than or equal to 90 degrees and the angle is more than or equal to 60 degrees and less than or equal to 90 degrees, the first screen A opens the wide-angle camera, the second screen B opens the telephoto camera, and the third screen C opens the wide-angle camera;
when K1 is more than 90 degrees and 60 degrees < K2 is less than or equal to 90 degrees, the first screen A starts the wide-angle camera, the screen area B starts the wide-angle camera, and the third screen C starts the tele-camera;
when the angle is 60 degrees and less than or equal to K1 and 90 degrees and K2 is greater than 90 degrees, the first screen A starts the telephoto camera, the second screen B starts the wide-angle camera, and the third screen C starts the wide-angle camera;
when K1>90 ° and K2>90 °, the first screen a turns on the wide-angle camera, the second screen B turns on the wide-angle camera, and the third screen C turns on the wide-angle camera.
Optionally, in this embodiment of the application, when the shooting device includes three screens, if it is determined that the field angle of the target camera on each screen is 120 degrees, at this time, the shooting device is in a 360-degree panoramic shooting mode, and in the 360-degree panoramic shooting mode, the shot image or video is a 360-degree panoramic image or 360-degree panoramic video. Note that, in the 360-degree panorama shooting mode, the sum of the angles of view of all the target cameras is greater than or equal to 360 degrees.
Illustratively, as shown in fig. 4, the photographing device includes a first screen a, a second screen B, and a third screen C, an included angle between inner screens of any two adjacent screens has a value of 60 degrees, and a field angle of the target camera in each screen is 120 degrees, at which time the photographing device is in a 360-degree panorama photographing mode.
In the embodiment of the application, the shooting device can determine the target camera in each screen according to the folding angle between two adjacent screens in the folded state and the relationship between the field angles of at least two cameras in each screen, so that scenes shot by the target cameras in the two adjacent screens are overlapped, and the continuity of images or video images shot by the shooting device is ensured.
Optionally, in this embodiment of the present application, before the step 203, the shooting apparatus provided in this embodiment of the present application further includes a step 601 described below. The step 203 may be realized by the following steps 203e and 203f (or step 203 g).
Step 601, the shooting device identifies the object of the images collected by the first target camera and the second target camera based on the preset characteristics.
Optionally, in this embodiment of the application, the preset feature may be biometric information that is pre-entered by a user. For example, the preset feature is face feature information or iris information entered in advance.
It should be noted that, performing object recognition on the images acquired by the first target camera and the second target camera may be understood as: and detecting the human face characteristics in the acquired image.
Optionally, in this embodiment of the present application, the facial features may include facial features of the user or iris features of the user. In particular, the facial features of the user may include eye features, mouth features, nose features, ear features, eyebrow features, and the like. The specific method can be determined according to actual use requirements, and the embodiment of the application is not limited.
And 203e, under the condition that the images acquired by the first target camera and the second target camera both comprise the target object, controlling the first target camera and the second target camera to shoot the target object by the shooting device to obtain a first file and a second file.
In the embodiment of the present application, the target object is determined according to a preset feature. And, the target object may be a face feature matched with a preset feature.
It should be noted that the face features matched with the preset features may be understood that the face features are the same as the preset features, or the similarity between the face features and the preset features is greater than or equal to a preset threshold. For example, the preset threshold may be 95%, that is, if the similarity between the face feature and the preset feature is greater than or equal to 95%, the face feature is matched with the preset feature.
Optionally, in this embodiment of the application, the shooting device may detect a face feature through a target camera in each screen, automatically shoot through the first target camera to obtain a first file when the first target camera acquires the face feature, and automatically shoot through the second target camera to obtain a second file when the second target camera acquires the face feature.
And step 203f, under the condition that the first file comprises the first image and the second file comprises the second image, the shooting device carries out image synthesis on the first image and the second image to obtain a target image.
Optionally, in this embodiment of the application, the shooting device may perform image synthesis processing on a first image shot by the first target camera and a second image shot by the second camera to obtain the target image.
And 203g, under the condition that the first file comprises the first video and the second file comprises the second video, the shooting device carries out video synthesis on the first video and the second video to obtain a target video.
Optionally, in this embodiment of the application, when the target image or the target video is obtained by synthesis, a 3D face reconstruction method may be used. Specifically, a standard human face model and an illumination model are used, the shape, texture and illumination condition of an input image are expressed by a principal component analysis method, parameters in the model are determined through Bayesian estimation, and a 3D model of the human face is finally obtained.
Optionally, in this embodiment of the application, the shooting device may perform video synthesis processing on a first video shot by the first target camera and a second video shot by the second camera to obtain the target video.
Optionally, in this embodiment of the application, the shooting device may start to detect the portrait through the target camera in the first screen, and when it is detected that the portrait is stable, the shooting device may perform one-time shooting to obtain a portrait file, and meanwhile, the shooting device may select a file obtained by the last shooting of the second screen, so as to perform synthesis processing on the portrait file and the file obtained by the last shooting of the second screen, and obtain the target file. When the change of the portrait detected by the first screen is large, the shooting device needs to wait for the stability of the portrait again, and then shoot and synthesize the target file again.
In the embodiment of the application, the shooting device can acquire images or videos through the first target camera and the second target camera under the condition that the face features are detected on each screen by detecting the face features in each screen, and the acquired images or videos are synthesized to obtain the target images or the target videos, so that the shooting flexibility of the shooting device is improved.
In the shooting method provided by the embodiment of the present application, the execution subject may be a shooting device, or a control module in the shooting device for executing the shooting method. The embodiment of the present application takes an example in which a shooting device executes a shooting method, and the shooting device provided in the embodiment of the present application is described.
Fig. 5 shows a schematic diagram of a possible structure of a shooting device according to an embodiment of the present application, where the shooting device includes a first screen and a second screen, and each of the first screen and the second screen is provided with at least two cameras with different angles of view. As shown in fig. 5, the photographing device 70 may include: an acquisition module 71, a determination module 72 and a control module 73.
The obtaining module 71 is configured to obtain first folding angle information between the first screen and the second screen. A determining module 72, configured to determine a first target camera and a second target camera according to the first folding angle information acquired by the acquiring module 71, where the first target camera is a camera on a first screen, and the second target camera is a camera on a second screen. A control module 73, configured to control the first target camera and the second target camera determined by the determination module 72 to perform shooting, so as to obtain a target file, where the target file includes at least one of the following: images, videos.
The embodiment of the application provides a shooting device, because each screen is provided with a plurality of cameras, therefore, the shooting device can open the target camera in each screen according to the folding angle between the first screen and the second screen in the folding state, so that the scene shot by the first target camera and the scene shot by the second target camera overlap, to ensure the continuity of the images or video pictures shot by the first target camera and the second target camera, therefore, by means of splicing the folded screen characteristic and the images or videos shot by a plurality of cameras, so as to realize the one-time rapid shooting of the image or video with a large visual field picture, solve the problem that the shooting angle of a single camera is limited, and the problem of picture distortion easily caused in the panoramic mode shooting process can be solved, the picture quality of a large-view image or a video can be improved, and the shooting efficiency can be improved.
In a possible implementation manner, the above-mentioned shooting device 70 further includes a third screen, and at least two cameras with different field angles are disposed on the third screen. The acquiring module 71 is further configured to acquire second folding angle information between the second screen and the third screen before the control module 73 controls the first target camera and the second target camera to perform shooting. The determining module 72 is further configured to determine a third target camera according to the second folding angle information acquired by the acquiring module 71, where the third target camera is a camera on a third screen. The control module 73 is specifically configured to control the first target camera, the second target camera, and the third target camera determined by the determination module 72 to perform shooting.
In the embodiment of the application, the shooting device can determine the target camera in each screen according to the folding angle between two adjacent screens in the folded state and the relationship between the field angles of at least two cameras in each screen, so that scenes shot by the target cameras in the two adjacent screens are overlapped, and the continuity of images or video images shot by the shooting device is ensured.
In a possible implementation manner, the first screen is provided with a first tele camera and a first wide camera, and the second screen is provided with a second tele camera and a second wide camera. The determining module 72 is specifically configured to: determining the first long-focus camera as a first target camera and determining the second long-focus camera as a second target camera under the condition that the folding angle corresponding to the first folding angle information is smaller than or equal to a first preset angle; determining a first tele camera as a first target camera and a second wide camera as a second target camera or determining the first wide camera as the first target camera and the second tele camera as the second target camera under the condition that the folding angle corresponding to the first folding angle information is larger than a first preset angle and smaller than or equal to a second preset angle; and under the condition that the folding angle corresponding to the first folding angle information is larger than a second preset angle, determining the first wide-angle camera as a first target camera, and determining the second wide-angle camera as a second target camera.
In the embodiment of the application, the shooting device determines the target camera in each screen according to whether the field angles of the cameras on the two screens are partially overlapped or not, so that the scene shot by the first target camera (i.e. the camera on the first screen) and the scene shot by the second target camera (i.e. the camera on the second screen) are partially overlapped, and the continuity of the images or video pictures shot by the shooting device is ensured.
In a possible implementation manner, the above-mentioned shooting device 70 further includes: and a receiving module. And a receiving module, configured to receive a first input of the photographing apparatus from a user before the control module 73 controls the first target camera and the second target camera to perform photographing. The control module 73 is specifically configured to control the first target camera and the second target camera to perform shooting in response to the first input received by the receiving module.
In the embodiment of the application, the user can trigger the shooting device to shoot through the first target camera and the second target camera simultaneously through input, so that the flexibility of the shooting mode is improved, and the shooting experience of the user is improved.
In a possible implementation manner, the control module 73 is specifically configured to, in a case that a second input to the shooting device by the user is received, respond to the second input, and control the first target camera to shoot; and in the case of receiving a third input of the shooting device from the user, controlling the second target camera to shoot in response to the third input.
In the embodiment of the application, the user can input to each screen respectively, so that the shooting device shoots through the target camera in each screen respectively, the flexibility of the shooting mode is improved, and the shooting experience of the user is improved.
In a possible implementation manner, the above-mentioned shooting device 70 further includes: and identifying the module. And the recognition module is used for recognizing the object of the images collected by the first target camera and the second target camera based on the preset characteristics before the control module 73 controls the first target camera and the second target camera to shoot. The control module 73 is specifically configured to, when images acquired by the first target camera and the second target camera both include a target object, control the first target camera and the second target camera to shoot the target object to obtain a first file and a second file, where the target object is determined according to a preset feature; under the condition that the first file comprises a first image and the second file comprises a second image, carrying out image synthesis on the first image and the second image to obtain a target image; and under the condition that the first file comprises the first video and the second file comprises the second video, carrying out video synthesis on the first video and the second video to obtain a target video.
In the embodiment of the application, the shooting device can automatically detect the preset features in each screen, so that under the condition that the preset features are detected on each screen, images or videos are collected through the first target camera and the second target camera, the collected images or videos are subjected to synthesis processing, target images or target videos are obtained, and the shooting flexibility of the shooting device is improved.
In a possible implementation manner, the above-mentioned shooting device 70 further includes: and a display module. A display module, configured to display the target file on a target screen after the control module 73 controls the first target camera and the second target camera to perform shooting, and the target file is obtained, where the target screen includes at least one of the following: the screen comprises a first screen and a second screen.
In the embodiment of the application, the shooting device can display the image or the video on the first screen and/or the second screen, so that a user can conveniently view the shot image or video, and the flexibility of displaying the image or the video by the shooting device is improved.
The shooting device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in an electronic apparatus. The device can be mobile electronic equipment or non-mobile electronic equipment. Illustratively, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The shooting device provided by the embodiment of the application can realize each process realized by the method embodiment, can achieve the same technical effect, and is not repeated here for avoiding repetition.
Optionally, as shown in fig. 6, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The electronic device 1000 includes a first screen and a second screen, where the first screen and the second screen are both provided with at least two cameras with different angles of view. A processor 1010 configured to acquire first folding angle information between a first screen and a second screen; determining a first target camera and a second target camera according to the first folding angle information, wherein the first target camera is a camera on a first screen, and the second target camera is a camera on a second screen; controlling a first target camera and a second target camera to shoot to obtain a target file, wherein the target file comprises at least one of the following items: images, videos.
The embodiment of the application provides an electronic device, because each screen is provided with a plurality of cameras, therefore, the electronic equipment can open the target camera in each screen according to the folding angle between the first screen and the second screen in the folding state, so that the scene shot by the first target camera and the scene shot by the second target camera overlap, to ensure the continuity of the images or video pictures shot by the first target camera and the second target camera, therefore, by means of splicing the folded screen characteristic and the images or videos shot by a plurality of cameras, so as to realize the one-time rapid shooting of the image or video with a large visual field picture, solve the problem that the shooting angle of a single camera is limited, and the problem of picture distortion easily caused in the panoramic mode shooting process can be solved, the picture quality of a large-view image or video can be improved, and the shooting efficiency of the electronic equipment can be improved.
Optionally, in this embodiment of the application, the electronic device 1000 further includes a third screen, where at least two cameras with different field angles are disposed on the third screen. The processor 1010 is further configured to obtain second folding angle information between the second screen and the third screen before controlling the first target camera and the second target camera to perform shooting; and determining a third target camera according to the second folding angle information, wherein the third target camera is a camera on a third screen. The processor 1010 is specifically configured to control the first target camera, the second target camera, and the third target camera to perform shooting.
In the embodiment of the application, the electronic device can determine the target camera in each screen according to the folding angle between two adjacent screens in the folded state and the relationship between the field angles of at least two cameras in each screen, so that scenes shot by the target cameras in the two adjacent screens are overlapped, and the continuity of shot images or video images is ensured.
Optionally, in this embodiment of the application, the first screen is provided with a first telephoto camera and a first wide-angle camera, and the second screen is provided with a second telephoto camera and a second wide-angle camera. The processor 1010 is specifically configured to: determining the first long-focus camera as a first target camera and determining the second long-focus camera as a second target camera under the condition that the folding angle corresponding to the first folding angle information is smaller than or equal to a first preset angle; determining a first tele camera as a first target camera and a second wide camera as a second target camera or determining the first wide camera as the first target camera and the second tele camera as the second target camera under the condition that the folding angle corresponding to the first folding angle information is larger than a first preset angle and smaller than or equal to a second preset angle; and under the condition that the folding angle corresponding to the first folding angle information is larger than a second preset angle, determining the first wide-angle camera as a first target camera, and determining the second wide-angle camera as a second target camera.
In the embodiment of the application, the electronic device determines the target camera in each screen according to whether the field angles of the cameras on the two screens are partially overlapped, so that the scene shot by the first target camera (i.e. the camera on the first screen) and the scene shot by the second target camera (i.e. the camera on the second screen) are partially overlapped to ensure the continuity of the shot images or video pictures.
Optionally, in this embodiment of the application, the user input unit 1007 is configured to receive a first input of the user to the shooting device before the processor 1010 controls the first target camera and the second target camera to shoot. The processor 1010 is specifically configured to control the first target camera and the second target camera to perform shooting in response to a first input received by the user input unit 1007.
In the embodiment of the application, the user can trigger the electronic equipment to shoot through the first target camera and the second target camera simultaneously through input, so that the flexibility of the shooting mode of the electronic equipment is improved, and the shooting experience of the user is improved.
Optionally, in this embodiment of the application, the processor 1010 is specifically configured to, in a case that a second input to the shooting device by the user is received, respond to the second input, and control the first target camera to shoot; and in the case of receiving a third input of the shooting device from the user, controlling the second target camera to shoot in response to the third input.
In the embodiment of the application, the user can input to each screen respectively, so that the electronic equipment can shoot through the target camera in each screen respectively, the flexibility of the shooting mode of the electronic equipment is improved, and the shooting experience of the user is improved.
Optionally, in this embodiment of the application, the processor 1010 is further configured to perform object recognition on images acquired by the first target camera and the second target camera based on a preset feature before controlling the first target camera and the second target camera to perform shooting. The processor 1010 is specifically configured to control the first target camera and the second target camera to shoot a target object under the condition that images acquired by the first target camera and the second target camera both include the target object, so as to obtain a first file and a second file, where the target object is determined according to preset features; under the condition that the first file comprises a first image and the second file comprises a second image, carrying out image synthesis on the first image and the second image to obtain a target image; and under the condition that the first file comprises the first video and the second file comprises the second video, carrying out video synthesis on the first video and the second video to obtain a target video.
In the embodiment of the application, the electronic equipment can acquire images or videos through the first target camera and the second target camera under the condition that the face features are detected on each screen by detecting the face features in each screen, and synthesize the acquired images or videos to obtain the target images or the target videos, so that the shooting flexibility of the electronic equipment is improved.
Optionally, in this embodiment of the application, the display unit 1006 is configured to display the target file on a target screen after the processor 1010 controls the first target camera and the second target camera to perform shooting, so as to obtain the target file, where the target screen includes at least one of: the screen comprises a first screen and a second screen.
In the embodiment of the application, the electronic device can display the image or the video on the first screen and/or the second screen, so that a user can conveniently view the shot image or video, and the flexibility of displaying the image or the video by the electronic device is improved.
The electronic device provided by the embodiment of the application can realize each process realized by the method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of a still image or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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 Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above shooting method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A shooting method is applied to a shooting device with a folding screen, and is characterized in that the shooting device comprises a first screen and a second screen, and at least two cameras with different field angles are arranged on the first screen and the second screen respectively, and the method comprises the following steps:
acquiring first folding angle information between the first screen and the second screen;
determining a first target camera and a second target camera according to the first folding angle information, wherein the first target camera is a camera on the first screen, and the second target camera is a camera on the second screen;
controlling the first target camera and the second target camera to shoot to obtain a target file, wherein the target file comprises at least one of the following items: images, videos.
2. The method according to claim 1, wherein the photographing apparatus further includes a third screen on which at least two cameras with different field angles are disposed, and before the controlling the first target camera and the second target camera to perform photographing, the method further includes:
acquiring second folding angle information between the second screen and the third screen;
determining a third target camera according to the second folding angle information, wherein the third target camera is a camera on the third screen;
the controlling the first target camera and the second target camera to shoot comprises:
and controlling the first target camera, the second target camera and the third target camera to shoot.
3. The method of claim 1, wherein a first tele camera and a first wide camera are provided on the first screen, and a second tele camera and a second wide camera are provided on the second screen; determining a first target camera and a second target camera according to the first folding angle information includes:
determining the first long-focus camera as the first target camera and determining the second long-focus camera as the second target camera under the condition that the folding angle corresponding to the first folding angle information is smaller than or equal to a first preset angle;
determining the first tele-camera as the first target camera and determining the second wide-angle camera as the second target camera or determining the first wide-angle camera as the first target camera and determining the second tele-camera as the second target camera under the condition that the folding angle corresponding to the first folding angle information is larger than a first preset angle and smaller than or equal to a second preset angle;
and under the condition that the folding angle corresponding to the first folding angle information is greater than the second preset angle, determining the first wide-angle camera as the first target camera and determining the second wide-angle camera as the second target camera.
4. The method of claim 1, wherein prior to controlling the first and second target cameras to take a shot, the method further comprises:
receiving a first input of a user to the shooting device;
the controlling the first target camera and the second target camera to shoot comprises:
and responding to the first input, and controlling the first target camera and the second target camera to shoot.
5. The method of claim 1, wherein the controlling the first target camera and the second target camera to take a shot comprises:
under the condition that a second input of the shooting device by a user is received, responding to the second input, and controlling the first target camera to shoot;
and under the condition that a third input of the user to the shooting device is received, responding to the third input, and controlling the second target camera to shoot.
6. The method of claim 1, wherein prior to controlling the first and second target cameras to take a shot, the method further comprises:
based on preset characteristics, carrying out object recognition on images collected by the first target camera and the second target camera;
the controlling the first target camera and the second target camera to shoot to obtain a target file includes:
under the condition that images acquired by the first target camera and the second target camera both comprise target objects, controlling the first target camera and the second target camera to shoot the target objects to obtain a first file and a second file, wherein the target objects are determined according to the preset characteristics;
under the condition that the first file comprises a first image and the second file comprises a second image, carrying out image synthesis on the first image and the second image to obtain a target image;
and under the condition that the first file comprises a first video and the second file comprises a second video, carrying out video synthesis on the first video and the second video to obtain a target video.
7. The method according to claim 1, wherein after controlling the first target camera and the second target camera to shoot, and obtaining the target file, the method further comprises:
displaying the target file on a target screen, the target screen including at least one of: the screen comprises a first screen and a second screen.
8. A shooting device with a folding screen is characterized in that the shooting device comprises a first screen and a second screen, wherein at least two cameras with different field angles are arranged on the first screen and the second screen, and the shooting device comprises: the device comprises an acquisition module, a determination module and a control module;
the acquisition module is used for acquiring first folding angle information between the first screen and the second screen;
the determining module is configured to determine a first target camera and a second target camera according to the first folding angle information acquired by the acquiring module, where the first target camera is a camera on the first screen, and the second target camera is a camera on the second screen;
the control module is configured to control the first target camera and the second target camera determined by the determination module to perform shooting, so as to obtain a target file, where the target file includes at least one of the following items: images, videos.
9. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the photographing method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to any one of claims 1 to 7.
CN202111101831.4A 2021-09-18 2021-09-18 Shooting method, shooting device, electronic equipment and medium Active CN113840070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111101831.4A CN113840070B (en) 2021-09-18 2021-09-18 Shooting method, shooting device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111101831.4A CN113840070B (en) 2021-09-18 2021-09-18 Shooting method, shooting device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN113840070A true CN113840070A (en) 2021-12-24
CN113840070B CN113840070B (en) 2023-05-23

Family

ID=78960067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111101831.4A Active CN113840070B (en) 2021-09-18 2021-09-18 Shooting method, shooting device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN113840070B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257671A (en) * 2022-02-28 2022-03-29 荣耀终端有限公司 Image display method and electronic equipment
CN114827471A (en) * 2022-04-28 2022-07-29 维沃移动通信有限公司 Shooting method, display method, shooting device and display device
CN115022495A (en) * 2021-12-30 2022-09-06 荣耀终端有限公司 Photographing method, readable medium, and electronic device
CN115278030A (en) * 2022-07-29 2022-11-01 维沃移动通信有限公司 Shooting method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905603A (en) * 2019-03-28 2019-06-18 南京维沃软件技术有限公司 A kind of shooting processing method and mobile terminal
CN110290299A (en) * 2019-06-28 2019-09-27 Oppo广东移动通信有限公司 Imaging method, device, storage medium and electronic equipment
US20200204738A1 (en) * 2017-07-26 2020-06-25 Vivo Mobile Communication Co., Ltd. Photographing method and mobile terminal
CN111770273A (en) * 2020-06-29 2020-10-13 维沃移动通信有限公司 Image shooting method and device, electronic equipment and readable storage medium
CN112714255A (en) * 2020-12-30 2021-04-27 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and readable storage medium
US20210144308A1 (en) * 2019-11-12 2021-05-13 Wuhan Lianyi Heli Technology Co., Ltd Photography control method, device, non-transitory storage medium and system of intelligent photography system
CN113286064A (en) * 2021-04-30 2021-08-20 深圳市沃特沃德信息有限公司 All-round-view image acquisition method and device, mobile terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200204738A1 (en) * 2017-07-26 2020-06-25 Vivo Mobile Communication Co., Ltd. Photographing method and mobile terminal
CN109905603A (en) * 2019-03-28 2019-06-18 南京维沃软件技术有限公司 A kind of shooting processing method and mobile terminal
CN110290299A (en) * 2019-06-28 2019-09-27 Oppo广东移动通信有限公司 Imaging method, device, storage medium and electronic equipment
US20210144308A1 (en) * 2019-11-12 2021-05-13 Wuhan Lianyi Heli Technology Co., Ltd Photography control method, device, non-transitory storage medium and system of intelligent photography system
CN111770273A (en) * 2020-06-29 2020-10-13 维沃移动通信有限公司 Image shooting method and device, electronic equipment and readable storage medium
CN112714255A (en) * 2020-12-30 2021-04-27 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and readable storage medium
CN113286064A (en) * 2021-04-30 2021-08-20 深圳市沃特沃德信息有限公司 All-round-view image acquisition method and device, mobile terminal and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022495A (en) * 2021-12-30 2022-09-06 荣耀终端有限公司 Photographing method, readable medium, and electronic device
CN115022495B (en) * 2021-12-30 2023-04-07 荣耀终端有限公司 Photographing method, readable medium, and electronic device
CN114257671A (en) * 2022-02-28 2022-03-29 荣耀终端有限公司 Image display method and electronic equipment
CN114257671B (en) * 2022-02-28 2022-07-19 荣耀终端有限公司 Image display method and electronic equipment
CN114827471A (en) * 2022-04-28 2022-07-29 维沃移动通信有限公司 Shooting method, display method, shooting device and display device
CN115278030A (en) * 2022-07-29 2022-11-01 维沃移动通信有限公司 Shooting method and device and electronic equipment

Also Published As

Publication number Publication date
CN113840070B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
CN113840070B (en) Shooting method, shooting device, electronic equipment and medium
WO2019134516A1 (en) Method and device for generating panoramic image, storage medium, and electronic apparatus
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN112954210B (en) Photographing method and device, electronic equipment and medium
CN111866392B (en) Shooting prompting method and device, storage medium and electronic equipment
CN113329172B (en) Shooting method and device and electronic equipment
CN113596316B (en) Photographing method and electronic equipment
WO2022089284A1 (en) Photographing processing method and apparatus, electronic device, and readable storage medium
WO2022161340A1 (en) Image display method and apparatus, and electronic device
CN112887617B (en) Shooting method and device and electronic equipment
CN112532881A (en) Image processing method and device and electronic equipment
CN113923350A (en) Video shooting method and device, electronic equipment and readable storage medium
CN112437232A (en) Shooting method, shooting device, electronic equipment and readable storage medium
WO2022156672A1 (en) Photographing method and apparatus, electronic device and readable storage medium
CN111770277A (en) Auxiliary shooting method, terminal and storage medium
CN110086998B (en) Shooting method and terminal
WO2024061134A1 (en) Photographing method and apparatus, electronic device, and medium
CN112637495B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112839166B (en) Shooting method and device and electronic equipment
CN112788244A (en) Shooting method, shooting device and electronic equipment
CN112653841B (en) Shooting method and device and electronic equipment
CN112887624B (en) Shooting method and device and electronic equipment
CN112153291B (en) Photographing method and electronic equipment
CN114245018A (en) Image shooting method and device
CN114390206A (en) Shooting method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant