Movatterモバイル変換


[0]ホーム

URL:


CN111031253B - A shooting method and electronic device - Google Patents

A shooting method and electronic device
Download PDF

Info

Publication number
CN111031253B
CN111031253BCN202010031107.8ACN202010031107ACN111031253BCN 111031253 BCN111031253 BCN 111031253BCN 202010031107 ACN202010031107 ACN 202010031107ACN 111031253 BCN111031253 BCN 111031253B
Authority
CN
China
Prior art keywords
screen
camera
under
orientation information
screen camera
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 LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN202010031107.8ApriorityCriticalpatent/CN111031253B/en
Publication of CN111031253ApublicationCriticalpatent/CN111031253A/en
Application grantedgrantedCritical
Publication of CN111031253BpublicationCriticalpatent/CN111031253B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供一种拍摄方法及电子设备,拍摄方法包括:获取目标对象相对于所述屏下摄像头的方位信息;根据所述方位信息,调整所述屏下摄像头的拍摄方位。本发明提供的上述方法,根据目标对象的方位信息,来调整屏下摄像头的拍摄方位,可使得目标对象位于屏下摄像头的拍摄范围之内,从而提高拍摄效果。

Figure 202010031107

The present invention provides a shooting method and electronic device, the shooting method includes: acquiring orientation information of a target object relative to the under-screen camera; and adjusting the shooting orientation of the under-screen camera according to the orientation information. The above method provided by the present invention adjusts the shooting orientation of the under-screen camera according to the orientation information of the target object, so that the target object is located within the shooting range of the under-screen camera, thereby improving the shooting effect.

Figure 202010031107

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:
andstep 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 ofstep 102.
Further, in an embodiment of the present invention, instep 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, anelectronic device 300 includes a movable off-screen camera, and theelectronic device 300 further includes:
an obtainingmodule 301, configured to obtain azimuth information of a target object relative to the off-screen camera;
and anadjusting module 302, configured to adjust a shooting orientation of the off-screen camera according to the orientation information.
Further, the adjustingmodule 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, theelectronic 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.
Theelectronic 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.
Theelectronic 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, theelectronic 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, andpower 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.
Theprocessor 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, theprocessor 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, theprocessor 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, theprocessor 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;
theprocessor 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.
Theelectronic 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.
Theelectronic 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, theradio 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 theprocessor 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, theradio 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 thenetwork module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
Theaudio output unit 403 may convert audio data received by theradio frequency unit 401 or thenetwork module 402 or stored in thememory 409 into an audio signal and output as sound. Also, theaudio 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.). Theaudio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
Theinput unit 404 is used to receive audio or video signals. Theinput Unit 404 may include a Graphics Processing Unit (GPU) 4041 and amicrophone 4042, and theGraphics 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 thedisplay unit 406. The image frames processed by thegraphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via theradio frequency unit 401 or thenetwork module 402. Themicrophone 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 theradio frequency unit 401 in case of the phone call mode.
Theelectronic device 400 also includes at least onesensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of thedisplay panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off thedisplay panel 4061 and/or the backlight when theelectronic 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); thesensors 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.
Thedisplay unit 406 is used to display information input by the user or information provided to the user. TheDisplay unit 406 may include aDisplay panel 4061, and theDisplay panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Theuser 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, theuser input unit 407 includes atouch panel 4071 andother 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 neartouch panel 4071 using a finger, a stylus, or any suitable object or attachment). Thetouch 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 theprocessor 410, receives a command from theprocessor 410, and executes the command. In addition, thetouch 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 thetouch panel 4071, theuser input unit 407 may includeother input devices 4072. Specifically, theother 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, thetouch panel 4071 can be overlaid on thedisplay panel 4061, and when thetouch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to theprocessor 410 to determine the type of the touch event, and then theprocessor 410 provides a corresponding visual output on thedisplay panel 4061 according to the type of the touch event. Although in fig. 4, thetouch panel 4071 and thedisplay panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, thetouch panel 4071 and thedisplay panel 4061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
Theinterface unit 408 is an interface for connecting an external device to theelectronic 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. Theinterface 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 theelectronic apparatus 400 or may be used to transmit data between theelectronic apparatus 400 and an external device.
Thememory 409 may be used to store software programs as well as various data. Thememory 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, thememory 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.
Theprocessor 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 thememory 409 and calling data stored in thememory 409, thereby performing overall monitoring of the electronic device.Processor 410 may include one or more processing units; preferably, theprocessor 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 theprocessor 410.
Theelectronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, thepower supply 411 may be logically connected to theprocessor 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, theelectronic 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 aprocessor 410, amemory 409, and a computer program that is stored in thememory 409 and can be run on theprocessor 410, and when being executed by theprocessor 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)

