CN113840070B - Shooting method, shooting device, electronic equipment and medium - Google Patents
Shooting method, shooting device, electronic equipment and medium Download PDFInfo
- Publication number
- CN113840070B CN113840070B CN202111101831.4A CN202111101831A CN113840070B CN 113840070 B CN113840070 B CN 113840070B CN 202111101831 A CN202111101831 A CN 202111101831A CN 113840070 B CN113840070 B CN 113840070B
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/698—Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/951—Computational 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 medium, and belongs to the technical field of communication. The shooting device comprises a first screen and a second screen, cameras with at least two different angles of view 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 the first target camera and the second target camera to shoot, and obtaining a target file, wherein the target file comprises at least one of the following: images, video.
Description
Technical Field
The application belongs to the technical field of image pickup, and particularly relates to a shooting method, a shooting device, electronic equipment and a medium.
Background
In general, in the process of shooting an image through an electronic device, under the condition that the field of view of the current shooting scene is large, a user can trigger the electronic device to be in a panoramic shooting mode, then the electronic device is slowly moved, so that the electronic device collects a plurality of images, and the images are spliced, so that a complete image is obtained.
However, in the above process, the speed of capturing the image by the electronic device is slower, and the moving speed requirement of the user is higher, so that the user moves too fast or too slow to cause the distortion of the image acquired by the electronic device.
Disclosure of Invention
An object of the embodiment of the application is to provide a shooting method, a shooting device, an electronic device and a medium, which can solve the problem that in the prior art, when a panoramic shooting mode is adopted for shooting, the picture is easy to distort.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a photographing method, which is applied to a photographing device having a folding screen, where the photographing device includes a first screen and a second screen, and cameras with at least two different angles of view are disposed on the first screen and the second screen, and the photographing 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 the first target camera and the second target camera to shoot, and obtaining a target file, wherein the target file comprises at least one of the following: images, video.
In a second aspect, an embodiment of the present application provides a photographing apparatus having a folding screen, the photographing apparatus including a first screen and a second screen, cameras having at least two different angles of view being provided on the first screen and the second screen, the photographing apparatus including: 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 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, so as to obtain a target file, wherein the target file comprises at least one of the following items: images, video.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In this embodiment of the present application, since the photographing device includes a first screen and a second screen, and each screen is provided with at least two cameras with different angles of view, in the process of photographing an image by the photographing device, if the screen of the photographing device is in a folded state, a user may obtain first folding angle information between the first screen and the second screen, and determine, according to the first folding angle information, a target camera to be opened in each screen, so that the photographing device may photograph through the target camera in each screen, to obtain an image or video (i.e., a target file) with a large-view picture. In the scheme, as the plurality of cameras are arranged in each screen, the shooting device can start 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 are overlapped, the continuity of the images or video pictures shot by the first target camera and the second target camera is ensured, and therefore, the mode of splicing the images or videos shot by the folding screen and the plurality of cameras is utilized, the image or video with a large-view picture can be shot rapidly at one time, the problem that the shooting angle of a single camera is limited, and the picture distortion is easily caused in the panoramic mode shooting process is solved, the picture quality of the 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 photographing method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a photographing method according to an embodiment of the present application;
FIG. 3 is a second schematic diagram of a photographing method according to an embodiment of the present disclosure;
fig. 4 is a third schematic diagram of a photographing method according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a photographing device according to an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 7 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The shooting method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
In the market of intelligent electronic devices, users have higher requirements on the electronic devices, and more application scenes are also provided. In general, in the case where a user shoots a landscape or a large-view scene, since most electronic devices have a limited viewing angle, there is often a case where a shooting angle is insufficient, and even if an ultra-wide angle camera is used, a large-angle picture required by the user cannot be shot at a 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, so that the electronic equipment collects a plurality of images, and the images are synthesized, so that a complete image is obtained. However, in the above process, the speed of capturing the image by the electronic device is slow, and the user moves too fast or too slow to cause distortion of the image captured by the electronic device, so that the capturing efficiency is low.
In order to solve the above technical problem, in this embodiment of the present application, since the photographing device includes a first screen and a second screen, and each screen is provided with at least two cameras with different angles of view, if the screen of the photographing device is in a folded state during the process of photographing an image by the photographing device, the photographing device may acquire first folding angle information between the first screen and the second screen, and determine, according to the first folding angle information, a target camera to be opened in each screen, so that the photographing device may photograph through the target camera in each screen, to obtain an image or video with a large field of view (i.e., a target file in the following embodiment).
According to the scheme, the plurality of cameras are arranged in each screen, so that the shooting device can start 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 are overlapped, the continuity of the images or video pictures shot by the first target camera and the second target camera is ensured, and therefore, the mode of splicing the images or videos shot by the folding screen and the plurality of cameras is utilized, the image or video with a large-view picture can be shot quickly at one time, the problem that the single camera is limited in shooting angle and the picture distortion is easily caused in the panoramic mode shooting process is solved, the picture quality of the 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 photographing device provided in the embodiment of the present application includes at least two screens, and the embodiment of the present application is illustrated by taking the first screen and the second screen as examples.
An embodiment of the present application provides a photographing method, and fig. 1 shows a flowchart of the photographing method provided in the embodiment of the present application, where the method may be applied to a photographing device with a folded screen, where the photographing device includes a first screen and a second screen, where cameras with at least two different angles of view are disposed on the first screen and the second screen. As shown in fig. 1, the photographing method provided in the embodiment of the present application may include the following steps 201 to 203.
In this embodiment of the present invention, since the photographing device includes a first screen and a second screen, cameras with at least two different angles of view are disposed on the first screen and the second screen, and a user may trigger the screen of the photographing device to be in a folded state in the process of photographing an image by 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, according to the folding angle information, a camera to be opened on the first screen (that is, a first target camera in the following embodiment) and a camera to be opened on the second screen (that is, a second target camera in the following embodiment), so that the electronic device may control the first target camera and the second target camera to perform photographing, thereby obtaining a target file, for example, a large-field image or video.
Optionally, in this embodiment of the present application, the sizes of the first screen and the second screen may be the same or different, and may specifically be determined according to actual use requirements, which is not limited in this embodiment of the present application.
Optionally, in this embodiment of the present application, each of the first screen and the second screen may be a two-sided screen, that is, each screen includes an inner screen and an outer screen, where the outer screen refers to a screen that is in the same plane with at least two cameras with different view angles.
Optionally, in this embodiment of the present application, the photographing device may set at least two cameras with different angles of view at the same position of the first screen and the second screen, where at least two cameras in each screen are located on the same horizontal line, so as to ensure quality of images or videos photographed by each camera.
Optionally, in this embodiment of the present application, the cameras with at least two different angles of view may be a tele camera, a wide-angle camera, an ultra-wide-angle camera, a portrait camera, and so on. The specific determination may be determined according to actual use requirements, and the embodiments of the present application are not limited.
It can be understood that, because the angles of view of the at least two cameras in each screen are different, the photographing device can determine the appropriate camera from the at least two cameras according to the folding angle between the first screen and the second screen and the angle of view of each camera, so as to ensure that the scenes photographed by the first target camera and the second target camera overlap, thereby ensuring the continuity of the images or video pictures photographed by the photographing device.
Optionally, in an embodiment of the present application, the cameras with at least two different angles of view may be a camera module.
Optionally, in the embodiment of the present application, the user may input the photographing device in advance, so as 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 on the same plane.
Alternatively, in the embodiment of the present 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: an angle value between an extension line of a plane in which the outer screen of the first screen and the outer screen of the second screen are located (for example, a folding angle K1 between the screen a and the screen B in fig. 3).
In this 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 the embodiment of the present application, when the photographing device is in a folded state, the photographing device may determine, according to the first folding angle information between the first screen and the second screen and the view angles of at least two cameras in each screen, a camera to be opened on each screen, that is, determine a first target camera and a second target camera.
Optionally, in this embodiment of the present application, a first tele camera and a first wide camera are disposed on the first screen, and a second tele camera and a second wide camera are disposed on the second screen. The above step 202 may be specifically implemented by the following steps 202a or 202b or 202 c.
In step 202a, when the folding angle corresponding to the first folding angle information is smaller than or equal to the first preset angle, the photographing 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 the field angle of the wide-angle camera, that is, the field angle of the first telephoto camera is smaller than the field angle of the first wide-angle camera, and the field angle of the second telephoto camera is smaller than the field angle of the second wide-angle camera.
Alternatively, in the embodiment of the present 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. The embodiment of the application is described taking the example that the field angle of the first long-focus camera is the same as the field angle of the second long-focus camera, and the field angle of the first wide-angle camera is the same as the field angle of the second wide-angle camera.
Optionally, in this embodiment of the present application, when the field angle of the first tele camera is the same as the field angle of the second tele camera, and the field angle of the first wide camera is the same as the field angle 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 smaller than or equal to the first preset angle description: the field angle of the first tele camera partially overlaps the field angle of the second tele camera. It can be understood that the scene shot by the first tele camera and the scene shot by the second tele camera have overlapping portions.
In step 202b, when the folding angle corresponding to the first folding angle information is greater than the first preset angle and less than or equal to the second preset angle, the photographing device determines the first tele camera as the first target camera and the second wide camera as the second target camera, or the photographing device determines the first wide camera as the first target camera and the second tele camera as the second target camera.
Optionally, in this embodiment of the present application, the second preset angle may be an angle of view of the first wide-angle camera, or may be an angle of view of the second wide-angle camera.
It should be noted that, the folding angle corresponding to the first folding angle information is greater than the first preset angle and is less than or equal to the second preset angle instruction: the field angle of the first tele camera overlaps with the field angle of the second wide camera, or the field angle of the first wide camera overlaps with the field angle of the second tele camera. It can be understood that the scene shot by the first tele camera and the scene shot by the second wide-angle camera have an overlapping portion, or the scene shot by the first wide-angle camera and the scene shot by the second tele camera have an overlapping portion.
In step 202c, when the folding angle corresponding to the first folding angle information is greater than the second preset angle, the photographing 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 larger than the second preset angle description: the field angle of the first wide-angle camera partially overlaps the field angle of the second wide-angle camera. It can be appreciated that there is an overlapping portion between the scene captured by the first wide-angle camera and the scene captured by the second wide-angle camera.
According to the method and the device for capturing images, whether the angles of view of the cameras on the two screens are partially overlapped or not, the target camera in each screen is determined, so that the first target camera (namely, the camera on the first screen) is partially overlapped with the scene shot by the second target camera (namely, the camera on the second screen), continuity of images or video pictures shot by the shooting device is guaranteed, and therefore, the mode of splicing the folding screen characteristics and the images or videos shot by the plurality of cameras is utilized to realize one-time quick shooting of the images or videos with large-view pictures, the problem that the shooting angle of a single camera is limited and the picture distortion is easily caused in the panoramic mode shooting process is solved, the picture quality of the large-view images or videos can be improved, and the shooting efficiency of electronic equipment can be improved.
Optionally, in the embodiment of the present application, the photographing device may determine, according to a folding angle between the first screen and the second screen in the folded state and a view angle of at least two cameras in each screen, a camera to be turned on in each screen; after the target cameras (including the first target camera and the second target camera) in each screen are turned on, the photographing device can detect the distance between the object to be photographed and each screen, and then for each screen, the photographing device determines whether the cameras in the screen need to be adjusted according to the distance between the object to be photographed and one screen.
Optionally, in the embodiment of the present application, the user may input through a camera application program in a screen of the photographing device, so as to trigger the photographing device to simultaneously turn on the target camera in each screen.
Optionally, in the embodiment of the present application, the photographing device may obtain a distance between the object to be photographed and each screen through a target camera in each screen. It is understood that, after turning on the target camera in each screen, the photographing device may detect the distance between the object to be photographed and each screen according to the target camera in each screen.
Optionally, in the embodiment of the present application, for each screen, in a case where a distance (first distance) between one screen and an object to be photographed is greater than or equal to a minimum focusing distance of a target camera in the screen, photographing with the target camera is continued. Under the condition that the first distance is smaller than the minimum focusing distance of the target camera in the corresponding screen, the shooting device can close the target camera in the screen and switch to the other camera in the screen so as to shoot by adopting the camera, wherein the camera is a camera with a view angle larger than that of the target camera in a screen area.
It is understood that in a case where 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 perform focusing with 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, the target camera is closed, and the camera with the view angle larger than that of the target camera in the screen is opened, so that the electronic equipment can focus by adopting the camera, and an image is shot.
The smaller the focusing distance is, the larger the angle of view is; the larger the focus distance, the smaller the field angle. The minimum focusing distance can be understood as: the shortest distance that the camera can focus, namely under the condition that the distance between the object to be shot and the camera is smaller than the minimum focusing distance, the camera can not focus.
For example, assuming that the first screen and the second screen each include a telephoto camera and a wide-angle camera, and the field angle of the telephoto camera is smaller than the field angle of the wide-angle camera, after the photographing device starts the telephoto 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, if the telephoto camera detects that the distance between the near object and the first screen is smaller than the minimum focusing distance of the telephoto camera, the telephoto camera in the first screen is closed, and the wide-angle camera in the first screen is started.
In this embodiment of the present application, after the photographing device starts the target camera in each screen, whether the target camera in each screen needs to be adjusted can be determined according to the distance between the object to be photographed and each screen, so as to accurately determine the camera adopted by each screen during photographing, and ensure the picture quality of the image or video photographed by each camera, thereby ensuring the quality of the image or video finally obtained by the photographing device.
And 203, the shooting device controls the first target camera and the second target camera to shoot, and a target file is obtained.
In an embodiment of the present application, the target file includes at least one of the following: images, video.
Optionally, in an embodiment of the present application, in an implementation manner, the photographing device may control the first target camera and the second target camera to photograph simultaneously, so as to obtain a target file; in another implementation manner, the photographing device may control the first target camera and the second target camera to photograph respectively, so as to obtain the target file.
Optionally, in the embodiment of the present application, the photographing device may control the first target camera and the second target camera to perform photographing to obtain two files, and then the photographing device may perform synthesis processing on the two files to obtain the target file.
Optionally, in the embodiment of the present application, before the photographing device controls the first target camera and the second target camera to perform photographing, the photographing device may present continuous preview images of the scene to be photographed to the user on inner and outer screens of the first screen and the second screen through a stitching algorithm.
Optionally, in the embodiment of the present application, in a photographing mode, the photographing device may control the first target camera and the second target camera to photograph images. In the video recording mode, the shooting device can control the first target camera and the second target camera to record video.
Optionally, in an implementation manner provided in the embodiment of the present application, before step 203, the photographing method provided in the embodiment of the present application further includes a step 401 described below. The step 203 may be specifically realized by the following step 203 a.
Step 401, the camera receives a first input from a user to the camera.
Optionally, in this embodiment of the present application, the first input may be a click input of a user, or a folding input of the user, or a voice command 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 embodiment of the present application is not limited to this.
The specific gesture in the embodiment of the application may be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition 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 may be single click input, double click input, or any number of click inputs, and may also be long press input or short press input.
Optionally, in the 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 the shooting device shoots through the first target camera and the second target camera at the same time. In a second implementation, the user may input by folding the camera such that the camera photographs through the first target camera and the second target camera simultaneously.
Optionally, in this embodiment of the present application, the photographing device may display a photographing preview interface in a first screen and a second screen, and display a first control on each screen, where the first control is used to open a folded photographing mode, and a user may input the first control to control the photographing device to be in the folded photographing mode, and then, the user may perform folding input on the photographing device, so that the photographing device photographs through the first target camera and the second target camera at the same time.
In the photographing mode, if the user selects the "fold-up photographing" option (i.e., the first control), the photographing device enters a waiting adjustment state when the user adjusts the folding angle of the screen of the photographing device, and the photographing device automatically completes one photographing through the first target camera and the second target camera when the user adjusts and the screen of the photographing device is stable.
Also, for example, in the video recording mode, if the user selects the "fold-up shooting" option (i.e., the first control), when the user adjusts the folding angle of the screen of the shooting device, if the current shooting device is in the recording state, the video recording is immediately finished and a video with two-screen viewing angles is generated, otherwise, the shooting device enters a waiting adjustment state, and when the user adjusts the folding angle and the screen of the shooting device is stable, the shooting device starts the video recording through the first target camera and the second target camera.
Optionally, in the embodiment of the present application, the photographing device may display the first control on both the first screen and the second screen; alternatively, the photographing device may display the first control on any one of the first screen and the second screen.
It should be noted that, the above-mentioned folded shooting mode can be understood as: the photographing device may perform photographing according to a folded state of a screen of the photographing device.
In step 203a, the photographing device responds to the first input, and controls the first target camera and the second target camera to perform photographing, so as to obtain a target file.
Optionally, in an embodiment of the present application, controlling, in response to the first input, the first target camera and the second target camera to perform shooting 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 this embodiment of the application, the user can trigger shooting device through first target camera and second target camera through the input and shoot simultaneously to promoted the flexibility of electronic equipment's shooting mode, and, promoted user's shooting experience.
Alternatively, in another implementation manner provided in the embodiments of the present application, the above step 203 may be specifically implemented through the following steps 203b and 203 c.
Step 203b, when receiving a second input from the user to the photographing device, the photographing device controls the first target camera to perform photographing in response to the second input.
In step 203c, when a third input from the user to the photographing device is received, the photographing device responds to the third input and controls the second target camera to photograph, so as to obtain the target file.
Optionally, in this embodiment of the present application, the second input or the third input may be a click input of a user, or a voice command 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 embodiment of the present application is not limited to this.
The specific gesture in the embodiment of the application may be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition 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 may be single click input, double click input, or any number of click inputs, and may also be long press input or short press input.
Optionally, in this embodiment of the present application, the photographing device may display a photographing preview interface in a first screen and a second screen, and display a second control on each screen, where the second control is used to open a split-screen photographing mode, and the user may input the second control to control the photographing device to be in the split-screen photographing mode, and then the user may perform a second input on the first screen to enable the photographing device to photograph through the first target camera, and the user may perform a third input on the second screen to enable the photographing device to photograph through the second target camera.
Illustratively, in the photographing mode, if the user selects the "split-screen photographing" option (i.e., the second control), after the camera application program turns on the voice recognition photographing function, the target camera in the screen a (i.e., the first screen) photographs when the user speaks "a", and the target camera in the screen B (i.e., the second screen) photographs when the user speaks "B".
Optionally, in the embodiment of the present application, the photographing device may display the second control on both the first screen and the second screen; alternatively, the photographing device may display the second control on any one of the first screen and the second screen.
It should be noted that, the above split-screen shooting mode can be understood as follows: each screen may be independently interacted with by the user, i.e. the manner in which each screen is photographed is independent.
In this embodiment of the application, the user can input to each screen respectively for shooting device shoots through the target camera in each screen respectively, thereby has promoted the flexibility of electronic equipment's shooting mode, and has promoted user's shooting experience.
Optionally, in the embodiment of the present application, after the step 203, the photographing method provided in the embodiment of the present application further includes the following step 501.
In step 501, the photographing device displays the target file on the target screen.
Optionally, in an embodiment of the present application, the target screen includes at least one of: a first screen and a second screen.
Optionally, in the embodiment of the present application, the photographing device may display the target file on the first screen; alternatively, the photographing device may display the target file on the second screen; alternatively, the photographing device may display the target file on the first screen and the second screen at the same time.
Alternatively, in the embodiment of the present 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 an expanded state, the photographing device displays the target file on all the 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 purpose of conveniently viewing the shot target file by a user is achieved.
Optionally, in the embodiment of the present application, the photographing device may display the target file laterally on a screen of the photographing device; alternatively, the camera may display the target file longitudinally on the screen of the camera.
Illustratively, as shown in fig. 2, the main screen of the photographing device is a screen a and the object file is an image, and in the case where the screen of the photographing device is in a folded state, the photographing device displays the image on the screen a vertically.
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, because a shooting device comprises a first screen and a second screen, cameras with at least two different angles of view are arranged on each screen, a user can acquire first folding angle information between the first screen and the second screen if the screen of the shooting device is in a folding state in the process of shooting images by the shooting device, and a target camera to be started 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 images or videos (namely target files) with large-view images. In the scheme, as the plurality of cameras are arranged in each screen, the shooting device can start 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 are overlapped, the continuity of the images or video pictures shot by the first target camera and the second target camera is ensured, and therefore, the mode of splicing the folded screen characteristics and the images or videos shot by the plurality of cameras is utilized, the image or video with a large-view picture can be shot quickly at one time, the problem that the shooting angle of a single camera is limited, and the picture distortion is easily caused in the panoramic mode shooting process is solved, the picture quality of the large-view image or video can be improved, and the shooting efficiency of the electronic equipment can be improved
Optionally, in an embodiment of the present application, the shooting device further includes a third screen, and at least two cameras with different angles of view are disposed on the third screen. Before the step 203, the photographing method provided in the embodiment of the present application further includes the following steps 301 and 302. The step 203 may be specifically realized by the following step 203 d.
Step 301, the photographing 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, where a folding angle between the first screen a and the second screen B is K1 (i.e., first folding angle information), and a 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 of the present application, the third target camera is a camera on a third screen.
And 203d, the shooting device controls the first target camera, the second target camera and the third target camera to shoot, so that 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 perform shooting, reference may be specifically made to the descriptions related to steps 201 to 203 in the foregoing embodiments, which are not repeated herein.
A method for determining a target camera on each screen in the embodiment of the present application will be specifically described with reference to fig. 3.
Each screen is assumed to include a tele camera and a wide camera, respectively, wherein 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 fact that the two adjacent screens all adopt the long-focus cameras can ensure that scenes shot by the cameras in the two screens are partially overlapped, and at the moment, the two adjacent screens all open the long-focus cameras.
When the folding angle between two adjacent screens is larger than X and not more than Y, the situation that one of the screens at least needs to adopt a wide-angle camera to ensure that scenes shot by the cameras in the two adjacent screens are partially overlapped is indicated, at the moment, the long-focus camera is started by the priority screen B, and the wide-angle camera is started by the other screen.
When the folding angle between two adjacent screens is larger than Y, the two adjacent screens are all provided with wide-angle cameras, so that the scene part shot by the cameras in the two screens can be ensured to be overlapped, and at the moment, the two adjacent screens are all provided with wide-angle cameras.
Illustratively, in connection 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 K1 is less than or equal to X and K2 is less than or equal to X, the first screen A starts the tele camera, the second screen B starts the tele camera, and the third screen C starts the tele camera;
when X is 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 less than X and X is less than or equal to X+0.5X (Y-X), the first screen A starts a tele camera, the second screen B starts the tele camera, and the third screen C starts a wide-angle camera;
when X is less than or equal to K1 and less than or equal to X+0.5× (Y-X) and X is less than or equal to K2 and less than or equal to X+0.5× (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 more than X+0.5× (Y-X) and X < K2 is less than or equal to X+0.5× (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 less than or equal to X+0.5× (Y-X) and K2 is more than X+0.5× (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 of x=60°, y=120°,
when K1 is less than or equal to 60 degrees and 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 K1 is smaller than or equal to 90 degrees and K2 is smaller than 60 degrees, the first screen A starts the wide-angle camera, the second screen B starts the long-focus camera, and the third screen C starts the long-focus camera;
when K1 is smaller than 60 degrees and K2 is smaller than or equal to 90 degrees, the first screen A starts a tele camera, the second screen B starts the tele camera, and the third screen C starts a wide-angle camera;
when the angle K1 is smaller than or equal to 90 degrees and the angle K2 is smaller than or equal to 90 degrees, the first screen A is opened with the wide-angle camera, the second screen B is opened with the tele camera, and the third screen C is opened with 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 a wide-angle camera, the screen area B starts the wide-angle camera, and the third screen C starts a tele camera;
when 60 degrees < K1 is less than or equal to 90 degrees and K2 is more than 90 degrees, the first screen A starts a tele camera, the second screen B starts a wide-angle camera, and the third screen C starts a wide-angle camera;
When K1 is more than 90 degrees and K2 is more than 90 degrees, the first screen A is started to start the wide-angle camera, the second screen B is started to start the wide-angle camera, and the third screen C is started to start the wide-angle camera.
Optionally, in the embodiment of the present application, in a case where the photographing device includes three screens, if it is determined that the field angle of view of the target camera on each screen is 120 degrees, at this time, the photographing device is in a 360-degree panoramic photographing mode, and in the 360-degree panoramic photographing mode, the photographed image or video is a 360-degree panoramic image or 360-degree panoramic video. In the 360-degree panoramic shooting mode, the sum of the angles of view of all the target cameras is greater than or equal to 360 degrees.
As shown in fig. 4, the photographing device includes a first screen a, a second screen B, and a third screen C, the included angle value between the inner screens of any two adjacent screens is 60 degrees, and the field angle of the target camera in each screen is 120 degrees, and at this time, the photographing device is in a 360-degree panorama photographing mode.
According to the method, the device and the system, the target camera in each screen can be determined according to the relation between the folding angle between two adjacent screens and the view angle of at least two cameras in each screen in the folding state, so that scenes shot by the target cameras in the two adjacent screens are overlapped, continuity of images or video pictures shot by the device is guaranteed, therefore, the images or videos shot by the folding screen characteristics and the multiple cameras are spliced, images or videos with large-view pictures can be shot at one time quickly, the problem that the shooting angle of a single camera is limited, and picture distortion is easily caused in the panoramic mode shooting process is solved, the picture quality of the large-view images or videos can be improved, and the shooting efficiency of electronic equipment can be improved.
Optionally, in the embodiment of the present application, before step 203, the photographing device provided in the embodiment of the present application further includes a step 601 described below. The step 203 may be specifically realized by the steps 203e and 203f (or 203 g) described below.
And 601, the shooting device performs object recognition on images acquired by the first target camera and the second target camera based on preset features.
Optionally, in an embodiment of the present application, the preset feature may be biometric information that is pre-entered by a user. The preset feature is, for example, pre-entered facial feature information or pre-entered iris information.
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 face characteristics in the acquired images.
Alternatively, in the embodiment of the present application, the face feature may include a facial feature of the user or an iris feature 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 determination may be determined according to actual use requirements, and the embodiments of the present application are not limited.
In step 203e, when the images acquired by the first target camera and the second target camera both include the target object, the photographing device controls the first target camera and the second target camera to photograph the target object, so as to obtain a first file and a second file.
In this embodiment of the present application, the target object is determined according to a preset feature. And, the target object may be a face feature matching with a preset feature.
It should be noted that, the face feature matching with the preset feature may be understood that the face feature is the same as the preset feature, or the similarity between the face feature and the preset feature is greater than or equal to the preset threshold. For example, the preset threshold may be 95%, i.e., if the similarity of the face feature and the preset feature is greater than or equal to 95%, then the face feature matches the preset feature.
Optionally, in this embodiment of the present application, the photographing device may detect a face feature through a target camera in each screen, and automatically photograph through the first target camera under the condition that the first target camera collects the face feature, to obtain a first file, and automatically photograph through the second target camera under the condition that the second target camera collects the face feature, to obtain a second file.
In step 203f, when the first file includes the first image and the second file includes the second image, the photographing device performs image synthesis on the first image and the second image to obtain the target image.
Optionally, in the embodiment of the present application, the photographing device may perform image synthesis processing on a first image photographed by the first target camera and a second image photographed by the second camera to obtain the target image.
In step 203g, when the first file includes the first video and the second file includes the second video, the photographing device performs video synthesis on the first video and the second video to obtain the target video.
Optionally, in the embodiment of the present application, when the target image or the target video is obtained by synthesis, a 3D face reconstruction method may be adopted. Specifically, a standard face model and a lighting model are used, the shape, texture and lighting 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 face is finally obtained.
Optionally, in the embodiment of the present application, the photographing device may perform video synthesis processing on a first video photographed by the first target camera and a second video photographed by the second camera, so as to obtain the target video.
Optionally, in this embodiment of the present application, the photographing device may start to detect a portrait through the target camera in the first screen, and under a condition that the portrait is detected to be stable, the photographing device may perform photographing once to obtain a portrait file, and at the same time, the photographing device may select a file obtained by last photographing on the second screen, so as to perform a synthesis process on the portrait file and the file obtained by last photographing on the second screen, to obtain the target file. When the variation of the portrait detected by the first screen is large, the shooting device needs to wait for the portrait to be stable again, and then shooting and synthesizing the target file are performed again.
In the embodiment of the application, the shooting device can acquire the image or the video through the first target camera and the second target camera under the condition that the face features in each screen are detected, and perform synthesis processing on the acquired image or video to obtain the target image or the target video, so that the shooting flexibility of the shooting device is improved.
It should be noted that, in the photographing method provided in the embodiment of the present application, the execution subject may be a photographing device, or a control module in the photographing device for executing the photographing method. In the embodiment of the present application, taking an example of a photographing method performed by a photographing device, the photographing device provided in the embodiment of the present application is described.
Fig. 5 shows a schematic diagram of a possible configuration of a photographing device according to an embodiment of the present application, where the photographing device includes a first screen and a second screen, and cameras with at least two different angles of view are disposed on the first screen and the second screen. 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 acquiring module 71 is configured to acquire first folding angle information between the first screen and the second screen. The determining module 72 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 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. The control module 73 is configured to control the first target camera and the second target camera determined by the determining module 72 to capture a target file, where the target file includes at least one of the following: images, video.
The embodiment of the application provides a shooting device, because be provided with a plurality of cameras in every screen, therefore shooting device can open the target camera in every screen according to the folding angle between first screen and the second screen under the folded condition, make the scene that first target camera was shot and the scene that second target camera was shot overlap, in order to guarantee the continuity of the image or the video picture that first target camera and second target camera were shot, like this, utilize folding screen characteristic and the mode that a plurality of camera shot image or video carry out the concatenation, with the realization is once only shot fast and is had image or video of big visual field picture, it is limited to have solved single camera shooting angle, and the problem that leads to the picture distortion easily in the panorama mode shooting process, both can promote the picture quality of big visual field image or video, can also improve shooting efficiency.
In one possible implementation, the shooting device 70 further includes a third screen, where at least two cameras with different angles of view are disposed on the third screen. The above-mentioned obtaining module 71 is further configured to obtain 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 determining module 72 to perform shooting.
According to the method, the device and the system, the target camera in each screen can be determined according to the relation between the folding angle between two adjacent screens and the view angle of at least two cameras in each screen in the folding state, so that scenes shot by the target cameras in the two adjacent screens are overlapped, continuity of images or video pictures shot by the device is guaranteed, therefore, the images or videos shot by the folding screen characteristics and the plurality of cameras are spliced, images or videos with large-view pictures can be shot at one time quickly, the problem that the shooting angle of a single camera is limited, and the problem that the pictures are easily distorted in the panoramic mode shooting process is solved, the picture quality of the large-view images or videos can be improved, and the shooting efficiency can be improved.
In one 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: 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 long-focus camera as a first target camera, and determining the second long-focus camera as a second target camera; when 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, determining the first tele camera as a first target camera and the 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; 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 this embodiment of the present application, the shooting device determines, according to whether there is partial overlapping in the angles of view of the cameras on the two screens, the target camera in each screen, so that the first target camera (i.e., the camera on the first screen) overlaps with the scene part shot by the second target camera (i.e., the camera on the second screen), so as to ensure continuity of the image or video picture shot by the shooting device, so that the manner of splicing the folded screen characteristic and the images or videos shot by the plurality of cameras is utilized, so as to realize one-time quick shooting of the image or video with a large-view picture, solve the problem that the single camera has limited shooting angle and easily causes picture distortion in the panoramic mode shooting process, and not only can improve the picture quality of the large-view image or video, but also can improve the shooting efficiency.
In one possible implementation manner, the photographing device 70 further includes: and a receiving module. The receiving module is configured to receive a first input from a user to the photographing device 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 this embodiment of the application, the user can trigger shooting device through first target camera and second target camera through the input and shoot simultaneously to promoted shooting mode's flexibility, and, promoted user's shooting experience.
In one possible implementation manner, the control module 73 is specifically configured to, when receiving a second input from the user to the photographing device, control the first target camera to perform photographing in response to the second input; and when receiving a third input of the user to the shooting device, controlling the second target camera to shoot in response to the third input.
In this embodiment of the application, the user can input to each screen respectively for shooting device shoots through the target camera in each screen respectively, thereby has promoted the flexibility of shooting mode, and, has promoted user's shooting experience.
In one possible implementation manner, the photographing device 70 further includes: and an identification module. The identification module is configured to identify an object of an image acquired by the first target camera and the second target camera based on a preset feature 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 control the first target camera and the second target camera to shoot the target object to obtain a first file and a second file when the images acquired by the first target camera and the second target camera each include the target object, 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, performing 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, video synthesis is carried out on the first video and the second video, and a target video is obtained.
In the embodiment of the application, the shooting device can automatically detect the preset feature in each screen, so that under the condition that the preset feature is detected on each screen, the first target camera and the second target camera collect images or videos, and the collected images or videos are synthesized to obtain target images or target videos, so that the shooting flexibility of the shooting device is improved.
In one possible implementation manner, the photographing device 70 further includes: and a display module. The display module is 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 shoot, where the target screen includes at least one of the following: 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 photographing device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in an electronic apparatus. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The photographing device in the embodiment of the application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which 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 embodiment of the method, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
Optionally, as shown in fig. 6, the embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and capable of running on the processor 801, where the program or the instruction implements each process of the above-mentioned shooting method embodiment when executed by the processor 801, and the process can achieve the same technical effect, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by 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 shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The electronic device 1000 includes a first screen and a second screen, where at least two cameras with different angles of view are disposed on the first screen and the second screen. A processor 1010 for 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 a first screen, and the second target camera is a camera on a second screen; controlling the first target camera and the second target camera to shoot, and obtaining a target file, wherein the target file comprises at least one of the following: images, video.
The embodiment of the application provides electronic equipment, because a plurality of cameras are arranged in each screen, 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 are overlapped, the continuity of the images or video pictures shot by the first target camera and the second target camera is ensured, and in this way, the folding screen characteristics and the mode of splicing the images or videos shot by the plurality of cameras are utilized, so that the image or video with a large-view picture can be shot at one time and rapidly, the problem that the shooting angle of a single camera is limited and the picture distortion is easily caused in the panoramic mode shooting process is solved, the picture quality of the 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 present application, the electronic device 1000 further includes a third screen, where at least two cameras with different angles of view 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.
According to the method and the device for capturing images and videos, the electronic device can determine the target camera in each screen according to the relation between the folding angle between two adjacent screens and the view angle of at least two cameras in each screen in the folding state, so that scenes captured by the target cameras in the two adjacent screens are overlapped to ensure continuity of captured images or video pictures, therefore, the images or videos with large-view pictures can be captured quickly at one time by utilizing the folding screen characteristics and the mode of splicing the images or videos captured by the cameras, the problem that the capturing angle of a single camera is limited and the picture distortion is easily caused in the panoramic mode capturing process is solved, the picture quality of the large-view images or videos can be improved, and the capturing efficiency of the electronic device can be improved.
Optionally, in this embodiment of the present application, a first tele camera and a first wide camera are disposed on the first screen, and a second tele camera and a second wide camera are disposed on the second screen. The processor 1010 is specifically configured to: 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 long-focus camera as a first target camera, and determining the second long-focus camera as a second target camera; when 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, determining the first tele camera as a first target camera and the 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; 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.
According to the method and the device, whether the angles of view of the cameras on the two screens are partially overlapped or not is determined, and the target camera in each screen is determined, so that the first target camera (namely, the camera on the first screen) is partially overlapped with the scene shot by the second target camera (namely, the camera on the second screen), continuity of shot images or video pictures is guaranteed, therefore, the mode of splicing the folded screen characteristics and the images or videos shot by the plurality of cameras is utilized, the image or video with a large-view picture can be shot at one time, the problem that the shooting angle of a single camera is limited and picture distortion is easily caused in the panoramic mode shooting process is solved, the picture quality of the large-view image or video can be improved, and the shooting efficiency of the electronic device can be improved.
Optionally, in the embodiment of the present application, the user input unit 1007 is configured to receive a first input of the user to the photographing device before the processor 1010 controls the first target camera and the second target camera to perform photographing. The processor 1010 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 user input unit 1007.
In this embodiment of the application, the user can trigger the electronic equipment to shoot simultaneously through first target camera and second target camera through the input to promoted the flexibility of electronic equipment's shooting mode, and promoted user's shooting experience.
Optionally, in the embodiment of the present application, the processor 1010 is specifically configured to, when receiving a second input from a user to the photographing device, control the first target camera to perform photographing in response to the second input; and when receiving a third input of the user to the shooting device, controlling the second target camera to shoot in response to the third input.
In the embodiment of the application, the user can input each screen respectively, so that the electronic equipment shoots respectively through the target cameras in each screen, the flexibility of shooting modes of the electronic equipment is improved, and the shooting experience of the user is improved.
Optionally, in the embodiment of the present 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 the preset features before controlling the first target camera and the second target camera to perform shooting. The processor 1010 is specifically configured to control, when the images acquired by the first target camera and the second target camera include target objects, the first target camera and the second target camera to capture the target objects, so as to obtain a first file and a second file, where the target objects are determined according to preset features; under the condition that the first file comprises a first image and the second file comprises a second image, performing 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, video synthesis is carried out on the first video and the second video, and a target video is obtained.
In the embodiment of the application, the electronic device can acquire the image or the video through the first target camera and the second target camera under the condition that the face features in each screen are detected by detecting the face features in each screen, and the acquired image or video is synthesized to obtain the target image or the target video, so that the shooting flexibility of the electronic device is improved.
Optionally, in the embodiment of the present application, the display unit 1006 is configured to display, after the processor 1010 controls the first target camera and the second target camera to capture a target file, the target file on a target screen, where the target screen includes at least one of the following: 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 in the embodiment of the present application can implement each process implemented by the above method embodiment, and can achieve the same technical effects, so that repetition is avoided, and details are not repeated here.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes image data of a still image or 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 can include two portions, 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, a joystick, and so forth, which are not described in detail herein. Memory 1009 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 1010 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction realizes each process of the above-mentioned shooting method embodiment, and the same technical effect can be achieved, so that repetition is avoided, and no redundant description is provided herein.
Wherein the processor is a 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 (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, implementing each process of the shooting method embodiment, and achieving the same technical effect, so as to avoid repetition, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (10)
1. A photographing method applied to a photographing device with a folding screen, wherein the photographing device comprises a first screen and a second screen, and cameras with at least two different angles of view are arranged on the first screen and the second screen, and the method comprises:
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 components: images, video.
2. The method of claim 1, wherein the photographing device further comprises a third screen, at least two cameras with different angles of view are provided on the third screen, and the method further comprises, before the controlling the first target camera and the second target camera to photograph:
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 includes:
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; the determining the first target camera and the second target camera according to the first folding angle information comprises:
determining the first tele 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 smaller than or equal to a first preset angle;
when 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, determining the first tele camera as the first target camera and the second wide camera as the second target camera, or determining the first wide camera as the first target camera and the second tele camera as the second target camera;
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 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 said controlling the first target camera and the second target camera to take a photograph, the method further comprises:
receiving a first input of a user to the photographing device;
the controlling the first target camera and the second target camera to shoot includes:
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 capture comprises:
controlling the first target camera to shoot in response to a second input of a user to the shooting device;
and under the condition that a third input of a 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 said controlling the first target camera and the second target camera to take a photograph, the method further comprises:
based on preset features, carrying out object recognition on images acquired 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, the first target camera and the second target camera are controlled to shoot the target objects to obtain a first file and a second file, and 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, performing 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, video synthesis is carried out on the first video and the second video, and a target video is obtained.
7. The method of claim 1, wherein after the controlling the first target camera and the second target camera to capture the target file, the method further comprises:
displaying the target file on a target screen, wherein the target screen comprises at least one of the following: a first screen and a second screen.
8. A camera with folding screen, its characterized in that, camera includes first screen and second screen, first screen with all be equipped with the camera of two at least different angle of view on the second screen, camera includes: 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 used for controlling the first target camera and the second target camera determined by the determination module to shoot, so as to obtain a target file, wherein the target file comprises at least one of the following: images, video.
9. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the shooting method of any one of claims 1 to 7.
10. A readable storage medium, wherein a program or instructions is stored on the readable storage medium, which when executed by a processor, implements the steps of the shooting method according to any one of claims 1 to 7.
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 CN113840070A (en) | 2021-12-24 |
CN113840070B true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115022495B (en) * | 2021-12-30 | 2023-04-07 | 荣耀终端有限公司 | Photographing method, readable medium, and electronic device |
CN114257671B (en) * | 2022-02-28 | 2022-07-19 | 荣耀终端有限公司 | Image display method and electronic equipment |
CN114827471B (en) * | 2022-04-28 | 2024-09-06 | 维沃移动通信有限公司 | Shooting method, display method, shooting device and display device |
CN115278030B (en) * | 2022-07-29 | 2024-09-24 | 维沃移动通信有限公司 | Shooting method and device and electronic equipment |
CN118732976A (en) * | 2023-03-31 | 2024-10-01 | 华为技术有限公司 | Display method and foldable electronic device |
Citations (1)
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 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107257439B (en) * | 2017-07-26 | 2019-05-17 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
CN110290299B (en) * | 2019-06-28 | 2021-02-09 | Oppo广东移动通信有限公司 | Imaging method, imaging device, storage medium and electronic equipment |
CN110933297B (en) * | 2019-11-12 | 2021-11-23 | 武汉联一合立技术有限公司 | Photographing control method and device of intelligent photographing system, storage medium and system |
CN111770273B (en) * | 2020-06-29 | 2021-12-07 | 维沃移动通信有限公司 | Image shooting method and device, electronic equipment and readable storage medium |
CN112714255B (en) * | 2020-12-30 | 2023-02-21 | 维沃移动通信(杭州)有限公司 | Shooting method and device, electronic equipment and readable storage medium |
CN113286064B (en) * | 2021-04-30 | 2023-06-16 | 深圳市沃特沃德信息有限公司 | Method and device for collecting looking-around image, mobile terminal and storage medium |
-
2021
- 2021-09-18 CN CN202111101831.4A patent/CN113840070B/en active Active
Patent Citations (1)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN113840070A (en) | 2021-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113840070B (en) | Shooting method, shooting device, electronic equipment and medium | |
CN112954210B (en) | Photographing method and device, electronic equipment and medium | |
EP2779628B1 (en) | Image processing method and device | |
EP3001247B1 (en) | Method and terminal for acquiring panoramic image | |
KR102018887B1 (en) | Image preview using detection of body parts | |
JP7543562B2 (en) | Image processing method, device, electronic device, and readable storage medium | |
CN113596316B (en) | Photographing method and electronic equipment | |
WO2023134583A1 (en) | Video recording method and apparatus, and electronic device | |
CN113329172B (en) | Shooting method and device and electronic equipment | |
WO2022161340A1 (en) | Image display method and apparatus, and electronic device | |
CN112887617B (en) | Shooting method and device and electronic equipment | |
CN112839166B (en) | Shooting method and device and electronic equipment | |
WO2021185374A1 (en) | Image capturing method and electronic device | |
WO2023030223A1 (en) | Photographing method and apparatus, and electronic device | |
CN115484375A (en) | Shooting method and electronic equipment | |
CN114125290A (en) | Shooting method and device | |
WO2022156672A1 (en) | Photographing method and apparatus, electronic device and readable storage medium | |
WO2024061134A1 (en) | Photographing method and apparatus, electronic device, and medium | |
CN112637495B (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN114500852B (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN114245017B (en) | Shooting method and device and electronic equipment | |
CN112653841B (en) | Shooting method and device and electronic equipment | |
CN113794833B (en) | Shooting method and device and electronic equipment | |
CN113873160B (en) | Image processing method, device, electronic equipment and computer storage medium | |
CN112887624B (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 |