CN111031253B - Shooting method and electronic equipment - Google Patents

Shooting method and electronic equipment Download PDF

Info

Publication number
CN111031253B
CN111031253B CN202010031107.8A CN202010031107A CN111031253B CN 111031253 B CN111031253 B CN 111031253B CN 202010031107 A CN202010031107 A CN 202010031107A CN 111031253 B CN111031253 B CN 111031253B
Authority
CN
China
Prior art keywords
screen
camera
under
video pictures
shooting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010031107.8A
Other languages
Chinese (zh)
Other versions
CN111031253A (en
Inventor
郭闪闪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010031107.8A priority Critical patent/CN111031253B/en
Publication of CN111031253A publication Critical patent/CN111031253A/en
Application granted granted Critical
Publication of CN111031253B publication Critical patent/CN111031253B/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/61Control of cameras or camera modules based on recognised objects
    • 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/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • 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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • 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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
    • H04N23/635Region indicators; Field of view indicators

Abstract

The invention provides a shooting method and electronic equipment, wherein the shooting method comprises the following steps: acquiring azimuth information of a target object relative to the under-screen camera; and adjusting the shooting direction of the camera under the screen according to the direction information. According to the method provided by the invention, the shooting direction of the under-screen camera is adjusted according to the direction information of the target object, so that the target object can be positioned in the shooting range of the under-screen camera, and the shooting effect is improved.

Description

Shooting method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a shooting method and an electronic device.
Background
As electronic devices are used more and more widely, at present, there are more and more scenes for video communication through the electronic devices, such as social scenes, meeting scenes, or live scenes. When a user carries out a video, the camera is fixed and cannot be adjusted according to the position of the user, so that the video shooting effect is poor.
Disclosure of Invention
The embodiment of the invention provides a shooting method and electronic equipment, and aims to solve the problem of poor video shooting effect in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a shooting method applied to an electronic device, where the electronic device includes a movable off-screen camera, and the shooting method includes:
acquiring azimuth information of a target object relative to the under-screen camera;
and adjusting the shooting direction of the camera under the screen according to the direction information.
In a second aspect, an embodiment of the present invention further provides an electronic device, including: the electronic equipment includes mobilizable camera under the screen, electronic equipment still includes:
the acquisition module is used for acquiring the azimuth information of the target object relative to the under-screen camera;
and the adjusting module is used for adjusting the shooting direction of the camera under the screen according to the direction information.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the above-mentioned shooting method.
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 shooting method described above.
In the embodiment of the invention, the azimuth information of the target object relative to the under-screen camera is obtained; and adjusting the shooting direction of the camera under the screen according to the direction information. Therefore, the shooting direction of the camera under the screen is adjusted according to the direction information of the target object, so that the target object can be located within the shooting range of the camera under the screen, and the shooting effect is improved.
Drawings
Fig. 1 is a flowchart of a photographing method according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a photographing method according to an embodiment of the present invention;
FIG. 3 is a block diagram of an electronic device provided by an embodiment of the invention;
fig. 4 is a block diagram of an electronic device according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
Referring to fig. 1, fig. 1 is a flowchart of a shooting method according to an embodiment of the present invention, and as shown in fig. 1, the embodiment provides a shooting method applied to an electronic device, where the electronic device includes a movable off-screen camera, and the method includes the following steps:
and 101, acquiring the azimuth information of the target object relative to the under-screen camera.
The movable under-screen camera may be understood as an under-screen camera that may perform at least one of translation or rotation. The camera is located the display screen below under the screen, and like this, the camera can not occupy the area of display screen under the screen to improve the screen and account for the ratio. When the camera was out of work under the screen, the display screen was like normal demonstration, and the picture that shows on the display screen can not show unusually because of the existence of camera under the screen. When the user uses the camera under the screen, the display screen can also completely display the picture shot by the camera, and the user can not see the camera under the screen.
The target object may be a human face, a human eye, or other objects, which are not limited herein. The position information may include location information and the position information may also include distance information.
The orientation information includes position information, which can be understood as an offset position of the target object with the off-screen camera as a reference. Taking a straight line which passes through the center of the under-screen camera and is parallel to two side edges of the display screen as a first reference line, and judging that the target object is positioned on the left side of the under-screen camera if the vertical projection of the target object on the plane where the display screen is positioned falls on the left side of the first reference line, or else, judging that the target object is positioned on the right side of the under-screen camera; and taking a straight line which passes through the center of the lower screen camera and is parallel to the side edge of the top of the display screen as a second reference line, and judging that the target object is positioned above the lower screen camera if the vertical projection of the target object on the plane where the display screen is positioned falls on the upper side of the second reference line, otherwise, judging that the target object is positioned below the lower screen camera.
The azimuth information includes position information, and it can be further understood that, taking the off-screen camera as a reference object, the offset angle and the offset position of the target object, where the offset angle of the target object may be determined in the following manner: the angle between a connecting line between a target object and the screen lower camera and a reference line is specifically a central point of a human face, or an angle between a connecting line between a central point of a human eye and a central point of the screen lower camera and the reference line, the reference line is a straight line which is vertical to the display screen and passes through the central position of the screen lower camera, and the offset position of the target object is the left side, the right side, the upper side or the lower side of the screen lower camera of the target object. The distance information is the distance between the target object and the off-screen camera.
And 102, adjusting the shooting direction of the under-screen camera according to the direction information.
According to the azimuth information, the camera (hereinafter referred to as the camera) under the screen is adjusted, so that the camera shoots towards the azimuth of the target object, the target object falls within the shooting range of the camera, and the shooting effect is improved. When the orientation information includes the offset angle, if the offset angle is greater than the preset angle threshold, the face display of the shot face is incomplete, or the face display area is not in the center position of the preview interface, adjusting the shooting orientation of the camera, for example, translating the position of the camera, or adjusting the rotation angle of the camera, so that the target object is located in the shooting range of the camera, or in the optimal shooting range. And if the offset angle is not larger than the preset angle threshold, not adjusting the shooting direction of the camera.
In this embodiment of the present invention, the electronic device may be any electronic device including an off-screen camera, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
According to the shooting method, the azimuth information of the target object relative to the under-screen camera is obtained; according to the azimuth information, the shooting azimuth of the camera under the screen is adjusted, so that the shooting azimuth of the camera under the screen is adjusted according to the azimuth information of the target object, the target object can be located within the shooting range of the camera under the screen, and the shooting effect is improved.
Referring to fig. 2, fig. 2 is a second flowchart of a shooting method according to an embodiment of the present invention, and as shown in fig. 2, the embodiment provides a shooting method applied to an electronic device, where the electronic device includes a movable off-screen camera, and the method includes the following steps:
and step 201, acquiring the azimuth information of the target object relative to the under-screen camera.
The movable under-screen camera may be understood as an under-screen camera that may perform at least one of translation or rotation. The camera is located the display screen below under the screen, and like this, the camera can not occupy the area of display screen under the screen to improve the screen and account for the ratio. When the camera was out of work under the screen, the display screen was like normal demonstration, and the picture that shows on the display screen can not show unusually because of the existence of camera under the screen. When the user uses the camera under the screen, the display screen can also completely display the picture shot by the camera, and the user can not see the camera under the screen.
The target object may be a human face, a human eye, or other objects, which are not limited herein. The position information may include location information and the position information may also include distance information.
The orientation information includes position information, which can be understood as the offset position of the target object, i.e., the target object is to the left, right, top, or bottom of the off-screen camera, with the off-screen camera as a reference.
The azimuth information includes position information, and it can be further understood that, taking the off-screen camera as a reference object, the offset angle and the offset position of the target object, where the offset angle of the target object may be determined in the following manner: the angle of the target object relative to the reference line is a straight line which is vertical to the display screen and passes through the center position of the camera under the screen, and the offset position of the target object is the left side, the right side, the upper side or the lower side of the camera under the screen. The distance information is the distance between the target object and the off-screen camera.
Step 202, if it is determined that the target object is located on a first side of the off-screen camera according to the orientation information, controlling the off-screen camera to move to the first side of the off-screen camera.
The first side may be a left side, a right side, an upper side, or a lower side. And if the target object is determined to be positioned on the first side of the camera according to the azimuth information, controlling the under-screen camera to move towards the first side of the under-screen camera. In this embodiment, controlling the movement of the underscreen camera toward the first side thereof includes at least one of translating the camera or rotating the camera. Step 202 is a specific implementation of step 102.
Further, in an embodiment of the present invention, in step 202, if it is determined that the target object is located on a first side of the off-screen camera according to the orientation information, controlling the off-screen camera to move to the first side of the off-screen camera includes:
and if the target object is determined to be positioned on the first side of the under-screen camera according to the orientation information, controlling the under-screen camera to translate a first distance and/or rotate a first angle towards the first side of the under-screen camera, wherein the first distance and/or the first angle are determined by the orientation information.
Specifically, when the orientation information includes the position information, the orientation information has a corresponding relationship with the first distance and the first angle, for example, when the position information is an offset position of the target object, that is, the target object is on the left, right, upper, or lower side of the camera, the corresponding first distance is 5 millimeters, and the corresponding first angle is 30 degrees. When the position information is the offset position and the offset angle of the target object, the offset position and the offset angle correspond to the first distance and the first angle. For example, the offset position is to the left, the offset angle is 30 degrees, the corresponding first distance is 3 millimeters, and the corresponding first angle is 30 degrees to the left.
When the azimuth information includes position information and distance information, the position information and the distance information respectively have a corresponding relationship with a first distance and a first angle, for example, if the offset position included in the position information is the left side, and the distance information is 1 meter, the corresponding first distance is 3 millimeters, and the corresponding first angle is rotated by 30 degrees to the left; the offset position included in the position information is the left side, and the distance information is 2 meters, then the corresponding first distance is 5 millimeters, and the corresponding first angle is a left rotation of 40 degrees.
Step 203, moving the shooting picture of the off-screen camera to a target area of the display screen of the electronic equipment according to the azimuth information, wherein the target area is matched with the azimuth information.
In the step, the display area of the shot picture is moved according to the azimuth information, namely, the shot picture of the screen lower camera is moved to the target area of the display screen of the electronic equipment, so that the display position of the shot picture on the display screen can move along with the movement of the target object, and the visual angle of the shot picture watched by the target object is better. The target area is determined by the orientation information, i.e. there is a matching relationship between the target area and the orientation information. For example, the orientation information includes position information, and the position information is the offset position of the target object, that is, when the target object is at the left, right, top, or bottom of the camera, the matched target area is the left area, the right area, the top area, or the bottom area of the display screen, respectively.
The camera under the screen is adjusted according to the azimuth information of the target object, so that the target object is located in the shooting range of the camera, the shooting effect is improved, meanwhile, the shooting picture is moved to the target area matched with the azimuth information to be displayed, therefore, the display position of the shooting picture on the display screen can be moved along with the movement of the target object, and the visual angle of the shooting picture viewed by the target object is better.
In one embodiment of the invention, the display screen displays a plurality of video pictures; step 203, moving the shooting picture of the off-screen camera to a target area of a display screen of the electronic device according to the orientation information, including:
according to the azimuth information, a first video picture displayed by the display screen is moved to a target area of the display screen, and at least one of other video pictures is moved, so that the other video pictures are positioned at least one side of the first video picture, the first video picture is the shooting picture, the other video pictures are the video pictures except the first video picture in the plurality of video pictures, and the higher the priority of the video pictures in the other video pictures is, the closer the display position of the other video pictures is to the target area.
In this embodiment, the first video picture is a shot picture shot by the off-screen camera, the display position of the first video picture can be changed along with the movement of the target object, and since the plurality of video pictures are displayed on the display screen, after the first video picture moves, correspondingly, the display position of other video pictures also needs to be changed, that is, at least one of the other video pictures is moved, so that the other video pictures are located on at least one side of the first video picture. The at least one side of the first video picture may be one or more of a left side, a right side, an upper side, and a lower side of the first video picture.
And when a plurality of video pictures are displayed on the display screen, the display positions of part of other video pictures cannot be adjacent to the first video picture, and in this case, the display is performed according to the principle that the higher the priority of the video pictures in the other video pictures is, the closer the display positions are to the target area. The priority of the video pictures can be preset by a user or automatically determined by the electronic equipment, and specifically, the priority of each video picture is set according to the activity (including the importance of people, the maximum speaking volume and the like) of the video picture. The speaking volume can be determined with priority according to the audio corresponding to the video picture, for example, if the audio corresponding to the video picture speaks with higher frequency, the priority of the video picture is higher. And displaying the video picture with high priority in other video pictures at a position close to the target area, so that the user can more intuitively see the information in the video picture with high priority, and the user experience of video call is improved. According to the method, the display position of each video picture in other video pictures is adjusted according to the liveness, and the experience of the multi-party video can be improved. In the other video frames, one electronic device obtains one video frame.
The shooting method can be applied to scenes needing to be shot, such as a self-shooting scene, a live scene, a conference scene and the like. The human face (or human eyes) and the orientation information of the human face from a camera under a screen are intelligently recognized through artificial intelligence learning methods such as big data learning and deep convolutional neural network. According to the orientation information of the face relative to the under-screen camera, the condition that the under-screen camera moves along with the face is set, for example, when the face is deviated to the left, the camera also moves to the left side of the display screen, and the aim is to ensure that the face is positioned at the middle position as much as possible in the shooting picture, namely when the face of a user moves, the under-screen camera moves, so that the face is kept in the integrity or at the middle position of the shooting picture.
The following description will take the application of the shooting method in the present invention in a multi-party conference scenario as an example.
When the camera under the screen is opened, the human face or the human eyes are scanned, and the camera under the screen moves along with the human face or the human eyes. The position of the camera under the screen is not fixed, the camera can be translated or rotated, a first video picture collected by the camera under the screen is displayed on a display screen of the electronic equipment, the size of the first video picture can be fixed, but the display area of the first video picture is not fixed.
When the face moves, in order to guarantee the integrity of the face information in the first video picture, the under-screen camera also translates or rotates, and in addition, the first video picture can also move along with the movement of the under-screen camera and move to the optimal position suitable for a user to observe a conference call.
In addition, the electronic equipment can arrange the high-priority participants around the first video picture display area according to the priorities of the participants, so that a user can more visually see information in the video pictures with the high-priority participants, and the experience of the whole video teleconference is improved.
Referring to fig. 3, fig. 3 is a structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 3, an electronic device 300 includes a movable off-screen camera, and the electronic device 300 further includes:
an obtaining module 301, configured to obtain azimuth information of a target object relative to the off-screen camera;
and an adjusting module 302, configured to adjust a shooting orientation of the off-screen camera according to the orientation information.
Further, the adjusting module 301 includes an adjusting sub-module;
and the adjusting submodule is used for controlling the screen lower camera to move to the first side of the screen lower camera if the target object is determined to be positioned at the first side of the screen lower camera according to the azimuth information.
Further, the adjusting sub-module is configured to:
and if the target object is determined to be positioned on the first side of the under-screen camera according to the orientation information, controlling the under-screen camera to translate a first distance and/or rotate a first angle towards the first side of the under-screen camera, wherein the first distance and/or the first angle are determined by the orientation information.
Further, the electronic device 300 further includes:
and the moving module is used for moving the shooting picture of the off-screen camera to a target area of the display screen of the electronic equipment according to the azimuth information, wherein the target area is matched with the azimuth information.
Further, the display screen displays a plurality of video pictures;
the moving module is configured to move a first video picture displayed by the display screen to a target area of the display screen according to the orientation information, and move at least one of other video pictures so that the other video pictures are located on at least one side of the first video picture, where the first video picture is the shot picture, and the other video pictures are video pictures other than the first video picture in the plurality of video pictures.
The electronic device 300 can implement each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 2, and details are not repeated here to avoid repetition.
The electronic device 300 of the embodiment of the present invention obtains the azimuth information of the target object relative to the under-screen camera; according to the azimuth information, the shooting azimuth of the camera under the screen is adjusted, so that the shooting azimuth of the camera under the screen is adjusted according to the azimuth information of the target object, the target object can be located within the shooting range of the camera under the screen, and the shooting effect is improved.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and as shown in fig. 4, the electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 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, a wearable device, a pedometer, and the like.
The processor 410 is configured to obtain orientation information of the target object relative to the off-screen camera;
and adjusting the shooting direction of the camera under the screen according to the direction information.
Further, the processor 410 is further configured to control the off-screen camera to move to a first side of the off-screen camera if it is determined that the target object is located at the first side of the off-screen camera according to the orientation information.
Further, the processor 410 is further configured to control the off-screen camera to translate a first distance to the first side of the off-screen camera and/or rotate a first angle if it is determined that the target object is located at the first side of the off-screen camera according to the orientation information, where the first distance and/or the first angle are determined by the orientation information.
Further, the processor 410 is further configured to move the shooting picture of the off-screen camera to a target area of the display screen of the electronic device according to the orientation information, where the target area is matched with the orientation information.
Further, the display screen displays a plurality of video pictures;
the processor 410 is further configured to move a first video picture displayed by the display screen to a target area of the display screen according to the orientation information, and move at least one of other video pictures, so that the other video pictures are located on at least one side of the first video picture, where the first video picture is the shot picture, and the other video pictures are video pictures other than the first video picture in the plurality of video pictures.
The electronic device 400 can implement the processes implemented by the electronic device in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
The electronic device 400 of the embodiment of the present invention obtains the azimuth information of the target object relative to the under-screen camera; and adjusting the shooting direction of the camera under the screen according to the direction information. Therefore, the shooting direction of the camera under the screen is adjusted according to the direction information of the target object, so that the target object can be located within the shooting range of the camera under the screen, and the shooting effect is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 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. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 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 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. As one type of motion sensor, an 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 an 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 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 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 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, 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 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. 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 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by 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. Further, the memory 409 may include high speed random access memory, and may 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 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 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 the processor 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program 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 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 each process of the above-mentioned shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated 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 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 invention.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
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 (6)

1. A shooting method is applied to electronic equipment, and is characterized in that the electronic equipment comprises a movable under-screen camera and comprises the following steps:
acquiring azimuth information of a target object relative to the under-screen camera;
adjusting the shooting direction of the under-screen camera according to the direction information;
after the shooting orientation of the camera under the screen is adjusted according to the orientation information, the method further comprises the following steps:
moving a shooting picture of the off-screen camera to a target area of a display screen of the electronic equipment according to the azimuth information, wherein the target area is matched with the azimuth information;
the display screen displays a plurality of video pictures, and the moving of the shooting picture of the camera under the screen to the target area of the display screen of the electronic equipment according to the azimuth information comprises the following steps:
according to the azimuth information, a first video picture displayed by the display screen is moved to a target area of the display screen, and at least one of other video pictures is moved, so that the other video pictures are positioned at least one side of the first video picture, the first video picture is the shooting picture, the other video pictures are the video pictures except the first video picture in the plurality of video pictures, and the higher the priority of the video pictures in the other video pictures is, the closer the display position of the other video pictures is to the target area.
2. The method of claim 1, wherein the adjusting the shooting orientation of the off-screen camera according to the orientation information comprises:
and if the target object is determined to be positioned on the first side of the under-screen camera according to the azimuth information, controlling the under-screen camera to move towards the first side of the under-screen camera.
3. The method of claim 2, wherein controlling the off-screen camera to move to a first side of the off-screen camera if the target object is determined to be on the first side of the off-screen camera based on the orientation information comprises:
and if the target object is determined to be positioned on the first side of the under-screen camera according to the orientation information, controlling the under-screen camera to translate a first distance and/or rotate a first angle towards the first side of the under-screen camera, wherein the first distance and/or the first angle are determined by the orientation information.
4. An electronic device, comprising: the electronic equipment includes mobilizable camera under the screen, electronic equipment still includes:
the acquisition module is used for acquiring the azimuth information of the target object relative to the under-screen camera;
the adjusting module is used for adjusting the shooting direction of the under-screen camera according to the direction information;
the moving module is used for moving the shooting picture of the off-screen camera to a target area of the display screen of the electronic equipment according to the azimuth information, wherein the target area is matched with the azimuth information;
the display screen displays a plurality of video pictures;
the moving module is configured to move a first video picture displayed by the display screen to a target area of the display screen according to the orientation information, and move at least one of other video pictures, so that the other video pictures are located on at least one side of the first video picture, the first video picture is the shot picture, the other video pictures are video pictures other than the first video picture in the plurality of video pictures, and the higher the priority of the video pictures in the other video pictures is, the closer the display position of the other video pictures is to the target area.
5. The electronic device of claim 4, wherein the adjustment module comprises an adjustment sub-module;
and the adjusting submodule is used for controlling the screen lower camera to move to the first side of the screen lower camera if the target object is determined to be positioned at the first side of the screen lower camera according to the azimuth information.
6. The electronic device of claim 5, wherein the adjustment submodule is configured to:
and if the target object is determined to be positioned on the first side of the under-screen camera according to the orientation information, controlling the under-screen camera to translate a first distance and/or rotate a first angle towards the first side of the under-screen camera, wherein the first distance and/or the first angle are determined by the orientation information.
CN202010031107.8A 2020-01-13 2020-01-13 Shooting method and electronic equipment Active CN111031253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010031107.8A CN111031253B (en) 2020-01-13 2020-01-13 Shooting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010031107.8A CN111031253B (en) 2020-01-13 2020-01-13 Shooting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111031253A CN111031253A (en) 2020-04-17
CN111031253B true CN111031253B (en) 2021-07-06

Family

ID=70202717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010031107.8A Active CN111031253B (en) 2020-01-13 2020-01-13 Shooting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111031253B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327807A (en) * 2020-03-11 2020-06-23 维沃移动通信有限公司 Electronic device
CN114071002B (en) * 2020-08-04 2023-01-31 珠海格力电器股份有限公司 Photographing method and device, storage medium and terminal equipment
CN111953879B (en) * 2020-08-31 2022-08-09 京东方科技集团股份有限公司 Under-screen camera module, electronic equipment and photo shooting method
CN115734086A (en) * 2021-08-31 2023-03-03 中兴通讯股份有限公司 Image processing method, device and system based on off-screen shooting and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071329A (en) * 2017-02-27 2017-08-18 努比亚技术有限公司 The method and device of automatic switchover camera in video call process
CN112333502A (en) * 2020-07-30 2021-02-05 深圳Tcl新技术有限公司 Intelligent television display method, intelligent television and computer readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7430025B2 (en) * 2000-08-23 2008-09-30 Semiconductor Energy Laboratory Co., Ltd. Portable electronic device
CN104917993A (en) * 2015-05-29 2015-09-16 京东方科技集团股份有限公司 Display device and video communication terminal
CN108810201B (en) * 2018-06-04 2020-07-17 Oppo广东移动通信有限公司 Electronic device and method for taking photo by using same
CN108810627B (en) * 2018-07-05 2021-05-07 京东方科技集团股份有限公司 Display device and display method thereof
CN108683855A (en) * 2018-07-26 2018-10-19 广东小天才科技有限公司 A kind of control method and terminal device of camera
CN110248254A (en) * 2019-06-11 2019-09-17 Oppo广东移动通信有限公司 Display control method and Related product
CN110636225B (en) * 2019-10-23 2021-06-15 维沃移动通信有限公司 Photographing method and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071329A (en) * 2017-02-27 2017-08-18 努比亚技术有限公司 The method and device of automatic switchover camera in video call process
CN112333502A (en) * 2020-07-30 2021-02-05 深圳Tcl新技术有限公司 Intelligent television display method, intelligent television and computer readable storage medium

Also Published As

Publication number Publication date
CN111031253A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN107957839B (en) Display control method and mobile terminal
CN109361869B (en) Shooting method and terminal
CN111031253B (en) Shooting method and electronic equipment
CN109461117B (en) Image processing method and mobile terminal
CN108989672B (en) Shooting method and mobile terminal
CN109874038B (en) Terminal display method and terminal
CN108628565B (en) Mobile terminal operation method and mobile terminal
US20200257433A1 (en) Display method and mobile terminal
WO2020233323A1 (en) Display control method, terminal device, and computer-readable storage medium
WO2021036623A1 (en) Display method and electronic device
CN110213485B (en) Image processing method and terminal
CN111562896B (en) Screen projection method and electronic equipment
CN111031234B (en) Image processing method and electronic equipment
US11863901B2 (en) Photographing method and terminal
CN108881721B (en) Display method and terminal
WO2021017730A1 (en) Screenshot method and terminal device
US20230014409A1 (en) Detection result output method, electronic device and medium
CN110928407B (en) Information display method and device
WO2020156119A1 (en) Application program interface adjustment method and mobile terminal
CN110908517A (en) Image editing method, image editing device, electronic equipment and medium
CN108536513B (en) Picture display direction adjusting method and mobile terminal
WO2021185142A1 (en) Image processing method, electronic device and storage medium
CN107729100B (en) Interface display control method and mobile terminal
CN111432154B (en) Video playing method, video processing method and electronic equipment
CN111402157B (en) Image processing method and electronic equipment

Legal Events

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