Translated fromChinese
1.一种拍摄方法,应用于电子设备,其特征在于,所述电子设备包括可移动的屏下摄像头,包括:1. a photographing method, applied to electronic equipment, is characterized in that, described electronic equipment comprises a movable under-screen camera, comprising:获取目标对象相对于所述屏下摄像头的方位信息;Obtain the orientation information of the target object relative to the under-screen camera;根据所述方位信息,调整所述屏下摄像头的拍摄方位;Adjust the shooting orientation of the under-screen camera according to the orientation information;在所述根据所述方位信息,调整所述屏下摄像头的拍摄方位之后,还包括:After adjusting the shooting orientation of the under-screen camera according to the orientation information, the method further includes:根据所述方位信息,将所述屏下摄像头的拍摄画面移动至所述电子设备显示屏的目标区域,其中,所述目标区域与所述方位信息匹配;According to the orientation information, move the shooting image of the under-screen camera to a target area on the display screen of the electronic device, where the target area matches the orientation information;所述显示屏显示有多个视频画面,所述根据所述方位信息,将所述屏下摄像头的拍摄画面移动至所述电子设备显示屏的目标区域,包括:The display screen displays a plurality of video images, and according to the orientation information, moving the shooting image of the under-screen camera to the target area of the electronic device display screen includes:根据所述方位信息,将所述显示屏显示的第一视频画面移动至所述显示屏的目标区域,并移动其他视频画面中的至少一个视频画面,使得所述其他视频画面位于所述第一视频画面的至少一侧,所述第一视频画面为所述拍摄画面,所述其他视频画面为所述多个视频画面中除所述第一视频画面之外的视频画面,所述其他视频画面中视频画面的优先级越高,其显示位置越靠近所述目标区域。According to the orientation information, move the first video picture displayed on the display screen to the target area of the display screen, and move at least one video picture in the other video pictures, so that the other video picture is located in the first video picture At least one side of a video picture, the first video picture is the shooting picture, the other video pictures are video pictures other than the first video picture among the plurality of video pictures, and the other video pictures The higher the priority of the video picture in the middle, the closer its display position is to the target area.2.根据权利要求1所述的方法,其特征在于,所述根据所述方位信息,调整所述屏下摄像头的拍摄方位,包括:2. The method according to claim 1, wherein the adjusting the shooting orientation of the under-screen camera according to the orientation information comprises:若根据所述方位信息确定所述目标对象位于所述屏下摄像头的第一侧,则控制所述屏下摄像头向所述屏下摄像头的所述第一侧移动。If it is determined according to the orientation information that the target object is located on the first side of the off-screen camera, the off-screen camera is controlled to move to the first side of the off-screen camera.3.根据权利要求2所述的方法,其特征在于,所述若根据所述方位信息确定所述目标对象位于所述屏下摄像头的第一侧,则控制所述屏下摄像头向所述屏下摄像头的所述第一侧移动,包括:3 . The method according to claim 2 , wherein, if it is determined according to the orientation information that the target object is located on the first side of the under-screen camera, the under-screen camera is controlled to move toward the screen. 4 . The first side movement of the lower camera includes:若根据所述方位信息确定所述目标对象位于所述屏下摄像头的所述第一侧,则控制所述屏下摄像头向所述屏下摄像头的所述第一侧平移第一距离,和/或旋转第一角度,其中,所述第一距离和/或第一角度由所述方位信息确定。If it is determined according to the orientation information that the target object is located on the first side of the off-screen camera, controlling the off-screen camera to translate to the first side of the off-screen camera by a first distance, and/ Or rotated by a first angle, wherein the first distance and/or the first angle is determined by the orientation information.4.一种电子设备,其特征在于,包括:所述电子设备包括可移动的屏下摄像头,所述电子设备还包括:4. An electronic device, comprising: the electronic device comprises a movable under-screen camera, and the electronic device further comprises:获取模块,用于获取目标对象相对于所述屏下摄像头的方位信息;an acquisition module for acquiring the orientation information of the target object relative to the under-screen camera;调整模块,用于根据所述方位信息,调整所述屏下摄像头的拍摄方位;an adjustment module, configured to adjust the shooting orientation of the under-screen camera according to the orientation information;移动模块,用于根据所述方位信息,将所述屏下摄像头的拍摄画面移动至所述电子设备显示屏的目标区域,其中,所述目标区域与所述方位信息匹配;a moving module, configured to move the captured image of the under-screen camera to a target area of the display screen of the electronic device according to the orientation information, wherein the target area matches the orientation information;所述显示屏显示有多个视频画面;The display screen displays a plurality of video images;所述移动模块,用于根据所述方位信息,将所述显示屏显示的第一视频画面移动至所述显示屏的目标区域,并移动其他视频画面中的至少一个视频画面,使得所述其他视频画面位于所述第一视频画面的至少一侧,所述第一视频画面为所述拍摄画面,所述其他视频画面为所述多个视频画面中除所述第一视频画面之外的视频画面,所述其他视频画面中视频画面的优先级越高,其显示位置越靠近所述目标区域。The moving module is configured to move the first video picture displayed on the display screen to the target area of the display screen according to the orientation information, and move at least one video picture in the other video pictures, so that the other video pictures are moved. A video picture is located on at least one side of the first video picture, the first video picture is the shooting picture, and the other video pictures are videos other than the first video picture among the plurality of video pictures picture, the higher the priority of the video picture in the other video pictures, the closer the display position of the video picture is to the target area.5.根据权利要求4所述的电子设备,其特征在于,所述调整模块,包括调整子模块;5. The electronic device according to claim 4, wherein the adjustment module comprises an adjustment sub-module;所述调整子模块,用于若根据所述方位信息确定所述目标对象位于所述屏下摄像头的第一侧,则控制所述屏下摄像头向所述屏下摄像头的所述第一侧移动。The adjustment submodule is configured to control the off-screen camera to move to the first side of the off-screen camera if it is determined according to the orientation information that the target object is located on the first side of the off-screen camera .6.根据权利要求5所述的电子设备,其特征在于,所述调整子模块,用于:6. The electronic device according to claim 5, wherein the adjustment submodule is used for:若根据所述方位信息确定所述目标对象位于所述屏下摄像头的所述第一侧,则控制所述屏下摄像头向所述屏下摄像头的所述第一侧平移第一距离,和/或旋转第一角度,其中,所述第一距离和/或第一角度由所述方位信息确定。If it is determined according to the orientation information that the target object is located on the first side of the off-screen camera, controlling the off-screen camera to translate to the first side of the off-screen camera by a first distance, and/ Or rotated by a first angle, wherein the first distance and/or the first angle is determined by the orientation information.
CN202010031107.8A2020-01-132020-01-13 A shooting method and electronic deviceActiveCN111031253B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010031107.8ACN111031253B (en)2020-01-132020-01-13 A shooting method and electronic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010031107.8ACN111031253B (en)2020-01-132020-01-13 A shooting method and electronic device

