CN111464746B - Photographing method and electronic equipment - Google Patents

Photographing method and electronic equipment Download PDF

Info

Publication number
CN111464746B
CN111464746B CN202010310972.6A CN202010310972A CN111464746B CN 111464746 B CN111464746 B CN 111464746B CN 202010310972 A CN202010310972 A CN 202010310972A CN 111464746 B CN111464746 B CN 111464746B
Authority
CN
China
Prior art keywords
camera
input
cameras
electronic device
preview image
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
Application number
CN202010310972.6A
Other languages
Chinese (zh)
Other versions
CN111464746A (en
Inventor
张一弛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202010310972.6A priority Critical patent/CN111464746B/en
Publication of CN111464746A publication Critical patent/CN111464746A/en
Application granted granted Critical
Publication of CN111464746B publication Critical patent/CN111464746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/663Remote control of cameras or camera parts, e.g. by remote control devices for controlling interchangeable camera parts based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

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

Abstract

The invention provides a photographing method and electronic equipment. The method comprises the following steps: under the condition that the first camera and the second camera are in a preset position relation, displaying a first preview image acquired by the first camera, wherein the first preview image comprises a target element corresponding to the second camera, and the second camera is separated from the electronic equipment; receiving a first input of a user; and responding to the first input, and displaying a second preview image acquired by the second camera. The embodiment of the invention utilizes the characteristic that the separated camera can shoot at multiple angles simultaneously, can realize preview and switching of different angles of a shooting scene, increases the diversity, the practicability and the interestingness of the shooting mode of the separated camera, and improves the shooting experience of a user.

Description

Photographing method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a photographing method and an electronic device.
Background
With the advent of the mobile internet age, the popularity of intelligent electronic devices has become a major trend. The appearance of the electronic terminal changes the life style of people, and the appearance of the electronic equipment and the use of basic functions such as communication, short messages and the like are not satisfied. With the gradual maturity of the photographing function of electronic equipment, the portable photographing becomes a part of our life. Meanwhile, the camera module on the electronic equipment is also gradually updated day by day, and nowadays, a novel detachable camera enters the field of vision of the public.
The current photographing technology cannot preview and switch photographing scenes from different angles, the photographing effect is not perfect, and interestingness is lacked.
Disclosure of Invention
The invention aims to provide a photographing method and electronic equipment, so that the problem that the conventional photographing technology cannot preview and switch photographing scenes from different angles can be solved.
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a photographing method applied to an electronic device, where the electronic device includes a first camera, and includes:
under the condition that the first camera and the second camera are in a preset position relation, displaying a first preview image acquired by the first camera, wherein the first preview image comprises a target element corresponding to the second camera, and the second camera is separated from the electronic equipment;
receiving a first input of a user;
and responding to the first input, and displaying a second preview image acquired by the second camera.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a first camera, and further includes:
the first display module is used for displaying a first preview image acquired by the first camera under the condition that the first camera and the second camera are in a preset position relation, wherein the first preview image comprises a target element corresponding to the second camera, and the second camera is arranged separately from the electronic equipment;
the first receiving module is used for receiving a first input of a user;
and the second display module is used for responding to the first input and displaying a second preview image acquired by the second camera.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the photographing method as described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the photographing method as described above.
In the above scheme of the embodiment of the present invention, the electronic device includes a first camera, and displays a first preview image acquired by the first camera under the condition that the first camera and a second camera are in a preset position relationship, where the first preview image includes a target element corresponding to the second camera, and the second camera is separated from the electronic device; receiving a first input of a user; respond to first input, show the second preview image that the second camera was gathered, so, utilize the characteristics that the disconnect-type camera can be shot simultaneously the multi-angle, can realize preview and the switching to the different angles of the scene of shooing, increased the diversity, the practicality and the interest of disconnect-type camera mode of shooing, promoted user's the experience of shooing.
Drawings
FIG. 1 is a schematic flow chart illustrating a photographing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a photographing preview interface with a separate camera in the embodiment of the present invention;
fig. 3 is one of schematic interface operation diagrams for determining a first target camera in the first preview image according to the embodiment of the present invention;
fig. 4 is a second schematic interface operation diagram for determining the first target camera in the first preview image according to the embodiment of the present invention;
fig. 5 is one of schematic interface operation diagrams for switching a camera in a first preview image according to an embodiment of the present invention;
fig. 6 is one of schematic interface operation diagrams for switching a camera in a first preview image according to an embodiment of the present invention;
FIG. 7 is a schematic interface diagram of an image display interface according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating an operation of an interface displaying a three-dimensional model of a photographic subject according to an embodiment of the present invention;
FIG. 9 is a second schematic view illustrating an interface for displaying a three-dimensional model of a photographic subject according to an embodiment of the present invention;
FIG. 10 is a schematic view of an interface operation of a separate camera in a hidden image according to an embodiment of the present invention;
FIG. 11 is a second schematic interface diagram of an image display interface according to an embodiment of the invention;
FIG. 12 is a schematic view of an interface operation of a separate camera in a display image according to an embodiment of the present invention;
FIG. 13 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 14 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic flow chart of a photographing method according to an embodiment of the present invention. The method is applied to the electronic equipment, and the electronic equipment comprises a first camera. The process of carrying out the process of the invention is described in more detail below with reference to this figure.
101, displaying a first preview image acquired by a first camera under the condition that the first camera and a second camera are in a preset position relation, wherein the first preview image comprises a target element corresponding to the second camera, and the second camera is arranged separately from the electronic equipment;
in this step, the first camera may be a detachable camera, i.e., a separate camera; the camera can also be a non-detachable camera arranged on the electronic equipment.
The second camera is a separated camera, is in a separated state with the electronic equipment, and is established with communication connection.
Optionally, the preset position relationship is that the second camera is located within a shooting visual angle range of the first camera.
Optionally, the target element corresponding to the second camera is an image of the second camera, or an identifier of the second camera.
Here, it can be detected through an object recognition and positioning technology whether an image of a separate camera, specifically, an image of a second camera, exists in a first preview image captured by a first camera.
Here, the separate camera in a separated state from the electronic apparatus transmits its own position information to the electronic apparatus.
Here, in the case where it is recognized by both the object recognition and the positioning techniques that there is an image of the separate camera, i.e., an image of the second camera, in the first preview image, the detected target element corresponding to the second camera is displayed at the target position in the first preview image determined by the positioning techniques, i.e., the image of the second camera is displayed. That is, the first preview image includes an imaged image of the second camera therein.
And when the object recognition technology does not recognize that the first preview image has the image of the separated camera, namely the image of the second camera, but the positioning technology recognizes that the first preview image has the separated camera, namely the second camera, a transparent mark for indicating the separated camera, namely the second camera, is displayed at the position of the separated camera corresponding to the first preview image.
It should be noted that when it is not recognized by the object recognition technology that the first preview image has the image of the second camera, but it is recognized by the positioning technology that the first preview image has the second camera, it is described that the second camera is not blocked by an object in the shooting scene, in order to facilitate the user to switch the subsequent second camera, a picture acquired by the second camera blocked by the object is previewed, and a transparent mark for indicating the second camera is displayed at a position of the second camera corresponding to the first preview image, as shown in fig. 2.
102, receiving a first input of a user;
in this step, the first input is a preset input. Optionally, the first input may include, but is not limited to, at least one of a click input, a press input, a long press input, a pinch input, a drag input, a slide input, and a swipe input, that is, the first input may be one of the above-mentioned inputs, or may also be a combined operation of two or more of the above-mentioned inputs.
Optionally, the first input is a click input to a second camera on the first preview image on the electronic device; or, the first input is a rotational input rotating around a preset axis of the electronic device in a preset direction.
Optionally, the number of second cameras is at least two.
In fig. 2, a separate camera 3, and a transparent mark 4 indicating the separate camera are present in the first preview image 1.
Here, the separate cameras 2 and 3 are both the second cameras, that is, there are two second cameras.
Here, as shown in fig. 2, in the case where a separate camera exists in the first preview image 1, the separate camera is controlled to be highlighted (see a jagged figure around the separate camera 2 in fig. 2, which is highlighted with a preset color). The purpose is for marking the disconnect-type camera, and the user can conveniently carry out subsequent operation.
It should be noted that, before receiving the first input of the user, the method may further include:
receiving a preset input to the electronic device;
here, optionally, the preset input is a click input to a first target camera on the first preview image on the electronic device.
In one example, as shown in the left diagram of fig. 3, there are a plurality of separate cameras in the first preview image 1, a separate camera a, a separate camera B, and a separate camera C, and a click input to the separate camera B by a user's finger is received, that is, a click input to the separate camera B on the first preview image 1 is received.
Optionally, the preset input is a tilt input of the electronic device to the position of the first target camera on the first preview image.
It should be noted that the first target camera may be understood as the second camera.
In another example, as shown in the left diagram of fig. 4, there are a plurality of separate cameras in the first preview image 1, a separate camera a, a separate camera B, and a separate camera C, and the tilt input to the electronic device to the direction of the separate camera B on the first preview image is received by the user shaking the electronic device in the direction corresponding to the separate camera B.
And responding to the preset input, determining a first target camera in the first preview image, and displaying an identifier indicating that the first target camera is selected.
It should be noted that the indication indicating that the first target camera is selected is displayed, and the purpose is to prompt the user which camera is selected currently, so that the subsequent misoperation of the user on the camera is prevented, and the accuracy of the user in subsequent operation of the camera is improved.
Here, continuing with fig. 3 as an example, a click input to the separate camera B by a finger of the user is received, that is, a click input to the separate camera B on the first preview image 1 is received, in response to the click input, the first target camera in the first preview image 1 is determined to be the separate camera B, and an indication indicating that the separate camera B is selected is displayed, as shown in the right diagram in fig. 3, as a dotted-line box surrounding the separate camera B and framing the separate camera B.
Continuing with fig. 4 as an example, the user shakes the electronic device in the direction corresponding to the separate camera B, that is, receives a tilt input of the electronic device to the direction of the separate camera B on the first preview image, determines that the first target camera in the first preview image 1 is the separate camera B in response to the tilt operation, and displays an identifier indicating that the separate camera B is selected, as shown in the right diagram in fig. 4, the identifier is a dashed square frame surrounding the separate camera B and framing the separate camera B.
Here, in the left side diagram in fig. 3, a dotted-line box surrounding the periphery of the separate camera C and selected from the frame of the separate camera C is displayed in the first photographed preview image 1, and it is described that the current first preview image 1 is a preview image of the separate camera C (the camera 1 displayed in the first preview image). The same applies to the dashed boxes in the left diagram of fig. 4.
And 103, responding to the first input, and displaying a second preview image acquired by the second camera.
In this step, in the process from the step 101 of displaying the first preview image acquired by the first camera to the step of displaying the second preview image acquired by the second camera, the animation effect that the image in the first preview image is enlarged to the position of the second camera is switched to the second preview image.
In one example, as shown in fig. 5, in the case that a separate camera exists in a first preview image 1, a click input to a camera 2 on the first preview image 1 is received, as shown in the left diagram in the figure, a click input to the camera 2 on the first preview image 1 is received by a finger of a user; then, in response to the click input, the first camera, i.e., the camera 1 in the figure, is switched to the camera 2, and a preview image acquired by the camera 2, i.e., a second preview image, is displayed, as shown in the right-hand diagram in the figure. Thus, through simple operation, the preview and the switching of different angles of the shooting scene can be realized.
In another example, as shown in fig. 6, in the case that a separate camera is present in the first preview image 1, a rotation input of rotating around a preset axis of the electronic device in a preset direction is received, that is, a rotation input of tilting around a transverse axis of a body of the electronic device in a clockwise direction is received, and as shown in a left side view of the figure, the electronic device is shaken backwards by a user; then, in response to the rotation input, the first camera, i.e., the camera 1 in the figure, is switched to the camera 2, and a preview image acquired by the camera 2, i.e., a second preview image, is displayed, as shown in the right-hand diagram in the figure. Thus, through simple operation, the preview and the switching of different angles of the shooting scene can be realized.
According to the photographing method, the electronic equipment comprises a first camera, a first preview image collected by the first camera is displayed under the condition that the first camera and a second camera are in a preset position relation, the first preview image comprises a target element corresponding to the second camera, and the second camera and the electronic equipment are arranged in a separated mode; receiving a first input of a user; respond to first input, show the second preview image that the second camera was gathered, so, utilize the characteristics that the disconnect-type camera can be shot simultaneously the multi-angle, can realize preview and the switching to the different angles of the scene of shooing, increased the diversity, the practicality and the interest of disconnect-type camera mode of shooing, promoted user's the experience of shooing.
Based on the embodiment shown in fig. 1, as an optional implementation manner, after step 103, the method may further include:
receiving a fourth input to the second preview image;
in this step, the fourth input is a preset input. Optionally, the fourth input may include, but is not limited to, at least one of a click input, a press input, a long press input, a pinch input, a drag input, a slide input, and a swipe input, that is, the fourth input may be one of the above-mentioned inputs, or may also be a combined operation of two or more of the above-mentioned inputs.
Responding to the fourth input, and adjusting the photographing parameters of the second camera;
in this step, the photographing parameters may include, but are not limited to: the method corresponds to photographing parameters and photographing setting parameters (such as high dynamic range HDR, zooming in and zooming out and the like) in various professional modes.
If a separate camera is present in the second preview image, the above steps 102 and 103 and this step may be repeated.
And sending a shooting instruction to the second camera based on the adjusted shooting parameters.
In the implementation mode, the shooting requirements of the user on the separate cameras at different angles in the shooting scene can be met by adjusting the shooting parameters of the separate cameras in the preview image.
Based on the embodiment shown in fig. 1, as an optional implementation manner, after step 103 of the method of the present invention, the method of the present invention may further specifically include:
in a case where a plurality of cameras including the first camera and the second camera receive a photographing instruction, images are photographed by the plurality of cameras in response to the photographing instruction.
As an optional implementation manner, this step may specifically include:
acquiring images shot by the plurality of cameras in response to the shooting instruction;
it should be noted that, specifically, acquiring the images captured by the plurality of cameras includes: the acquired images comprise images which are separated from the electronic equipment and shot by a second camera in a shooting scene and images which are obtained by shooting the shooting scene by the camera fixed on the electronic equipment.
And when the same shooting object is displayed in the images shot by at least three cameras in the plurality of cameras, performing three-dimensional modeling on the shooting object and displaying a three-dimensional model of the shooting object.
Here, the three-dimensional modeling of an image is a technique of acquiring a photograph of an object by an electronic device having a photographing function, and performing graphic image processing and three-dimensional calculation by a computer to automatically generate a three-dimensional model of a subject to be photographed.
If the current photographing mode is the portrait mode, the three-dimensional model obtained through modeling is subjected to beauty treatment.
Here, as an alternative implementation, after three-dimensional modeling is performed on a photographic subject, a three-dimensional model of the photographic subject may be directly displayed, and the purpose is to present the three-dimensional model to a user in order to detect the three-dimensional model of the photographic subject obtained through three-dimensional modeling. If the user is not satisfied, shooting can be carried out again, and three-dimensional modeling can be carried out again.
As another alternative implementation, the step of displaying the three-dimensional model of the photographic subject may include:
saving the three-dimensional model of the shot object and a first image shot by a second target camera, wherein the second target camera is one of the three cameras;
receiving a fifth input to the first image in a case that the first image is displayed on an image presentation interface;
in this step, preferably, indication information for identifying the three-dimensional model of the photographic subject is displayed on the first image.
The indication information may be a mark for displaying a three-dimensional model marking the photographic subject on the first image, as shown in fig. 7.
It should be noted that, an image display interface is displayed by entering, through a user operation, a storage space for storing the three-dimensional model of the photographic object and the first image photographed by the second target camera, such as an album of the electronic device.
In fig. 7, the first image, e.g. the lower right corner of the 3D image 1, is shown with a graphical representation marking a three-dimensional model of the object being photographed.
Note that the fifth input is a preset input. Optionally, the fifth input may include, but is not limited to, at least one of a click input, a press input, a long press input, a pinch input, a drag input, a slide input, and a swipe input, that is, the fifth input may be one of the above-mentioned inputs, or may also be a combined operation of two or more of the above-mentioned inputs.
Preferably, the fifth input is a click input to an identity of a three-dimensional model marking the photographic object.
Displaying a three-dimensional model of the photographic subject in response to the fifth input.
In this step, the electronic device receives a fifth input to the first image, and in response to the fifth input, displays a three-dimensional model of the photographic subject, as shown in the left diagram of fig. 8.
Here, after the step is performed, the method may further include:
receiving a tap input to a screen of an electronic device, the screen displaying a three-dimensional model of a photographic object; in response to the tap input, the photographic subject is highlighted, as shown in the right-hand diagram in fig. 8.
In one example, a three-dimensional model of a shooting object, namely a butterfly, is displayed on a screen of the electronic device, and a tap on the screen by a finger of a user, as shown in a left diagram in fig. 8, is highlighted around the butterfly, for example, bright light is emitted, so that the visual effect and the interestingness are improved. Then, by the user operation on the butterfly, as shown in the left diagram of fig. 9, the butterfly in the screen can be moved based on the user operation, such as a rotation operation. That is to say, through the operation of user to the three-dimensional model of shooting object, can look over the shooting effect to the camera of different angles, increase science and technology and feel and interesting.
As another optional implementation manner, in response to the shooting instruction, the step of shooting the images by the plurality of cameras may specifically include:
acquiring images shot by the plurality of cameras in response to the shooting instruction;
it should be noted that, specifically, acquiring the images captured by the plurality of cameras includes: the acquired images comprise images which are separated from the electronic equipment and shot by a second camera in a shooting scene and images which are obtained by shooting the shooting scene by the camera fixed on the electronic equipment.
And under the condition that the images shot by any three cameras in the multiple cameras do not have the same shooting object and a hidden camera instruction is received, responding to the hidden camera instruction and hiding the target elements corresponding to the second camera in the images shot by the multiple cameras.
And under the condition that the images shot by any three cameras in the multiple cameras do not have the same shooting object and a hidden camera instruction is received, responding to the hidden camera instruction, and hiding a target element corresponding to the second camera in the images shot by the multiple cameras, namely hiding a second camera image in the images.
Here, when taking a picture, an option of whether to hide the camera or not may be provided, that is, after taking a picture, the separate camera (i.e., the second camera) in the image is erased through image processing.
In an example, as shown in the left side diagram in fig. 10, it can be seen that images taken by three cameras do not have the same photographic object, namely a butterfly; a hidden camera option is displayed at the upper right corner of the preview interface, and the option is selected through user operation, namely the electronic equipment receives a hidden camera instruction; then, according to the hidden camera instruction, the camera in the picture shot by the camera 1 is hidden, as shown in the right side diagram in fig. 10, so that the aesthetic feeling of the picture can be improved, the user requirements are met, and the user photographing experience is improved.
Based on this, after capturing images by the plurality of cameras in response to the capturing instruction, the method may further include:
receiving a second input of a target image in an image display interface, wherein the target image is one of images shot by a plurality of cameras after the target element is hidden;
it should be noted that, the image display interface is displayed through a user operation entering a storage space for storing images shot by a plurality of cameras after the target element is hidden, such as an album of the electronic device.
Optionally, the images captured by the multiple cameras after the target element (i.e., the second camera) is hidden are displayed on the image display interface in an overlapping manner, and the top-most image is the target image.
In one example, the target image is a special picture a in fig. 11, the special picture a is positioned at the topmost layer, and N-1 images are superposed under the special picture a, and the pictures are all pictures hiding the separate camera.
Note that the second input is a preset input. Optionally, the second input may include, but is not limited to, at least one of a click input, a press input, a long press input, a pinch input, a drag input, a slide input, and a swipe input, that is, the second input may be one of the above-mentioned inputs, or may also be a combined operation of two or more of the above-mentioned inputs.
Optionally, the second input is a tap input.
Displaying the hidden target element in the target image in response to the second input.
In one example, the image displayed in the image presentation interface corresponds to the special picture a in fig. 11 (which may be invoked by a user's click input); inputting a tap of the special picture a by the user, namely tapping the special picture a by the finger joint of the user, as shown in the left side diagram of fig. 12; the positions of other cameras are shown in the special picture a (a hidden erased or blocked camera will show the same name cartoon camera mark in its original position), as shown in the right diagram of fig. 12.
Based on this, after this step displays the hidden target element in the target image in response to the second input, the method of the embodiment of the present invention may further include:
receiving a third input to the target element;
in this step, the third input is a preset input. Optionally, the third input may include, but is not limited to, at least one of a click input, a press input, a long press input, a pinch input, a drag input, a slide input, and a swipe input, that is, the third input may be one of the above-mentioned inputs, or may also be a combined operation of two or more of the above-mentioned inputs.
And responding to the third input, and displaying the image shot by the second camera.
Here, continuing with the example in fig. 12 as an example, after the positions of other cameras are displayed in the special picture a, the user clicks the corresponding camera, that is, receives a click input to the target separation type camera, the special picture a is quickly enlarged to the corresponding position, and finally the picture is switched to the picture shot by the target separation type camera.
According to the photographing method, the electronic equipment comprises a first camera, a first preview image collected by the first camera is displayed under the condition that the first camera and a second camera are in a preset position relation, the first preview image comprises a target element corresponding to the second camera, and the second camera and the electronic equipment are arranged in a separated mode; receiving a first input of a user; respond to first input, show the second preview image that the second camera was gathered, so, utilize the characteristics that the disconnect-type camera can be shot simultaneously the multi-angle, can realize preview and the switching to the different angles of the scene of shooing, increased the diversity, the practicality and the interest of disconnect-type camera mode of shooing, promoted user's the experience of shooing.
Based on the method, the embodiment of the invention provides electronic equipment for realizing the method.
Fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. An embodiment of the present invention provides an electronic device 1300, where the electronic device includes a first camera, and the electronic device 1300 may further include:
the first display module 1301 is configured to display a first preview image acquired by the first camera under the condition that the first camera and the second camera are in a preset position relationship, where the first preview image includes a target element corresponding to the second camera, and the second camera is separated from the electronic device;
a first receiving module 1302, configured to receive a first input of a user;
and the second display module 1303 is configured to display a second preview image acquired by the second camera in response to the first input.
Optionally, the preset position relationship is that the second camera is located within a shooting visual angle range of the first camera.
Optionally, the target element corresponding to the second camera is an image of the second camera, or an identifier of the second camera.
Optionally, the electronic device 1300 may further include:
and the shooting module is used for responding to the shooting instruction and shooting images through the plurality of cameras under the condition that the plurality of cameras including the first camera and the second camera receive the shooting instruction.
Alternatively, the photographing module may include:
a first acquisition unit configured to acquire images captured by the plurality of cameras in response to the capturing instruction;
and a modeling unit which is used for performing three-dimensional modeling on the shooting object and displaying a three-dimensional model of the shooting object when the same shooting object is displayed in the images shot by at least three cameras in the plurality of cameras.
Alternatively, the photographing module may include:
a second acquisition unit configured to acquire images captured by the plurality of cameras in response to the capturing instruction;
and the hiding unit is used for responding to the hidden camera command and hiding the target elements corresponding to the second camera in the images shot by the plurality of cameras under the condition that the images shot by any three cameras in the plurality of cameras do not have the same shooting object and the hidden camera command is received.
Optionally, the electronic device 1300 may further include:
the second receiving module is used for receiving second input of a target image in an image display interface, wherein the target image is one of images shot by a plurality of cameras after the target element is hidden;
a third display module, configured to display the hidden target element in the target image in response to the second input.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1 to 12, and is not described herein again to avoid repetition.
The electronic equipment comprises a first camera, a first display module and a second camera, wherein a first preview image acquired by the first camera is displayed under the condition that the first camera and the second camera are in a preset position relation, the first preview image comprises target elements corresponding to the second camera, and the second camera and the electronic equipment are arranged separately; the first receiving module receives a first input of a user; the second display module responds to the first input and displays a second preview image acquired by the second camera, so that the characteristic that the split camera can shoot at multiple angles simultaneously is utilized, the preview and the switching of different angles of a shooting scene can be realized, the diversity, the practicability and the interestingness of a shooting mode of the split camera are increased, and the shooting experience of a user is improved.
Fig. 14 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 1400 includes a first camera, and further includes but is not limited to: radio frequency unit 1401, network module 1402, audio output unit 1403, input unit 1404, sensor 1405, display unit 1406, user input unit 1407, interface unit 1408, memory 1409, processor 1410, and power supply 1411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 14 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The display unit 1406 is configured to display a first preview image acquired by the first camera under the condition that the first camera and the second camera are in a preset position relationship, where the first preview image includes a target element corresponding to the second camera, and the second camera is separately disposed from the electronic device.
A user input unit 1407 for receiving a first input by a user.
The display unit 1406 is further configured to display a second preview image captured by the second camera in response to the first input.
Optionally, the preset position relationship is that the second camera is located within a shooting visual angle range of the first camera.
Optionally, the target element corresponding to the second camera is an image of the second camera, or an identifier of the second camera.
Optionally, the processor 1410 is configured to, in a case where a plurality of cameras including the first camera and the second camera receive a shooting instruction, shoot an image through the plurality of cameras in response to the shooting instruction.
Optionally, the processor 1410 is further configured to acquire images captured by the plurality of cameras in response to the capturing instruction; when the same object is displayed in images captured by at least three cameras among the plurality of cameras, the object is three-dimensionally modeled, and the display unit 1406 is further configured to display the three-dimensional model of the object.
Optionally, the processor 1410 is further configured to acquire images captured by the plurality of cameras in response to the capturing instruction; and under the condition that the images shot by any three cameras in the multiple cameras do not have the same shooting object and a hidden camera instruction is received, responding to the hidden camera instruction and hiding the target elements corresponding to the second camera in the images shot by the multiple cameras.
Optionally, the user input unit 1407 is further configured to receive a second input of a target image in the image presentation interface, where the target image is one of images captured by the plurality of cameras after the target element is hidden;
a display unit 1406, further configured to display the hidden target element in the target image in response to the second input.
In the embodiment of the invention, by utilizing the characteristic that the separated camera can shoot at multiple angles at the same time, the previewing and switching of different angles of a shooting scene can be realized, the diversity, the practicability and the interestingness of the shooting mode of the separated camera are increased, and the shooting experience of a user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1401 may be configured to receive and transmit signals during a message transmission or call process, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 1410; in addition, the uplink data is transmitted to the base station. In general, radio unit 1401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. The radio unit 1401 may also communicate with a network and other devices via a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 1402, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 1403 can convert audio data received by the radio frequency unit 1401 or the network module 1402 or stored in the memory 1409 into an audio signal and output as sound. Also, the audio output unit 1403 may also provide audio output related to a specific function performed by the electronic device 1400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1404 is for receiving an audio or video signal. The input Unit 1404 may include a Graphics Processing Unit (GPU) 14041 and a microphone 14042, the Graphics processor 14041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1406. The image frames processed by the graphics processor 14041 may be stored in the memory 1409 (or other storage medium) or transmitted via the radio unit 1401 or the network module 1402. The microphone 14042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1401 in case of a phone call mode.
The electronic device 1400 also includes at least one sensor 1405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 14061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 14061 and/or the backlight when the electronic device 1400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1405 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 1406 is used to display information input by the user or information provided to the user. The Display unit 1406 may include a Display panel 14061, and the Display panel 14061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile electronic device. Specifically, the user input unit 1407 includes a touch panel 14071 and other input devices 14072. The touch panel 14071, also referred to as a touch screen, may collect touch operations by a user (e.g., operations by a user on or near the touch panel 14071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 14071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1410, receives a command from the processor 1410, and executes the command. In addition, the touch panel 14071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 14071, the user input unit 1407 may include other input devices 14072. In particular, the other input devices 14072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 14071 may be overlaid on the display panel 14061, and when the touch panel 14071 detects a touch operation on or near the touch panel 14071, the touch operation is transmitted to the processor 1410 to determine the type of the touch event, and then the processor 1410 provides a corresponding visual output on the display panel 14061 according to the type of the touch event. Although in fig. 14, the touch panel 14071 and the display panel 14061 are two independent components to implement the input and output functions of the mobile electronic device, in some embodiments, the touch panel 14071 and the display panel 14061 may be integrated to implement the input and output functions of the mobile electronic device, which is not limited herein.
The interface unit 1408 is an interface for connecting an external device to the electronic apparatus 1400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1408 may be used to receive input from an external device (e.g., data information, power, etc.) and transmit the received input to one or more elements within the electronic apparatus 1400 or may be used to transmit data between the electronic apparatus 1400 and the external device.
The memory 1409 may be used to store software programs as well as various data. The memory 1409 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 1409 can include high speed random access memory and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1410 is the control center of the mobile electronic device, connects various parts of the entire mobile electronic device using various interfaces and lines, and performs various functions of the mobile electronic device and processes data by running or executing software programs and/or modules stored in the memory 1409 and calling up data stored in the memory 1409, thereby monitoring the mobile electronic device as a whole. Processor 1410 may include one or more processing units; preferably, the processor 1410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1410.
The electronic device 1400 may further include a power source 1411 (e.g., a battery) for supplying power to various components, and preferably, the power source 1411 may be logically connected to the processor 1410 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 1400 includes some functional modules that are not shown, and are not described herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 1410, a memory 1409, and a computer program that is stored in the memory 1409 and can be run on the processor 1410, and when the computer program is executed by the processor 1410, the processes of the above-mentioned embodiment of the photographing method are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the above-mentioned photographing method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the descriptions thereof are omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 invention 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 an electronic device (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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A photographing method is applied to electronic equipment, the electronic equipment comprises a first camera, and the method is characterized by comprising the following steps:
under the condition that the first camera and the second camera are in a preset position relation, displaying a first preview image acquired by the first camera, wherein the first preview image comprises a target element corresponding to the second camera, and the second camera is separated from the electronic equipment;
receiving a first input of a user;
responding to the first input, and displaying a second preview image acquired by the second camera;
the preset position relation is that the second camera is located in the range of the shooting visual angle of the first camera;
before the receiving the first input of the user, the method further comprises:
receiving a preset input to the electronic device;
and responding to the preset input, determining the second camera in the first preview image, and displaying an identifier indicating that the second camera is selected.
2. The photographing method according to claim 1, wherein the target element corresponding to the second camera is an image of the second camera, or an identifier of the second camera.
3. The method of claim 1, wherein after displaying a second preview image acquired by the second camera in response to the first input, the method further comprises:
in a case where a plurality of cameras including the first camera and the second camera receive a photographing instruction, images are photographed by the plurality of cameras in response to the photographing instruction.
4. The method of claim 3, wherein said capturing images by the plurality of cameras in response to the capture instruction comprises:
acquiring images shot by the plurality of cameras in response to the shooting instruction;
and when the same shooting object is displayed in the images shot by at least three cameras in the plurality of cameras, performing three-dimensional modeling on the shooting object and displaying a three-dimensional model of the shooting object.
5. The method of claim 3, wherein said capturing images by the plurality of cameras in response to the capture instruction comprises:
acquiring images shot by the plurality of cameras in response to the shooting instruction;
and under the condition that the images shot by any three cameras in the multiple cameras do not have the same shooting object and a hidden camera instruction is received, responding to the hidden camera instruction and hiding the target elements corresponding to the second camera in the images shot by the multiple cameras.
6. The method of claim 5, wherein after capturing images by the plurality of cameras in response to the capture instruction, the method further comprises:
receiving a second input of a target image in an image display interface, wherein the target image is one of images shot by a plurality of cameras after the target element is hidden;
displaying the hidden target element in the target image in response to the second input.
7. An electronic device, the electronic device includes a first camera, and is characterized by further comprising:
the first display module is used for displaying a first preview image acquired by the first camera under the condition that the first camera and the second camera are in a preset position relation, wherein the first preview image comprises a target element corresponding to the second camera, and the second camera is arranged separately from the electronic equipment;
the first receiving module is used for receiving a first input of a user;
the second display module is used for responding to the first input and displaying a second preview image acquired by the second camera;
the preset position relation is that the second camera is located in the range of the shooting visual angle of the first camera;
the electronic device further includes:
the third receiving module is used for receiving the preset input of the electronic equipment before the first receiving module receives the first input of the user;
and the fourth display module is used for responding to the preset input, determining the second camera in the first preview image and displaying an identifier indicating that the second camera is selected.
8. The electronic device of claim 7, wherein the target element corresponding to the second camera is an image of the second camera or an identifier of the second camera.
9. The electronic device of claim 7, further comprising:
and the shooting module is used for responding to the shooting instruction and shooting images through the plurality of cameras under the condition that the plurality of cameras including the first camera and the second camera receive the shooting instruction.
10. The electronic device of claim 9, wherein the camera module comprises:
a first acquisition unit configured to acquire images captured by the plurality of cameras in response to the capturing instruction;
and a modeling unit which is used for performing three-dimensional modeling on the shooting object and displaying a three-dimensional model of the shooting object when the same shooting object is displayed in the images shot by at least three cameras in the plurality of cameras.
11. The electronic device of claim 9, wherein the camera module comprises:
a second acquisition unit configured to acquire images captured by the plurality of cameras in response to the capturing instruction;
and the hiding unit is used for responding to the hidden camera command and hiding the target elements corresponding to the second camera in the images shot by the plurality of cameras under the condition that the images shot by any three cameras in the plurality of cameras do not have the same shooting object and the hidden camera command is received.
12. The electronic device of claim 11, further comprising:
the second receiving module is used for receiving second input of a target image in an image display interface, wherein the target image is one of images shot by a plurality of cameras after the target element is hidden;
a third display module, configured to display the hidden target element in the target image in response to the second input.
13. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the photographing method according to any of claims 1 to 6.
14. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the photographing method according to any one of claims 1 to 6.
CN202010310972.6A 2020-04-20 2020-04-20 Photographing method and electronic equipment Active CN111464746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010310972.6A CN111464746B (en) 2020-04-20 2020-04-20 Photographing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010310972.6A CN111464746B (en) 2020-04-20 2020-04-20 Photographing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111464746A CN111464746A (en) 2020-07-28
CN111464746B true CN111464746B (en) 2022-01-28

Family

ID=71680685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010310972.6A Active CN111464746B (en) 2020-04-20 2020-04-20 Photographing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111464746B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804451B (en) * 2021-01-04 2023-04-25 三星电子(中国)研发中心 Method and system for photographing by utilizing multiple cameras and mobile device
CN113286085B (en) * 2021-05-24 2023-05-26 维沃移动通信有限公司 Display control method and device and electronic equipment
CN114095660B (en) * 2021-11-29 2024-01-30 Oppo广东移动通信有限公司 Image display method and device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113697A (en) * 2014-08-01 2014-10-22 广东欧珀移动通信有限公司 Synergic photograph processing method and device and photograph processing method and device
CN104363439A (en) * 2014-10-24 2015-02-18 联想(北京)有限公司 Information processing method and electronic device
CN108900787A (en) * 2018-06-20 2018-11-27 广州视源电子科技股份有限公司 Image display method, device, system and equipment, readable storage medium storing program for executing
CN109151313A (en) * 2018-09-10 2019-01-04 合肥巨清信息科技有限公司 A kind of video interlink system based on large scene video monitoring
CN109743561A (en) * 2018-12-29 2019-05-10 努比亚技术有限公司 A kind of terminal image pickup method, camera terminal and computer readable storage medium
CN111010508A (en) * 2019-11-29 2020-04-14 维沃移动通信有限公司 Shooting method and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491284B (en) * 2015-11-30 2018-12-18 小米科技有限责任公司 The display methods and device of preview image
JP6445219B2 (en) * 2016-03-31 2018-12-26 富士フイルム株式会社 Digital camera and display method of digital camera
KR102289837B1 (en) * 2017-01-06 2021-08-17 삼성전자주식회사 Method and electronic device for taking a photograph

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113697A (en) * 2014-08-01 2014-10-22 广东欧珀移动通信有限公司 Synergic photograph processing method and device and photograph processing method and device
CN104363439A (en) * 2014-10-24 2015-02-18 联想(北京)有限公司 Information processing method and electronic device
CN108900787A (en) * 2018-06-20 2018-11-27 广州视源电子科技股份有限公司 Image display method, device, system and equipment, readable storage medium storing program for executing
CN109151313A (en) * 2018-09-10 2019-01-04 合肥巨清信息科技有限公司 A kind of video interlink system based on large scene video monitoring
CN109743561A (en) * 2018-12-29 2019-05-10 努比亚技术有限公司 A kind of terminal image pickup method, camera terminal and computer readable storage medium
CN111010508A (en) * 2019-11-29 2020-04-14 维沃移动通信有限公司 Shooting method and electronic equipment

Also Published As

Publication number Publication date
CN111464746A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN108668083B (en) Photographing method and terminal
CN111541845B (en) Image processing method and device and electronic equipment
WO2021104236A1 (en) Method for sharing photographing parameter, and electronic apparatus
CN108471498B (en) Shooting preview method and terminal
CN108495029B (en) Photographing method and mobile terminal
CN110809115B (en) Shooting method and electronic equipment
WO2021104321A1 (en) Image display method and electronic device
WO2021115479A1 (en) Display control method and electronic device
CN111464746B (en) Photographing method and electronic equipment
CN111050070B (en) Video shooting method and device, electronic equipment and medium
JP7394879B2 (en) Imaging method and terminal
CN110970003A (en) Screen brightness adjusting method and device, electronic equipment and storage medium
EP4131931A1 (en) Image capturing method and electronic device
CN107592459A (en) A kind of photographic method and mobile terminal
CN109683777B (en) Image processing method and terminal equipment
CN109102555B (en) Image editing method and terminal
WO2019184947A1 (en) Image viewing method and mobile terminal
CN109819168B (en) Camera starting method and mobile terminal
CN111010511B (en) Panoramic body-separating image shooting method and electronic equipment
CN111669503A (en) Photographing method and device, electronic equipment and medium
CN108924422B (en) Panoramic photographing method and mobile terminal
CN108984143B (en) Display control method and terminal equipment
WO2021104159A1 (en) Display control method and electronic device
CN111246102A (en) Shooting method, shooting device, electronic equipment and storage medium
CN108174110B (en) Photographing method and flexible screen terminal

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