CN112887616A - Shooting method and electronic equipment - Google Patents
Shooting method and electronic equipment Download PDFInfo
- Publication number
- CN112887616A CN112887616A CN202110114232.XA CN202110114232A CN112887616A CN 112887616 A CN112887616 A CN 112887616A CN 202110114232 A CN202110114232 A CN 202110114232A CN 112887616 A CN112887616 A CN 112887616A
- Authority
- CN
- China
- Prior art keywords
- target
- camera
- display screen
- image
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0264—Details of the structure or mounting of specific components for a camera module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
- H04M1/0268—Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
-
- 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/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/633—Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The application discloses a shooting method and electronic equipment, and belongs to the technical field of electronic equipment. The method comprises the steps of sending prompt information to second electronic equipment connected with first electronic equipment by obtaining a preview image collected by a target camera under the condition that the contour integrity of a target object in the preview image is smaller than a first set value, receiving a motion track returned by the second electronic equipment, determining folding parameters of a target display screen where the target camera is located according to the motion track, and controlling the target display screen to be folded according to the folding parameters so as to adjust the shooting range of the target camera. When the contour integrity of the target object is smaller than the first set value, the second electronic device returns to the motion track of the second electronic device according to the prompt message sent by the first electronic device, the first electronic device determines the folding parameters of the target display screen according to the motion track, and folds the target display screen to adjust the shooting range of the camera, and the adjustment process is simple.
Description
Technical Field
The application belongs to the field of electronic equipment, and particularly relates to a shooting method and electronic equipment.
Background
With the rapid development of the information age, the application of electronic devices in daily life of people becomes more and more popular, for example, shooting with a camera of the electronic device to record the drips in life.
At present, when electronic equipment is used for picture shooting or video shooting, when only part of a target object to be shot is located in a preview image, the shooting range of a camera needs to be changed by manually rotating the electronic equipment so as to track the target object.
Aiming at the current shooting mode, when only part of a target object is positioned in a preview picture during photo shooting or video shooting, the shooting range of a camera needs to be changed by manually adjusting electronic equipment, so that the preview image comprises the complete target object, the process is inconvenient to operate, and the shooting efficiency is influenced.
Content of application
The embodiment of the application aims to provide a shooting method and electronic equipment, which can solve the problem that when only part of target objects exist in a preview picture, a display screen of the electronic equipment is folded quickly to adjust the shooting range of a camera, so that the preview image comprises complete target objects.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a shooting method, which is applied to a first electronic device, where the first electronic device includes at least one camera and a foldable display screen, and the method includes:
acquiring a preview image acquired by a target camera; the target camera is any one of the at least one camera;
sending prompt information to second electronic equipment connected with the first electronic equipment under the condition that the contour integrity of the target object in the preview image is smaller than a first set value;
receiving a motion track returned by the second electronic equipment; the motion trail is acquired by the second electronic equipment when a holder of the second electronic equipment executes corresponding actions according to the prompt information;
determining folding parameters of a target display screen where the target camera is located according to the motion track;
and controlling the target display screen to be folded according to the folding parameters so as to adjust the shooting range of the target camera.
In a second aspect, an embodiment of the present application provides a shooting apparatus applied to a first electronic device, where the first electronic device includes at least one camera and a foldable display screen, and the apparatus includes:
the preview image acquisition module is used for acquiring a preview image acquired by the target camera; the target camera is any one of the at least one camera;
the prompt information sending module is used for sending prompt information to second electronic equipment connected with the first electronic equipment under the condition that the contour integrity of the target object in the preview image is smaller than a first set value;
the motion track receiving module is used for receiving a motion track returned by the second electronic equipment; the motion trail is acquired by the second electronic equipment when a holder of the second electronic equipment executes corresponding actions according to the prompt information;
the folding parameter determining module is used for determining the folding parameters of the target display screen where the target camera is located according to the motion track;
and the shooting range adjusting module is used for controlling the target display screen to be folded according to the folding parameters so as to adjust the shooting range of the target camera.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the shooting method according to the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the shooting method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the shooting method according to the first aspect.
In the embodiment of the application, by obtaining a preview image acquired by a target camera, sending prompt information to second electronic equipment connected with first electronic equipment and receiving a motion trail returned by the second electronic equipment when the integrity of the outline of a target object in the preview image is smaller than a first set value, wherein the motion trail is acquired by the second electronic equipment when a holder of the second electronic equipment executes corresponding actions according to the prompt information, determining folding parameters of a target display screen where the target camera is located according to the motion trail, and controlling the target display screen to fold according to the folding parameters so as to adjust the shooting range of the target camera. When the outline of a target object in a preview image acquired by a target camera is incomplete, namely only part of the target object is positioned in the preview image, prompt information is sent to second electronic equipment through first electronic equipment, a holder of the second electronic equipment executes corresponding action according to the prompt information, the second electronic equipment acquires a corresponding motion track and sends the motion track to the first electronic equipment, the first electronic equipment determines folding parameters of a target display screen where the target camera is positioned according to the motion track, so that the target display screen is folded according to the folding parameters to adjust the shooting range of the target camera, the adjusted preview image contains the complete outline of the target object, a user does not need to manually fold the target display screen of the first electronic equipment to adjust the shooting range of the camera in the process, and the adjustment process is simple, and the shooting efficiency is improved.
Drawings
Fig. 1 is a flowchart illustrating a shooting method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a target object portion in a preview image before folding a target display screen according to an embodiment of the application;
FIG. 3 is a schematic diagram illustrating a display interface of a prompt message in a second electronic device according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating that the target object is entirely located in the preview image after the target display screen is folded according to the embodiment of the present application;
fig. 5 is a flowchart illustrating another shooting method provided in an embodiment of the present application;
fig. 6 is a schematic diagram illustrating shooting by a first electronic device before camera switching according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating shooting by a first electronic device after camera switching according to an embodiment of the present application;
fig. 8 is a block diagram illustrating a structure of a camera according to an embodiment of the present disclosure;
fig. 9 is a block diagram illustrating a structure of another photographing apparatus provided in an embodiment of the present application;
fig. 10 is a block diagram showing a structure of an electronic device according to an embodiment of the present application;
fig. 11 shows a hardware structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
A shooting method provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart of a shooting method provided in an embodiment of the present invention is shown, and is applied to a first electronic device, where the first electronic device includes at least one camera and a foldable display screen, and the method specifically includes the following steps:
In this embodiment of the application, the first electronic device includes at least one camera and a foldable display screen, where the foldable display screen includes at least two display screens, and all the cameras in the first electronic device may be located on any one of the display screens, or at least one camera may be disposed on each display screen.
The method comprises the steps that each camera in first electronic equipment collects images to be displayed, after each camera finishes the collection of the images to be displayed, a target camera is determined from each camera according to the images to be displayed collected by each camera, and the images to be displayed collected by the target cameras are determined to be preview images. The target camera is any one of at least one camera included in the first electronic device, and the preview image acquired by the target camera is acquired, so that the subsequent foldable display screen can be folded based on the preview image.
For example, when the first electronic device includes three cameras a1, a2, and A3, images to be displayed acquired by the three cameras are respectively B1, B2, and B3, and it is determined that the target camera is a2 from among the cameras a1, a2, and A3 according to the image to be displayed B1, the image to be displayed B2, and the image to be displayed B3, the image to be displayed B2 acquired by the target camera a2 is determined to be a preview image.
And 102, sending prompt information to second electronic equipment connected with the first electronic equipment under the condition that the contour integrity of the target object in the preview image is smaller than a first set value.
In this embodiment of the application, a first electronic device and a second electronic device are connected through bluetooth or WiFi (Wireless Fidelity), after a preview image acquired by a target camera is acquired, an outline of a target object is acquired from the preview image, if the target object is a person, the outline of the person in the preview image is acquired, integrity of the acquired outline of the target object is determined, and when the integrity of the outline of the target object is smaller than a first set value and only a partial outline of the target object t is present in the preview image as shown in fig. 2, the first electronic device sends a prompt message to the second electronic device connected to the first electronic device to prompt that the integrity of the outline of the target object t in the preview image acquired by the target camera in the first electronic device is smaller than the first set value.
For example, when the first setting value is 80% and the integrity of the contour of the target object t in the acquired preview image is 60%, the first electronic device sends a prompt message to the second electronic device connected thereto.
The prompt message can be displayed on the display interface of the second electronic device in a text form, can be played through a loudspeaker in the second electronic device in a voice form, can be displayed on the display interface of the second electronic device in a text form, and can be played through the loudspeaker in the second electronic device in a voice form. The first set value may be 100%, 90% or 80%, and the first set value may be set according to actual requirements, which is not limited in the embodiment of the present invention.
In this embodiment, when the target object t is a human figure, the contour integrity of the target object t is determined by identifying the contour of the human figure in the preview image, and when the identified contour of the human figure includes the contour of the head and the contour of the limbs of the human figure, it is determined that all the contours of the human figure are included in the preview image. Specifically, different weight values can be respectively given to the head contour and the four limbs contour according to the importance degree of the head and the four limbs of the person in shooting, when the figure contour integrity is calculated, the contact ratio of each part of contour of the person appearing in the preview image and the corresponding standard contour is calculated, then the product of the contact ratio and the weight value corresponding to the part of contour is calculated, and finally, the products are summed, so that the contour integrity of the person in the preview image is obtained.
Because in the shooting process, the human face basically needs to be ensured to appear in the preview image, a higher weight value can be given to the head outline, lower weight values can be given to the limbs, the distribution proportion of the weight values can be set according to actual requirements, and the embodiment of the application does not limit the distribution proportion.
For example, when the head contour, the right-hand contour, and the right-leg contour of the person are included in the preview image, the weight values corresponding to the head contour, the right-hand contour, and the right-leg contour are M1, M2, and M3, and M1> M2> M3, the degree of overlap between the head contour and the corresponding standard contour is N1, the degree of overlap between the right-hand contour and the corresponding standard contour is N2, and the degree of overlap between the right-leg contour and the corresponding standard contour is N3, at this time, the contour integrity of the person in the preview image is: n1 × M1+ N2 × M2+ N3 × M3.
In this embodiment of the application, after receiving the prompt message sent by the first electronic device, the second electronic device pops up the first prompt content on a display interface of the second electronic device, and the second electronic device may be a watch or other wearable device. As shown in fig. 3, the first prompt content includes a word indicating whether the screen of the target display screen needs to be adjusted, the first prompt content further includes an option for the holder of the second electronic device to select for the first time, when the second electronic device receives a trigger operation of the holder of the second electronic device on the yes option in the first prompt content, the display interface of the second electronic device pops up the second prompt content, the second prompt content includes a word indicating that the movement direction of the second electronic device corresponding to the target display screen is adjusted, and an option for reminding the holder of the second electronic device to control the movement direction of the second electronic device, the holder of the second electronic device can adjust the target display screen T by moving the second electronic device up and down according to a prompt of the "up and down" option, or according to a prompt of the "front and back" option, so as to adjust the target display screen T by moving the second electronic device back and forth.
And sending prompt information to second electronic equipment connected with the first electronic equipment under the condition that the contour integrity of the target object t in the preview image is smaller than a first set value so as to acquire instruction information that the first electronic equipment needs to be adjusted from the second electronic equipment.
In the embodiment of the present application, the second electronic device may be held by the target object t or may be held by an object other than the target object t, and after the first electronic device sends the prompt information to the second electronic device, the holder of the second electronic device may control the second electronic device to perform a corresponding action according to the prompt information.
For example, after the second electronic device receives the prompt message sent by the first electronic device, and the holder of the second electronic device controls the second electronic device to move up or down from the initial position according to the prompt message, the application in the second electronic device for recording the movement track monitors the movement track of the second electronic device moving up or down from the initial position and collects the movement track of the second electronic device, and after the second electronic device stops moving, the second electronic device sends the movement track collected by the application for recording the movement track to the first electronic device, so that the first electronic device can adjust the display screen in the first electronic device according to the movement track.
The motion trail of the second electronic device is controlled by the holder of the second electronic device, before the holder of the second electronic device controls the second electronic device to make corresponding motion, the second electronic device needs to start an application for recording the motion trail in the second electronic device, and the application can record the motion trail of the second electronic device in the process that the holder of the second electronic device controls the second electronic device to move.
And 104, determining the folding parameters of the target display screen where the target camera is located according to the motion track.
In this embodiment of the application, after the first electronic device receives the motion trajectory returned by the second electronic device, the first electronic device may determine, according to the motion trajectory, the folding parameter of the target display screen T where the target camera is located.
For example, the folding direction, the folding angle, and the like of the target display screen T may be determined, so that the target display screen T is subsequently folded according to the folding parameters, so that the shooting range of the target camera on the target display screen is adjusted.
For example, as shown in fig. 4, when the second electronic device moves upward from the initial position by a distance L of 2cm in the motion trajectory of the second electronic device, it may be determined that the target display screen T on which the target camera is located needs to be folded by a folding angle α of 20 ° away from the display surface of the display screen connected to the target display screen T.
And 105, controlling the target display screen to be folded according to the folding parameters so as to adjust the shooting range of the target camera.
In the embodiment of the application, after the folding parameters of the target display screen T where the target camera is located are determined, the target display screen T can be folded according to the folding parameters.
Specifically, a rotary motor can be arranged between the target display screen T and a screen connected with the target display screen T, after the acquired folding parameters of the target display screen T are obtained, the folding parameters of the target display screen T are sent to a rotary motor control module, and the rotary motor control module controls the rotary motor to rotate according to the folding parameters, so that the target display screen T is driven to be folded.
When folding target display screen T, can fold target display screen T according to predetermineeing the frequency, predetermine the frequency and can be set for by the user in advance, for example, can set up to fold 10 every second, this application does not limit to this.
In the embodiment of the present application, after the target display screen T is folded according to the folding parameters, the preview image acquired by the target camera includes a complete outline of the target object T, as shown in fig. 4. The shooting range of the target camera positioned on the target display screen T can be adjusted according to the target display screen T after the folding parameters are folded, so that the preview image acquired by the target camera can include a more complete outline of the target object T.
In the embodiment of the application, when the contour of a target object in a preview image acquired by a target camera is incomplete, that is, only part of the target object is located in the preview image, prompt information is sent to a second electronic device through a first electronic device, a holder of the second electronic device executes corresponding actions according to the prompt information, the second electronic device acquires a corresponding motion track and sends the motion track to the first electronic device, the first electronic device determines a folding parameter of a target display screen where the target camera is located according to the motion track, so that the target display screen is folded according to the folding parameter to adjust the shooting range of the target camera, the adjusted preview image contains the complete contour of the target object, and a user does not need to manually fold the target display screen of the first electronic device to adjust the shooting range of the camera in the process, the adjustment process is simple, and the shooting efficiency is improved.
Referring to fig. 5, a flowchart of another shooting method provided in the embodiment of the present invention is shown, which specifically includes the following steps:
and step 501, acquiring images to be displayed, which are acquired by the cameras and arranged on the display screens.
In an embodiment of the present application, the foldable display screen of the first electronic device includes at least two display screens, each display screen is provided with a camera, and each display screen is provided with at least one camera.
Firstly, the preview interface of the camera arranged on each display screen is started, then the image to be displayed collected by the camera arranged on each display screen is obtained, the image to be displayed is collected by each camera arranged on the electronic equipment, so that a plurality of images to be displayed can be obtained, and the first electronic equipment can screen the image which meets the condition from the plurality of images to be displayed.
In the embodiment of the application, when the target object t in the image to be displayed acquired by each camera is incomplete, the parameter information of the target object t in each image to be displayed is acquired, and the parameter information comprises at least one of position information and area ratio.
Specifically, step 502 includes: substep 5021 and substep 5022.
Substep 5021, determining distance information between the target object and each camera according to the parameter information of the target object in each image to be displayed.
In the embodiment of the application, after the parameter information of the target object t in the plurality of images to be displayed is acquired, the distance information between the target object t and each camera is determined according to the parameter information.
When the parameter information is position information, acquiring position information of a target object t in each image to be displayed, and calculating an image distance between the position of the target object t and the central position of the image to be displayed in each image to be displayed, wherein the size of the image distance reflects the distance information of the target object t relative to each camera, the distance of the target object t relative to each camera is farther when the image distance is larger, and the distance of the target object t relative to each camera is closer when the image distance is smaller, and the position information of the target object t is the coordinate position of the target object t in the image to be displayed.
When the parameter information is area ratio, acquiring the area ratio of the target object t in each image to be displayed in the image to be displayed, specifically, calculating the ratio of the area of the target object t in each image to be displayed to the area of the image to be displayed, wherein the ratio reflects the distance information of the target object t relative to each camera, the larger the ratio is, the closer the distance of the target object t relative to the camera is, and the smaller the ratio is, the farther the distance of the target object t relative to the camera is.
Of course, the parameter information may also include both the location information and the area fraction.
The distance information of the target object t relative to each camera can be determined through the parameter information of the target object t in each image to be displayed, so that the camera closest to the target object t can be determined according to the distance information.
Substep 5022, determining a camera closest to the target object in the cameras as the target camera according to the distance information, and determining an image to be displayed acquired by the target camera as the preview image.
In the embodiment of the present application, after the distance information of the target object t with respect to each camera is determined, the camera closest to the target object t is determined from all the distance information, and the camera is determined as the target camera.
When the parameter information is position information, determining the minimum image distance from the acquired image distances, determining the camera corresponding to the minimum image distance as a target camera, and simultaneously determining the image to be displayed with the minimum image distance as a preview image.
For example, when the first electronic device includes three cameras a1, a2, and A3, the images to be displayed captured by the three cameras are B1, B2, and B3, respectively, the coordinate of the center position O of each preview image is set to a (0, 0) point, the image distance between the target object t and the point O in the image to be displayed B1 is 1cm, the image distance between the target object t and the point O in the image to be displayed B2 is 1.3cm, and the image distance between the target object t and the point O in the image to be displayed B3 is 1.6cm, it is inferred that the camera a1 capturing the image to be displayed B1 is closest to the target object t, the camera a1 is determined as target shooting, and the image to be displayed B1 is determined as the preview image.
When the parameter information is the area ratio, determining the maximum area ratio from the area ratios of the obtained target objects t to the image to be displayed, determining the camera corresponding to the maximum area ratio as a target camera, and determining the image to be displayed with the maximum area ratio as a preview image.
For example, when the first electronic device includes three cameras a1, a2 and A3, images to be displayed acquired by the three cameras are B1, B2 and B3, the area ratio of the target object t in the image to be displayed B1 to the image to be displayed B1 is 1/6, the area ratio of the target object t in the image to be displayed B2 to the image to be displayed B2 is 1/8, and the area ratio of the target object t in the image to be displayed B3 to the image to be displayed B3 is 1/4, it may be inferred that the camera A3 acquiring the image to be displayed B3 is closest to the target object t, the camera A3 is determined as target shooting, and the image to be displayed B3 is determined as a preview image.
The distance information is determined according to different parameters of the target object T, and the target camera and the preview image are determined according to the determined distance information, so that various modes for determining the target camera and the preview image are provided, the target camera and the preview image are more accurately determined, and the determination of the target camera and the preview image is beneficial to determining the target display screen T which needs to be adjusted according to the target camera subsequently.
In this application embodiment, collapsible display screen includes two at least display screens, all is provided with the camera on every display screen, and first electronic equipment is receiving under the condition of shooing the instruction, and the camera that sets up on each display screen of first electronic equipment acquires the image of waiting to display of every moment collection in real time.
The shooting instruction is a recording mode or a panoramic mode, namely, video recording or panoramic image shooting is performed, the user can manually select the video recording mode or the panoramic shooting mode in the shooting interface of the first electronic device, and the user can also select the video recording mode or the panoramic shooting mode in the shooting interface of the first electronic device through voice control.
The to-be-displayed images collected by the cameras arranged on the display screens at each moment are acquired, so that the cameras with the best shooting ranges can be screened out from the to-be-displayed images collected by the different cameras at each moment by the first electronic equipment, and the shooting files meeting the conditions better can be obtained.
In the embodiment of the application, when a moving target object t is shot, the target object t can move out of the optimal view angle range of the camera which is shooting at a certain moment due to the movement of the target object t, so that the shooting of a video is affected, because the first electronic device comprises at least two display screens and each display screen is provided with a camera, the first electronic device comprises at least two cameras, after images to be displayed which are acquired by the cameras arranged on the display screens at each moment are acquired, when the images to be displayed which are acquired by each camera comprise complete target objects t, a first camera for video shooting or panoramic shooting needs to be determined from the cameras, and when the target objects t move out of the optimal shooting range of the first camera which is shooting in the moving process, and when the user enters the optimal shooting range of the second camera, switching the cameras, controlling the second camera to shoot, and displaying a preview image shot by the second camera on a preview interface of the first electronic device.
The specific process of switching the cameras in the shooting process is as follows:
when the foldable display screen of the first electronic device includes the first display screen P1 and the second display screen P2, as shown in fig. 6 and 7, the first camera a is disposed on the first display screen P1, the second camera B is disposed on the second display screen P2, the image to be displayed acquired by the first camera a is a first image to be displayed, and the image to be displayed acquired by the second camera B is a second image to be displayed.
At a time t1, an image distance s1 between the position of the target object t in the first image to be displayed and the center position of the first image to be displayed and an image distance s2 between the position of the target object t in the second image to be displayed and the center position of the second image to be displayed are obtained, when s1 is smaller than or equal to s2, the first image to be displayed acquired by the first camera a is displayed in a preview interface of the first electronic device, a subsequently generated shooting file is stored at a time t1 and is also the first image to be displayed acquired by the first camera a, at this time, the first camera a1 is determined as the target camera, and the first image to be displayed is determined as a preview image.
When the time t2 is reached, an image distance s3 between the position of the target object t in the third image to be displayed acquired by the first camera a and the center position of the third image to be displayed and an image distance s4 between the position of the target object t in the fourth image to be displayed acquired by the second camera B and the center position of the fourth image to be displayed are acquired, when s3 is larger than s4, the fourth image to be displayed is displayed in a preview interface of the first electronic device, a subsequently generated shooting file stores the fourth image to be displayed at the time t2, the second camera B is determined to be the target camera, the fourth image to be displayed is determined to be a preview image, and therefore switching of the cameras is completed in the shooting process.
Or at the time t1, acquiring an area ratio k1 of the target object t in the first image to be displayed acquired by the first camera a and an area ratio k2 of the target object t in the second image to be displayed acquired by the second camera B, when k1 is greater than or equal to k2, displaying the first image to be displayed acquired by the first camera a in a preview interface of the first electronic device, and storing a subsequently generated shooting file in the time t1, which is also the first image to be displayed acquired by the first camera a, at this time, determining the first camera a1 as the target camera and determining the first image to be displayed as the preview image.
When the time t2 is reached, the area ratio k3 of the target object t in the third image to be displayed acquired by the first camera a and the area ratio k4 of the target object t in the fourth image to be displayed acquired by the second camera B are acquired, when k3 is smaller than k4, the fourth image to be displayed is displayed in the preview interface of the first electronic device, a subsequently generated shooting file is stored at the time t2 and is also the fourth image to be displayed acquired by the second camera B, at this time, the second camera B is determined as the target camera, the fourth image to be displayed is determined as the preview image, and therefore switching of the cameras is completed in the shooting process.
In this embodiment of the application, when the target object t moves in front of the first electronic device, and when a camera in the first electronic device collects an image to be displayed, a prompt box is displayed on the first electronic device, as shown in fig. 6 and 7, a moving condition of the target object t in front of the first electronic device is displayed in the prompt box, a dot on an arc line in the prompt box indicates a position of the target object t in front of the first electronic device, and when the origin is located on the right side of a center position of the arc line, as shown in fig. 6, it indicates that the target object t is located within an optimal shooting range of the first camera a in the first electronic device, and at this time, the first camera a is shooting. When the dot is moved to the left side of the arc center position, as shown in fig. 7, it indicates that the target object t is located within the optimal shooting range of the second camera B in the first electronic device, and at this time, the second camera B is shooting.
In the embodiment of the application, the to-be-displayed image is acquired by the plurality of cameras simultaneously, the cameras for video shooting or panoramic image shooting are switched according to the position information of the target object t in the to-be-displayed image and the area ratio of the target object t, so that the target object t in the finally acquired video or panoramic image is ensured to be at the best shooting visual angle, the efficiency of video and panoramic image shooting is improved, and in addition, a display interface of the first electronic device can prompt a user whether the target object t moves out of the shooting range of the cameras or not through the display prompt box.
And 505, sending prompt information to a second electronic device connected with the first electronic device when the contour integrity of the target object in the preview image is smaller than a first set value.
This step is similar to the step 102 in the above embodiment, and is not described herein again.
This step is similar to the step 103 in the above embodiment, and is not described herein again.
And 507, determining the folding direction of the target display screen where the target camera is located according to the movement direction.
In the embodiment of the application, the motion track of the second electronic device includes a motion direction and a motion distance, the folding parameters of the target display screen T include a folding direction and a folding angle, and when the motion direction in the motion track of the second electronic device moves from an initial position to a first direction, the target display screen T is folded towards the display surface of the display screen connected with the target display screen T; when the movement direction in the movement locus of the second electronic device is from the initial position to the second direction, the target display screen T is folded away from the display surface of the display screen connected with the target display screen T. Therefore, the folding direction of the target display screen T can be determined through the movement direction in the movement track of the second electronic device, so that the target display screen T can be folded subsequently.
The first direction may be upward movement along the initial position, and the second direction is downward movement along the initial position, or the first direction is forward movement along the initial position, and the second direction is backward movement along the initial position, or the first direction is rightward movement along the initial position, and the second direction is leftward movement along the initial position, and the specific direction may be set according to an actual situation, which is not limited in this embodiment of the application.
And step 508, determining the folding angle of the target display screen where the target camera is located according to the movement distance.
In this embodiment of the application, the movement locus of the second electronic device includes a movement distance, and the folding angle of the target display screen T may be determined according to the movement distance of the second electronic device in the first direction or the second direction.
For example, when the movement distance in the first direction is 3cm, the folding angle of the target display screen T for folding toward the display surface of the display screen connected to the target display screen T is 30 °, the target display screen T can be folded according to the preset frequency in the folding process, if the target display screen T can be folded according to 10 ° per second, folding for 3 seconds is completed by 30 degrees, a correspondence table between the movement distance and the folding angle is stored in the first electronic device, after the movement distance is acquired, the folding angle corresponding to the movement distance can be searched in the correspondence table, and then the folding angle of the target display screen T is determined according to the folding angle.
In the embodiment of the application, the folding angle of the target display screen T can be determined through the movement distance in the movement track of the second electronic device, and the determination of the folding angle of the target display screen T can be used for folding the target display screen T so as to adjust the shooting range of the target camera positioned on the target display screen T.
This step is similar to the step 105 of the above embodiment, and is not described herein again.
In the practical use process, after the target display screen T is subjected to one folding operation, the integrity of the target object T included in the preview image acquired by the target display screen T may still not meet the requirement, and therefore the target display screen T may be folded for multiple times.
Therefore, after step 509, the method further comprises: determining an initial angle between the target display screen and a display screen connected with the target display screen; determining the difference value between the maximum folding angle of the target display screen and the initial angle as the preset angle; and under the condition that the folding angle of the target display screen reaches a preset angle and the contour integrity of the target object in the preview image collected by the target camera is smaller than a second set value, finishing shooting and generating a shooting file.
In the embodiment of the application, an initial angle between a display surface of a target display screen T and a display surface of a display screen connected to the target display screen T is determined, the display surface of the display screen connected to the target display screen T is used as a reference surface, an included angle between the display surface of the target display screen T and the reference surface is detected through a gyroscope in first electronic equipment, and the included angle is determined as the initial angle.
For example, when the display surface of the target display screen T and the display surface of the display screen connected thereto are located on the same plane, the initial angle between the target display screen T and the display screen connected thereto is 180 °.
In the embodiment of the application, when the display surface of the target display screen T is in full contact with the display surface of the display screen adjacent to the target display screen T, the target display screen T is folded, so that one side of the folded target display screen T, which is deviated from the display surface, is in full contact with one side of the display screen adjacent to the target display screen T, which is deviated from the display surface, 360 degrees of the target display screen T is folded in the folding process, and the folding angle is defined as the maximum folding angle.
In the embodiment of the application, a difference value between the maximum folding angle and the initial angle of the target display screen T is calculated, and the difference value is used as a preset angle to judge the folding process of the target display screen T, so as to judge whether the target display screen T can be continuously folded or not, and further determine whether to continuously shoot or not.
For example, when the initial angle of the target display screen T is 180 °, the maximum folding angle of the target display screen T is 360 °, and the preset angle is 360 ° -180 °.
And controlling the target display screen T to be folded according to the folding parameters until the folding angle of the target display screen T in the folding process reaches a preset angle, at the moment, judging whether the integrity of the outline of the target object T in the preview image acquired by the target camera is smaller than a second set value or not, when the integrity of the outline of the target object T is smaller than the second set value, finishing the shooting and generating a shooting file, wherein the shooting file is stored in the first electronic equipment for a user to check.
The second setting value may be the same as or different from the first setting value, and this is not limited in this embodiment of the application.
For example, when the second setting value is 70%, the contour integrity of the target object t in the preview image captured by the target camera is 50%, and since 50% < 70%, this capturing is ended at this time.
In the embodiment of the application, when the folding angle of the target display screen T reaches the preset angle and the integrity of the contour of the target object T in the preview image is smaller than the second set value, that is, the integrity of the contour of the target object T in the preview image is lower at the moment, the shot preview image has no use value, and the shooting is finished, so that the electric quantity of the terminal can be saved, the utilization rate of the shot file can be improved, and the storage space of the terminal can be saved.
It should be noted that when the integrity of the contour of the target object t in the preview image is greater than the second set value, the shooting is continued until the user actively terminates the shooting.
In the embodiment of the application, under the condition that the contour integrity of a target object in a preview image is smaller than a first set value, first electronic equipment sends prompt information to second electronic equipment, the first electronic equipment controls the folding direction of a target display screen according to the movement direction in a movement track returned by the second electronic equipment, controls the folding angle of the target display screen according to the movement distance in the movement track, and does not need a user to manually adjust the target display screen.
In the shooting method provided by the embodiment of the present application, the executing subject may be a shooting device, or a control module in the shooting device for executing the shooting method. In the embodiment of the present application, a shooting method executed by a shooting device is taken as an example, and the shooting method provided in the embodiment of the present application is described.
Referring to fig. 8, a block diagram of a shooting device according to an embodiment of the present disclosure is shown.
This shooting device 800 is applied to a first electronic device, the first electronic device includes at least one camera and a foldable display screen, the device 800 includes:
a preview image obtaining module 801, configured to obtain a preview image acquired by a target camera; the target camera is any one of the at least one camera;
a prompt information sending module 802, configured to send a prompt information to a second electronic device connected to the first electronic device when the integrity of the contour of the target object in the preview image is smaller than a first set value;
a motion track receiving module 803, configured to receive a motion track returned by the second electronic device; the motion trail is acquired by the second electronic equipment when a holder of the second electronic equipment executes corresponding actions according to the prompt information;
a folding parameter determining module 804, configured to determine, according to the motion trajectory, a folding parameter of a target display screen where the target camera is located;
and a shooting range adjusting module 805, configured to control the target display screen to be folded according to the folding parameter, so as to adjust a shooting range of the target camera.
Referring to fig. 9, a block diagram of another photographing apparatus according to an embodiment of the present application is shown.
On the basis of fig. 8, optionally, the foldable display screen includes at least two display screens, and each display screen is provided with the camera; the preview image acquiring module 801 includes:
the to-be-displayed image first obtaining sub-module 8011 is configured to obtain to-be-displayed images collected by the cameras arranged on the display screens;
the preview image first determining sub-module 8012 is configured to determine, according to parameter information of the target object in each image to be displayed, a target camera from each camera, and determine an image to be displayed, which is acquired by the target camera, as the preview image;
wherein the parameter information includes at least one of location information and area fraction.
Optionally, the preview image first determining sub-module 8012 includes:
the distance information determining unit is used for determining the distance information between the target object and each camera according to the parameter information of the target object in each image to be displayed;
and the preview image determining unit is used for determining the camera closest to the target object in the cameras as the target camera according to the distance information, and determining the image to be displayed acquired by the target camera as the preview image.
Optionally, the foldable display screen includes at least two display screens, and each display screen is provided with the camera; the preview image acquiring module 801 includes:
the to-be-displayed image second obtaining sub-module 8013 is configured to obtain, in real time, an to-be-displayed image collected by the camera arranged on each display screen at each moment when the shooting instruction is received; the shooting instruction is a recording mode or a panoramic shooting mode;
the preview image second determining submodule 8014 is configured to determine, for the parameter information of the target object in each image to be displayed corresponding to each time, a target camera from the cameras, and determine an image to be displayed, which is acquired by the target camera, as the preview image; wherein the parameter information includes at least one of location information and area fraction.
Optionally, the motion trajectory includes a motion direction and a motion distance, and the folding parameters include a folding direction and a folding angle; the folding parameter determining module 804 includes:
a folding direction determining submodule 8041, configured to determine, according to the moving direction, a folding direction of the target display screen where the target camera is located;
the folding angle determination submodule 8042 is configured to determine, according to the movement distance, a folding angle of the target display screen where the target camera is located.
Optionally, the apparatus 800 further includes:
and the shooting file generation module is used for finishing shooting and generating a shooting file under the condition that the folding angle of the target display screen reaches a preset angle and the contour integrity of the target object in the preview image collected by the target camera is smaller than a second set value.
Optionally, the apparatus 800 further includes:
the initial angle determining module is used for determining an initial angle between the target display screen and a display screen connected with the target display screen;
and the preset angle determining module is used for determining the difference value between the maximum folding angle of the target display screen and the initial angle as the preset angle.
In the embodiment of the application, when the contour of a target object in a preview image acquired by a target camera is incomplete, that is, only part of the target object is located in the preview image, prompt information is sent to a second electronic device through a first electronic device, a holder of the second electronic device executes corresponding actions according to the prompt information, the second electronic device acquires a corresponding motion track and sends the motion track to the first electronic device, the first electronic device determines a folding parameter of a target display screen where the target camera is located according to the motion track, so that the target display screen is folded according to the folding parameter to adjust the shooting range of the target camera, the adjusted preview image contains the complete contour of the target object, and a user does not need to manually fold the target display screen of the first electronic device to adjust the shooting range of the camera in the process, the adjustment process is simple, and the shooting efficiency is improved.
The shooting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The shooting device provided in the embodiment of the present application can implement each process implemented by the shooting device in the method embodiments of fig. 1 to 7, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 10, an electronic device 1000 is further provided in this embodiment of the present application, and includes a processor 1001, a memory 1002, and a program or an instruction stored in the memory 1002 and executable on the processor 1001, where the program or the instruction is executed by the processor 1001 to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1100 includes, but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, and the like.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The radio frequency unit 1101 is configured to receive a motion trajectory returned by the second electronic device; the motion trail is acquired by the second electronic device when the holder of the second electronic device executes corresponding action according to the prompt message.
A processor 1110 configured to obtain a preview image acquired by a target camera; the target camera is any one of the at least one camera; sending prompt information to second electronic equipment connected with the first electronic equipment under the condition that the contour integrity of the target object in the preview image is smaller than a first set value; determining folding parameters of a target display screen where the target camera is located according to the motion track; and controlling the target display screen to be folded according to the folding parameters so as to adjust the shooting range of the target camera.
In the embodiment of the application, when the contour of a target object in a preview image acquired by a target camera is incomplete, that is, only part of the target object is located in the preview image, prompt information is sent to a second electronic device through a first electronic device, a holder of the second electronic device executes corresponding actions according to the prompt information, the second electronic device acquires a corresponding motion track and sends the motion track to a first electronic device and a second electronic device, the first electronic device determines folding parameters of a target display screen where the target camera is located according to the motion track, so that the target display screen is folded according to the folding parameters to adjust the shooting range of the target camera, the adjusted preview image contains the complete contour of the target object, and a user does not need to manually adjust and fold the target display screen of the first electronic device to adjust the shooting range of the camera in the process, the adjustment process is simple, and the shooting efficiency is improved.
Optionally, the foldable display screen includes at least two display screens, and each display screen is provided with the camera; the processor 1110 is further configured to obtain images to be displayed, which are acquired by the cameras and arranged on the display screens; determining a target camera from the cameras according to the parameter information of the target object in each image to be displayed, and determining the image to be displayed acquired by the target camera as the preview image; wherein the parameter information includes at least one of location information and area fraction.
Optionally, the processor 1110 is further configured to determine distance information between the target object and each of the cameras according to parameter information of the target object in each of the images to be displayed; and according to the distance information, determining a camera closest to the target object in the cameras as the target camera, and determining an image to be displayed acquired by the target camera as the preview image.
Optionally, the foldable display screen includes at least two display screens, and each display screen is provided with the camera; the processor 1110 is further configured to obtain, in real time, an image to be displayed, which is acquired by the camera and is set on each display screen at each moment, under the condition that a shooting instruction is received; the shooting instruction is a recording mode or a panoramic shooting mode; determining a target camera from the cameras according to the parameter information of the target object in each image to be displayed corresponding to each moment, and determining the image to be displayed acquired by the target camera as the preview image; wherein the parameter information includes at least one of location information and area fraction.
Optionally, the processor 1110 is further configured to determine, according to the motion direction, a folding direction of the target display screen where the target camera is located; determining the folding angle of the target display screen where the target camera is located according to the movement distance; the motion trail comprises a motion direction and a motion distance, and the folding parameters comprise a folding direction and a folding angle.
Optionally, the processor 1110 is further configured to end the shooting and generate a shooting file when the folding angle of the target display screen reaches a preset angle and the integrity of the outline of the target object in the preview image acquired by the target camera is smaller than a second set value.
Optionally, the processor 1110 is further configured to determine an initial angle between the target display screen and a display screen connected to the target display screen; and determining the difference value between the maximum folding angle of the target display screen and the initial angle as the preset angle.
In the embodiment of the application, under the condition that the contour integrity of a target object in a preview image is smaller than a first set value, first electronic equipment sends prompt information to second electronic equipment, the first electronic equipment controls the folding direction of a target display screen according to the movement direction in a movement track returned by the second electronic equipment, controls the folding angle of the target display screen according to the movement distance in the movement track, and does not need a user to manually adjust the target display screen.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A shooting method is applied to a first electronic device, wherein the first electronic device comprises at least one camera and a foldable display screen, and the method comprises the following steps:
acquiring a preview image acquired by a target camera; the target camera is any one of the at least one camera;
sending prompt information to second electronic equipment connected with the first electronic equipment under the condition that the contour integrity of the target object in the preview image is smaller than a first set value;
receiving a motion track returned by the second electronic equipment; the motion trail is acquired by the second electronic equipment when a holder of the second electronic equipment executes corresponding actions according to the prompt information;
determining folding parameters of a target display screen where the target camera is located according to the motion track;
and controlling the target display screen to be folded according to the folding parameters so as to adjust the shooting range of the target camera.
2. The method of claim 1, wherein the foldable display screen comprises at least two display screens, each display screen having the camera disposed thereon;
the step of obtaining the preview image collected by the target camera comprises the following steps:
acquiring images to be displayed, which are acquired by the cameras arranged on the display screens;
determining a target camera from the cameras according to the parameter information of the target object in each image to be displayed, and determining the image to be displayed acquired by the target camera as the preview image;
wherein the parameter information includes at least one of location information and area fraction.
3. The method according to claim 2, wherein the step of determining a target camera from the cameras according to the parameter information of the target object in each image to be displayed, and determining an image to be displayed collected by the target camera as the preview image comprises:
determining distance information between the target object and each camera according to the parameter information of the target object in each image to be displayed;
and according to the distance information, determining a camera closest to the target object in the cameras as the target camera, and determining an image to be displayed acquired by the target camera as the preview image.
4. The method of claim 1, wherein the motion profile comprises a motion direction and a motion distance, and the folding parameters comprise a folding direction and a folding angle; the step of determining the folding parameters of the target display screen where the target camera is located according to the motion track comprises the following steps:
determining the folding direction of the target display screen where the target camera is located according to the movement direction;
and determining the folding angle of the target display screen where the target camera is located according to the movement distance.
5. The method according to claim 1, wherein after the step of controlling the target display screen to fold according to the folding parameters to adjust the shooting range of the target camera, the method further comprises:
and under the condition that the folding angle of the target display screen reaches a preset angle and the contour integrity of the target object in the preview image collected by the target camera is smaller than a second set value, finishing shooting and generating a shooting file.
6. A camera device, applied to a first electronic device including at least one camera and a foldable display screen, the device comprising:
the preview image acquisition module is used for acquiring a preview image acquired by the target camera; the target camera is any one of the at least one camera;
the prompt information sending module is used for sending prompt information to second electronic equipment connected with the first electronic equipment under the condition that the contour integrity of the target object in the preview image is smaller than a first set value;
the motion track receiving module is used for receiving a motion track returned by the second electronic equipment; the motion trail is acquired by the second electronic equipment when a holder of the second electronic equipment executes corresponding actions according to the prompt information;
the folding parameter determining module is used for determining the folding parameters of the target display screen where the target camera is located according to the motion track;
and the shooting range adjusting module is used for controlling the target display screen to be folded according to the folding parameters so as to adjust the shooting range of the target camera.
7. The device of claim 6, wherein the foldable display screen comprises at least two display screens, each display screen having the camera disposed thereon;
the preview image acquisition module includes:
the first acquisition submodule of the image to be displayed is used for acquiring the image to be displayed acquired by the camera arranged on each display screen;
the preview image first determining submodule is used for determining a target camera from each camera according to the parameter information of the target object in each image to be displayed and determining the image to be displayed acquired by the target camera as the preview image;
wherein the parameter information includes at least one of location information and area fraction.
8. The apparatus of claim 7, wherein the preview image first determining sub-module comprises:
the distance information determining unit is used for determining the distance information between the target object and each camera according to the parameter information of the target object in each image to be displayed;
and the preview image determining unit is used for determining the camera closest to the target object in the cameras as the target camera according to the distance information, and determining the image to be displayed acquired by the target camera as the preview image.
9. The apparatus of claim 6, wherein the motion trajectory comprises a motion direction and a motion distance, and the angle parameters comprise a folding direction and a folding angle; the folding parameter determination module comprises:
the folding direction determining submodule is used for determining the folding direction of the target display screen where the target camera is located according to the movement direction;
and the folding angle determining submodule is used for determining the folding angle of the target display screen where the target camera is located according to the movement distance.
10. The apparatus of claim 6, further comprising:
and the shooting file generation module is used for finishing shooting and generating a shooting file under the condition that the folding angle of the target display screen reaches a preset angle and the contour integrity of the target object in the preview image collected by the target camera is smaller than a second set value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110114232.XA CN112887616B (en) | 2021-01-27 | 2021-01-27 | Photographing method and photographing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110114232.XA CN112887616B (en) | 2021-01-27 | 2021-01-27 | Photographing method and photographing apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112887616A true CN112887616A (en) | 2021-06-01 |
CN112887616B CN112887616B (en) | 2022-08-26 |
Family
ID=76053414
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110114232.XA Active CN112887616B (en) | 2021-01-27 | 2021-01-27 | Photographing method and photographing apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112887616B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115484411A (en) * | 2022-09-16 | 2022-12-16 | 维沃移动通信有限公司 | Shooting parameter adjusting method and device, electronic equipment and readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104394312A (en) * | 2014-10-23 | 2015-03-04 | 小米科技有限责任公司 | Shooting control method and device |
CN105320275A (en) * | 2014-07-30 | 2016-02-10 | 三星电子株式会社 | Wearable device and method of operating the same |
CN106708074A (en) * | 2016-12-06 | 2017-05-24 | 深圳市元征科技股份有限公司 | Method and device for controlling unmanned aerial vehicle based on VR glasses |
CN107682634A (en) * | 2017-10-18 | 2018-02-09 | 维沃移动通信有限公司 | A kind of facial image acquisition methods and mobile terminal |
CN109413326A (en) * | 2018-09-18 | 2019-03-01 | Oppo(重庆)智能科技有限公司 | Camera control method and Related product |
CN110225229A (en) * | 2019-05-28 | 2019-09-10 | Oppo广东移动通信有限公司 | Photographic method, device, mobile terminal and storage medium |
CN111147743A (en) * | 2019-12-30 | 2020-05-12 | 维沃移动通信有限公司 | Camera control method and electronic equipment |
CN111314616A (en) * | 2020-03-16 | 2020-06-19 | 维沃移动通信有限公司 | Image acquisition method, electronic device, medium and wearable device |
WO2020125797A1 (en) * | 2018-12-21 | 2020-06-25 | 中兴通讯股份有限公司 | Terminal, photographing method, and storage medium |
-
2021
- 2021-01-27 CN CN202110114232.XA patent/CN112887616B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105320275A (en) * | 2014-07-30 | 2016-02-10 | 三星电子株式会社 | Wearable device and method of operating the same |
CN104394312A (en) * | 2014-10-23 | 2015-03-04 | 小米科技有限责任公司 | Shooting control method and device |
CN106708074A (en) * | 2016-12-06 | 2017-05-24 | 深圳市元征科技股份有限公司 | Method and device for controlling unmanned aerial vehicle based on VR glasses |
CN107682634A (en) * | 2017-10-18 | 2018-02-09 | 维沃移动通信有限公司 | A kind of facial image acquisition methods and mobile terminal |
CN109413326A (en) * | 2018-09-18 | 2019-03-01 | Oppo(重庆)智能科技有限公司 | Camera control method and Related product |
WO2020125797A1 (en) * | 2018-12-21 | 2020-06-25 | 中兴通讯股份有限公司 | Terminal, photographing method, and storage medium |
CN110225229A (en) * | 2019-05-28 | 2019-09-10 | Oppo广东移动通信有限公司 | Photographic method, device, mobile terminal and storage medium |
CN111147743A (en) * | 2019-12-30 | 2020-05-12 | 维沃移动通信有限公司 | Camera control method and electronic equipment |
CN111314616A (en) * | 2020-03-16 | 2020-06-19 | 维沃移动通信有限公司 | Image acquisition method, electronic device, medium and wearable device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115484411A (en) * | 2022-09-16 | 2022-12-16 | 维沃移动通信有限公司 | Shooting parameter adjusting method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112887616B (en) | 2022-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108495032B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN112887609B (en) | Shooting method and device, electronic equipment and storage medium | |
CN105554372B (en) | Shooting method and device | |
CN111182213B (en) | Video production method, electronic device, and medium | |
CN112887618B (en) | Video shooting method and device | |
CN108632543B (en) | Image display method, image display device, storage medium and electronic equipment | |
CN112312016A (en) | Shooting processing method and device, electronic equipment and readable storage medium | |
CN111083371A (en) | Shooting method and electronic equipment | |
CN113329172B (en) | Shooting method and device and electronic equipment | |
CN112954212B (en) | Video generation method, device and equipment | |
CN112087579B (en) | Video shooting method and device and electronic equipment | |
CN113709368A (en) | Image display method, device and equipment | |
CN112887616B (en) | Photographing method and photographing apparatus | |
CN112702497A (en) | Shooting method and device | |
CN112437231A (en) | Image shooting method and device, electronic equipment and storage medium | |
CN112839166A (en) | Shooting method and device and electronic equipment | |
CN110677580A (en) | Shooting method, shooting device, storage medium and terminal | |
CN112511743B (en) | Video shooting method and device | |
CN107666572A (en) | Shooting method, shooting device, electronic equipment and storage medium | |
CN112887624B (en) | Shooting method and device and electronic equipment | |
CN112653841B (en) | Shooting method and device and electronic equipment | |
CN112887606B (en) | Shooting method and device and electronic equipment | |
CN111654620B (en) | Shooting method and device | |
CN112399077B (en) | Shooting method and device and electronic equipment | |
CN114745505A (en) | Shooting method, shooting device, electronic equipment and readable storage medium |
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 |