Publications (2)

Publication NumberPublication Date
CN111031253A CN111031253A (en)2020-04-17
CN111031253Btrue CN111031253B (en)2021-07-06

Family

ID=70202717

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010031107.8AActiveCN111031253B (en)2020-01-132020-01-13 A shooting method and electronic device

Country Status (1)

CountryLink
CN (1)CN111031253B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111327807A (en)*2020-03-112020-06-23维沃移动通信有限公司Electronic device
CN114071002B (en)*2020-08-042023-01-31珠海格力电器股份有限公司Photographing method and device, storage medium and terminal equipment
CN111953900B (en)2020-08-072022-01-28维沃移动通信有限公司Picture shooting method and device and electronic equipment
CN111953879B (en)*2020-08-312022-08-09京东方科技集团股份有限公司Under-screen camera module, electronic equipment and photo shooting method
CN115734086A (en)*2021-08-312023-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 numberPriority datePublication dateAssigneeTitle
CN107071329A (en)*2017-02-272017-08-18努比亚技术有限公司The method and device of automatic switchover camera in video call process
CN112333502A (en)*2020-07-302021-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 numberPriority datePublication dateAssigneeTitle
US7430025B2 (en)*2000-08-232008-09-30Semiconductor Energy Laboratory Co., Ltd.Portable electronic device
CN104917993A (en)*2015-05-292015-09-16京东方科技集团股份有限公司Display device and video communication terminal
CN108810201B (en)*2018-06-042020-07-17Oppo广东移动通信有限公司Electronic device and method for taking photo by using same
CN108810627B (en)*2018-07-052021-05-07京东方科技集团股份有限公司Display device and display method thereof
CN108683855A (en)*2018-07-262018-10-19广东小天才科技有限公司Camera control method and terminal equipment
CN110248254A (en)*2019-06-112019-09-17Oppo广东移动通信有限公司Display control method and Related product
CN110636225B (en)*2019-10-232021-06-15维沃移动通信有限公司 Photographing method and electronic device

Patent Citations (2)

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

Also Published As

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

Similar Documents

PublicationPublication DateTitle
CN108513070B (en) Image processing method, mobile terminal and computer-readable storage medium
EP3890303B1 (en)Photographing method and terminal
CN107957839B (en)Display control method and mobile terminal
CN111031253B (en) A shooting method and electronic device
KR102826304B1 (en) Shooting method and terminal
CN108989672B (en) A shooting method and mobile terminal
CN110213485B (en) An image processing method and terminal
CN110602389B (en) A display method and electronic device
CN108449541B (en)Panoramic image shooting method and mobile terminal
US11863901B2 (en)Photographing method and terminal
WO2020233323A1 (en)Display control method, terminal device, and computer-readable storage medium
CN111314616A (en)Image acquisition method, electronic device, medium and wearable device
CN108089801A (en)A kind of method for information display and mobile terminal
WO2022252823A1 (en)Method and apparatus for generating live video
WO2021017730A1 (en)Screenshot method and terminal device
CN109871253A (en) A display method and terminal
CN110363729B (en) An image processing method, terminal device and computer-readable storage medium
CN108536513B (en) A kind of picture display direction adjustment method and mobile terminal
CN111432154B (en)Video playing method, video processing method and electronic equipment
WO2021185142A1 (en)Image processing method, electronic device and storage medium
CN109062483B (en)Image processing method and terminal equipment
CN109660750B (en)Video call method and terminal
CN108628508B (en) A method for adjusting clipping window and mobile terminal
US11838637B2 (en)Video recording method and terminal
CN111405226B (en)Video session method and electronic equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp