CN114071002B - Photographing method and device, storage medium and terminal equipment - Google Patents

Photographing method and device, storage medium and terminal equipment Download PDF

Info

Publication number
CN114071002B
CN114071002B CN202010772228.8A CN202010772228A CN114071002B CN 114071002 B CN114071002 B CN 114071002B CN 202010772228 A CN202010772228 A CN 202010772228A CN 114071002 B CN114071002 B CN 114071002B
Authority
CN
China
Prior art keywords
screen
camera
target area
under
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010772228.8A
Other languages
Chinese (zh)
Other versions
CN114071002A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010772228.8A priority Critical patent/CN114071002B/en
Publication of CN114071002A publication Critical patent/CN114071002A/en
Application granted granted Critical
Publication of CN114071002B publication Critical patent/CN114071002B/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
    • 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/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to the technical field of mobile terminals, in particular to a photographing method, a photographing device, a storage medium and terminal equipment, which are used for acquiring an image acquired by an off-screen camera; if the face is detected in the image, determining a target area according to a vertical projection point of a preset part of the face on a screen, wherein the target area is an area with the best photographing effect; and if the under-screen camera is not positioned in the target area, adjusting the under-screen camera to enable the under-screen camera to execute the photographing effect in the target area, so that the obtained photographing effect is optimal.

Description

Photographing method and device, storage medium and terminal equipment
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a photographing method, an apparatus, a storage medium, and a terminal device.
Background
With the development of electronic technology, portable mobile smart devices such as mobile phones and tablet computers are widely used in daily life of people, wherein a photographing function of the smart device is one of functions often used by users.
Since most users are not professional persons who take pictures, when the users use the intelligent device to take pictures, the shooting angle, the shooting position and the like can not be well controlled, and the final shooting effect is poor. Therefore, how to improve the photographing effect of the smart device becomes an urgent problem to be solved.
Disclosure of Invention
In order to solve the problem of improving the photographing effect of the intelligent device, the invention provides a photographing method, a photographing device, a storage medium and a terminal device.
In a first aspect, the present invention provides a method of taking a photograph, the method comprising:
acquiring an image acquired by an off-screen camera;
if the face is detected in the image, determining a target area according to a vertical projection point of a preset part of the face on a screen;
and if the under-screen camera is not in the target area, adjusting the under-screen camera so that the under-screen camera executes photographing operation in the target area.
Optionally, when there is one under-screen camera, the step of adjusting the under-screen camera so that the under-screen camera executes the photographing operation in the target area includes:
calculating a first moving path of the off-screen camera according to the current position of the off-screen camera and the target area;
and controlling the under-screen camera to move to the target area according to the first moving path.
Optionally, when there are a plurality of the sub-screen cameras, the adjusting the sub-screen camera to make the sub-screen camera execute the photographing operation in the target area includes:
acquiring the position of each under-screen camera;
determining the screen lower camera closest to the target area as a screen lower camera to be moved;
calculating a second moving path of the camera under the screen to be moved according to the position of the camera under the screen to be moved and the target area;
and controlling the to-be-moved under-screen camera to move to the target area according to the second moving path.
Optionally, the method further comprises:
and generating first prompt information, wherein the first prompt information is used for prompting that the under-screen camera is not in the target area.
Optionally, the method further comprises:
and if the under-screen camera is in the target area, the under-screen camera executes photographing operation.
Optionally, the method further comprises:
and generating second prompt information, wherein the second prompt information is used for prompting that the off-screen camera at the current position is in the target area.
Optionally, the step of determining the target region according to a vertical projection point of the preset face part on the screen includes:
determining the position of the bridge of the nose according to the image;
and determining a target area according to the vertical projection point of the position of the nose bridge on the screen.
Optionally, the preset face parts are two eyes, and the step of determining the target area according to a vertical projection point of the preset face part on the screen includes:
determining the positions of two eyes according to the image;
determining a candidate area of each eye on the screen according to the vertical projection points of the two eyes on the screen;
and determining a middle area between the two candidate areas as a target area.
In a second aspect, the present invention provides a photographing apparatus, the apparatus comprising:
the acquisition module is used for acquiring images acquired by the off-screen camera;
the determining module is used for determining a target area according to a vertical projection point of a preset part of the human face on a screen when the human face is detected in the image;
and the adjusting module is used for adjusting the camera under the screen when the camera under the screen is not positioned in the target area, so that the camera under the screen executes photographing operation in the target area.
In a third aspect, the present invention also provides a storage medium storing a computer program, which when executed by one or more processors, implements the photographing method according to the first aspect.
In a fourth aspect, the present invention further provides a terminal device, including a memory and a processor, where the memory stores a computer program, and the computer program, when executed by the processor, executes the photographing method according to the first aspect.
Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects:
the invention provides a photographing method, a photographing device, a storage medium and terminal equipment, wherein images acquired by an off-screen camera are acquired; if the face is detected in the image, determining a target area according to a vertical projection point of a preset part of the face on a screen, wherein the target area is an area with the best photographing effect; and if the under-screen camera is not positioned in the target area, adjusting the under-screen camera to enable the under-screen camera to execute the photographing effect in the target area, so that the obtained photographing effect is optimal.
Drawings
The invention will be described in more detail hereinafter on the basis of embodiments and with reference to the accompanying drawings:
fig. 1 is a schematic flow chart of a photographing method according to an embodiment of the present invention;
fig. 2 is another schematic flow chart of a photographing method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a photographing scene provided in an embodiment of the present invention;
fig. 4 is another schematic flow chart of a photographing method according to an embodiment of the present invention;
fig. 5 is another schematic flow chart of a photographing method according to an embodiment of the present invention;
fig. 6 is another schematic flow chart of a photographing method according to an embodiment of the present invention;
fig. 7 is a connection block diagram of a photographing apparatus according to an embodiment of the present invention.
Reference numerals: 1-a mobile terminal; 2-the user; 3-target area; 100-an acquisition module; 200-a determination module; 300-adjusting module.
In the drawings, like parts are designated with like reference numerals, and the drawings are not drawn to scale.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the accompanying drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the corresponding technical effects can be fully understood and implemented. The embodiments of the present invention and the features of the embodiments can be combined with each other without conflict, and the formed technical solutions are within the scope of the present invention.
Example one
In order to solve the above technical problems in the prior art, the present embodiment provides a photographing method, which may be applied to a processor of a mobile terminal (e.g., a mobile phone, a tablet computer, etc.), where the mobile terminal further includes a camera under a screen and a touch screen. The touch screen may be an OLED (Organic Light-Emitting Diode) screen, an opening for carrying a camera is not disposed on the screen, and the camera under the screen is disposed between the touch screen and a hardware layer (including a processor). When the mobile device is in a non-photographing state, the light transmittance of the whole screen is low, and the whole screen normally displays videos, images or display interfaces and the like. When the mobile equipment is in a photographing state, the light transmittance of the display screen at the position corresponding to the camera under the screen is increased, namely, the display screen at the position corresponding to the camera under the screen is in a transparent state relative to a non-photographing state, so that the imaging of the camera under the screen is realized.
In the following, a method provided in this embodiment is described, and fig. 1 is a schematic flow chart of a photographing method provided in this embodiment of the present invention, it should be noted that the photographing method provided in this embodiment of the present invention is not limited by fig. 1 and the following specific sequence, and it should be understood that, in other embodiments, the sequence of some steps in the photographing method provided in this embodiment of the present invention may be interchanged according to actual needs, or some steps in the photographing method may be omitted or deleted. The specific process involved in fig. 1 will be explained below, and as shown in fig. 1, the method includes:
s1, obtaining an image collected by the camera under the screen.
And under the condition that the mobile terminal is started, opening a camera application on the mobile terminal, and after the camera under the screen is determined to be started, acquiring image information by the camera and sending the image information to the processor. The processor identifies the image using a face recognition algorithm. If no face is identified in the image, in a possible implementation manner, it is determined that a picture to be photographed by a user does not have a face, and may be a landscape, an object or the like, the off-screen camera is kept at the current position, and a photographing operation is performed; in another possible implementation manner, the off-screen camera is a front camera, and is used for taking a self-timer, and when the face is not detected, the step of acquiring the image is continuously executed.
If a face is recognized in the image, the process proceeds to step S2.
And S2, if the face is detected in the image, determining a target area according to a vertical projection point of a preset part of the face on a screen.
In a possible implementation manner, when the preset portion of the face is a nose bridge, fig. 2 is another schematic flow chart of the photographing method according to the embodiment of the present invention, please refer to fig. 2, and step S2 includes the following sub-steps:
and a substep S2-11 of determining the position of the bridge of the nose according to the image.
And a substep S2-12 of determining a target area according to the vertical projection point of the position of the nose bridge on the screen.
When the preset face part is the eyebrow center or the nose bridge, fig. 3 is a schematic diagram of a photographing scene provided by the embodiment of the present invention, referring to fig. 3, in a side view of the mobile terminal 1 shown in fig. 3, a vertical projection point of the eyebrow center or the nose bridge of the user 2 on the screen of the mobile terminal 1, a square with the projection point as the center, or a circle with the projection point as the center is determined as the target area 3.
And selecting a target area according to the projection point, and preventing light rays emitted by a screen area used for displaying around the camera under the screen from interfering with the imaging of the camera under the screen so as to ensure that a better imaging result is obtained.
In another possible implementation manner, when the preset part of the face is two eyes, fig. 4 is another schematic flow chart of the photographing method according to the embodiment of the present invention, please refer to fig. 4, and step S2 includes the following sub-steps:
and a substep S2-21 of determining the positions of the two eyes according to the image.
Alternatively, both eyes of the user are identified in the image using an eyeball center positioning method.
And a substep S2-22, determining a candidate area of each eye on the screen according to the vertical projection points of the two eyes on the screen respectively.
And a substep S2-23 of determining a middle region between the two candidate regions as a target region.
And S3, judging whether the camera is in the target area.
If the camera is in the target area, the user is in the best shooting position, and the process goes to step S4; if the camera is not in the target area, it indicates that the user is not in the best shooting position, the off-screen camera needs to be adjusted, and the process goes to step S5.
And S4, executing the photographing operation by the camera under the screen.
And generating second prompt information, wherein the second prompt information is used for prompting that the off-screen camera at the current position is in the target area. To prompt the user that the picture can be taken normally.
Wherein, the second prompt message can be sent out in the form of icons, characters or indicator lights. For example, an icon corresponding to the second prompt message is displayed. The user is prompted in the form of text, such as "may take a picture" or the like. Or an indicator light of a particular color (e.g., white or green) or a location to alert the user.
And S5, adjusting the off-screen camera to enable the off-screen camera to execute photographing operation in the target area.
And generating first prompt information, wherein the first prompt information is used for prompting that the camera under the screen is not in the target area.
Wherein, the first prompt message can be sent out in the form of an icon, a character or an indicator light. For example, an icon corresponding to the first prompt message is displayed. The user is prompted in the form of text, such as "may take a picture" or the like. Or display a specific color (e.g., blue or red) indicator light or a specific location indicator light to alert the user.
According to the photographing method provided by the embodiment, an image collected by a camera under a screen is obtained; if the face is detected in the image, determining a target area according to a vertical projection point of a preset part of the face on a screen, wherein the target area is an area with the best photographing effect; and if the under-screen camera is not in the target area, adjusting the under-screen camera to enable the under-screen camera to execute the photographing effect in the target area, so that the obtained photographing effect is optimal.
Example two
Fig. 5 is another schematic flow chart of a photographing method according to an embodiment of the present invention when there is one off-screen camera, and referring to fig. 5, step S5 includes the following sub-steps:
and S5-11, calculating a first moving path of the off-screen camera according to the current position of the off-screen camera and the target area.
And calculating the optimal path of the movement of the camera under the screen, namely a first movement path, according to the current position and the target position.
And S5-12, controlling the under-screen camera to move to the target area according to the first moving path.
The camera moves to the target area from the current position of the camera under the screen according to the first moving path under the control screen, and the camera moves to the target area with better photographing effect from the current position with poor photographing effect under the screen.
Optionally, a slide rail is arranged on a hardware layer of the terminal device, the slide rail is connected with the screen lower camera, and when the processor controls the screen lower camera to move on the slide rail, the processor moves from the current position to the target position according to the first moving path.
EXAMPLE III
When there are multiple (e.g., 2 or 3) off-screen cameras, fig. 6 is another schematic flow chart of a photographing method according to an embodiment of the present invention, please refer to fig. 6, where step S5 includes the following sub-steps:
and S5-21, acquiring the position of each under-screen camera.
And S5-22, determining the screen lower camera closest to the target area as the screen lower camera to be moved.
It can be understood that the camera under the screen to be moved is the camera to be used for taking pictures.
And S5-23, calculating a second moving path of the screen lower camera to be moved according to the position of the screen lower camera to be moved and the target area.
And calculating the optimal moving path of the camera under the screen to be moved, namely a second moving path according to the position of the camera under the screen to be moved and the target area.
And S5-24, controlling the to-be-moved under-screen camera to move to the target area according to a second moving path.
The control treats that the camera moves to the target area from the position of treating the camera under the mobile screen according to first removal route under the mobile screen, and what can understand treats that the camera moves to the target area of photographic effect preferred from the not good position of photographic effect under the mobile screen.
Optionally, a sliding rail is arranged on a hardware layer of the terminal device, the sliding rail is connected with each screen lower camera, and when the processor controls the screen lower camera to move on the sliding rail, the processor moves from the current position of the screen lower camera to the target position according to the second moving path.
In this embodiment, through setting up camera under a plurality of screens, select the camera under the screen nearest apart from the target location and remove to ensure that camera can remove to the target area in short time under the screen, with the execution operation of shooing, reduced user's latency, promoted user's experience impression.
Example four
On the basis of the foregoing embodiment, this embodiment provides a photographing method, which is applied to a terminal device where a slide rail is damaged or is not provided with a slide rail, and when there are a plurality of (for example, 3) off-screen cameras, the method further includes the following steps:
step a, when a photographing function is started, acquiring an image acquired by an off-screen camera at the current position;
it can be understood that the under-screen camera at the current position is the under-screen camera which is being used when the user uses the photographing function.
And b, if the face is detected in the image, determining a target area according to a vertical projection point of a preset part of the face on the screen.
In a possible implementation manner, the screen is divided into three regions, for example, the screen is equally divided into a first region, a second region and a third region, a camera is arranged in each region, when the current position belongs to the first region, the target region is determined according to a vertical projection point of a preset part (for example, an eyebrow center) of a human face on the screen, and according to the position of the projection point, for example, when the projection point is in the second region, the target region is determined to be the second region.
And c, controlling the off-screen camera at the current position to be closed, and controlling the off-screen camera at the target area to be opened.
The camera under the screen of the current position is closed, the light transmittance of the current position is reduced, and the current position can normally display images. The camera under the screen that the target area corresponds is opened, and the luminousness of target area risees, and people and the thing that are shot can form an image on the camera through the target area.
In this embodiment, when the slide rail damaged, can directly open the camera under the screen that corresponds the region, avoided damaging the not good effect of shooing that leads to because of the slide rail. And, need not to remove the slide rail, directly open the camera under the screen that corresponds the region and can carry out the operation of shooing, practiced thrift user's latency.
Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects:
(1) Acquiring an image acquired by the camera under the screen; if the face is detected in the image, determining a target area according to a vertical projection point of a preset part of the face on a screen, wherein the target area is an area with the best photographing effect; if the off-screen camera is not in the target area, adjusting the off-screen camera to enable the off-screen camera to execute a photographing effect in the target area, wherein the obtained photographing effect is optimal;
(2) Selecting a target area according to the projection point, and preventing light rays emitted by a screen area around the under-screen camera from interfering with the imaging of the under-screen camera so as to ensure that a better imaging result is obtained;
(3) The multiple under-screen cameras are arranged, and the under-screen camera closest to the target position is selected to move, so that the under-screen camera can be ensured to move to the target area in a short time, the photographing operation is executed, the waiting time of a user is reduced, and the experience of the user is improved;
(4) When the slide rail damages, can directly open the camera under the screen that corresponds the region, avoided because of the slide rail damages the not good effect of shooing that leads to. And, need not to remove the slide rail, directly open the camera under the screen that corresponds the region and can carry out the operation of shooing, practiced thrift user's latency.
EXAMPLE five
The present embodiment provides a photographing apparatus for implementing the above method embodiments, and specifically, fig. 7 is a connection block diagram of the photographing apparatus according to the embodiment of the present invention, and referring to fig. 7, the photographing apparatus includes: an acquisition module 100, a determination module 200, and an adjustment module 300.
The acquisition module 100 is used for acquiring an image acquired by an off-screen camera;
it is understood that the obtaining module 100 is configured to perform the step S1.
The determining module 200 is configured to determine a target area according to a vertical projection point of a preset part of a human face on a screen when the human face is detected in the image;
it is understood that the determining module 200 is configured to perform the step S2.
The adjusting module 300 is configured to adjust the off-screen camera when the off-screen camera is not located in the target area, so that the off-screen camera performs a photographing operation in the target area.
It is understood that the adjusting module 300 is used for executing the step S5.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, reference may be made to corresponding processes in the foregoing method embodiments for specific working processes of the obtaining module 100, the determining module 200, and the adjusting module 300, which are not described herein again.
Example six
The present embodiment provides a storage medium, in which a computer program is stored, and when the storage medium is executed by one or more processors, the photographing method in any one of the first to fourth embodiments is implemented.
The storage medium may be a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc.
EXAMPLE seven
The embodiment provides a terminal device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the photographing method in any one of the first to fourth embodiments is executed.
The Processor may be an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and is configured to perform the photographing method of the first to third embodiments.
The Memory may be implemented by any type or combination of volatile and non-volatile Memory devices, such as Static Random Access Memory (SRAM), electrically Erasable Programmable Read-Only Memory (EEPROM), erasable Programmable Read-Only Memory (EPROM), programmable Read-Only Memory (PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk.
In summary, the photographing method, the photographing device, the storage medium and the terminal device provided by the invention acquire an image acquired by an off-screen camera; if the face is detected in the image, determining a target area according to a vertical projection point of a preset part of the face on a screen, wherein the target area is an area with the best photographing effect; and if the under-screen camera is not positioned in the target area, adjusting the under-screen camera to enable the under-screen camera to execute the photographing effect in the target area, so that the obtained photographing effect is optimal.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It should be noted that, in the present invention, 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 also other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of taking a picture, the method comprising:
acquiring an image acquired by an off-screen camera;
if the face is detected in the image, determining a target area according to a vertical projection point of a preset part of the face on a screen;
if the camera under the screen is not in the target area, adjusting the camera under the screen to make the camera under the screen execute the photographing operation in the target area, wherein when the camera under the screen is multiple, the camera under the screen is adjusted to make the camera under the screen execute the photographing operation in the target area, including: acquiring the position of each under-screen camera; determining the screen lower camera closest to the target area as a screen lower camera to be moved; calculating a second moving path of the camera under the screen to be moved according to the position of the camera under the screen to be moved and the target area; and controlling the to-be-moved under-screen camera to move to the target area according to the second moving path.
2. The method of claim 1, wherein when there is one under-screen camera, the step of adjusting the under-screen camera to make the under-screen camera perform a photographing operation in the target area comprises:
calculating a first moving path of the off-screen camera according to the current position of the off-screen camera and the target area;
and controlling the under-screen camera to move to the target area according to the first moving path.
3. The method of claim 1, further comprising:
and generating first prompt information, wherein the first prompt information is used for prompting that the under-screen camera is not in the target area.
4. The method of claim 1, further comprising:
and if the under-screen camera is in the target area, the under-screen camera executes photographing operation.
5. The method of claim 4, further comprising:
and generating second prompt information, wherein the second prompt information is used for prompting that the under-screen camera is in a target area.
6. The method according to claim 1, wherein the preset face part is a nose bridge, and the step of determining the target region according to a vertical projection point of the preset face part on the screen comprises:
determining the position of the nose bridge according to the image;
and determining a target area according to the vertical projection point of the position of the nose bridge on the screen.
7. The method according to claim 1, wherein the preset human face portions are two eyes, and the step of determining the target area according to the vertical projection point of the preset human face portion on the screen comprises:
determining the positions of two eyes according to the image;
determining a candidate area of each eye on the screen according to the vertical projection points of the two eyes on the screen;
and determining a middle area between the two candidate areas as a target area.
8. A photographing apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring images acquired by the off-screen camera;
the determining module is used for determining a target area according to a vertical projection point of a preset part of the human face on a screen when the human face is detected in the image;
the adjusting module is used for adjusting the camera under the screen when the camera under the screen is not in the target area, so that the camera under the screen executes the photographing operation in the target area, wherein when the camera under the screen is multiple, the camera under the screen is adjusted so that the camera under the screen executes the photographing operation in the target area, and the adjusting module comprises the following steps: acquiring the position of each under-screen camera; determining the screen lower camera closest to the target area as a screen lower camera to be moved; calculating a second moving path of the to-be-moved screen lower camera according to the position of the to-be-moved screen lower camera and the target area; and controlling the to-be-moved under-screen camera to move to the target area according to the second moving path.
9. A storage medium storing a computer program, the storage medium implementing the photographing method according to any one of claims 1 to 7 when executed by one or more processors.
10. A terminal device characterized by comprising a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, performs the photographing method according to any one of claims 1-7.
CN202010772228.8A 2020-08-04 2020-08-04 Photographing method and device, storage medium and terminal equipment Active CN114071002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010772228.8A CN114071002B (en) 2020-08-04 2020-08-04 Photographing method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010772228.8A CN114071002B (en) 2020-08-04 2020-08-04 Photographing method and device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN114071002A CN114071002A (en) 2022-02-18
CN114071002B true CN114071002B (en) 2023-01-31

Family

ID=80231835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010772228.8A Active CN114071002B (en) 2020-08-04 2020-08-04 Photographing method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN114071002B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754216A (en) * 2015-03-06 2015-07-01 广东欧珀移动通信有限公司 Photographing method and device
WO2017124899A1 (en) * 2016-01-20 2017-07-27 努比亚技术有限公司 Information processing method, apparatus and electronic device
CN108133183A (en) * 2017-12-19 2018-06-08 深圳怡化电脑股份有限公司 Fixed point captures method, apparatus, self-service device and the computer readable storage medium of portrait
CN110493523A (en) * 2019-08-27 2019-11-22 Oppo广东移动通信有限公司 Image display method, device, terminal and storage medium
CN110809115A (en) * 2019-10-31 2020-02-18 维沃移动通信有限公司 Shooting method and electronic equipment
CN111031253A (en) * 2020-01-13 2020-04-17 维沃移动通信有限公司 Shooting method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754216A (en) * 2015-03-06 2015-07-01 广东欧珀移动通信有限公司 Photographing method and device
WO2017124899A1 (en) * 2016-01-20 2017-07-27 努比亚技术有限公司 Information processing method, apparatus and electronic device
CN108133183A (en) * 2017-12-19 2018-06-08 深圳怡化电脑股份有限公司 Fixed point captures method, apparatus, self-service device and the computer readable storage medium of portrait
CN110493523A (en) * 2019-08-27 2019-11-22 Oppo广东移动通信有限公司 Image display method, device, terminal and storage medium
CN110809115A (en) * 2019-10-31 2020-02-18 维沃移动通信有限公司 Shooting method and electronic equipment
CN111031253A (en) * 2020-01-13 2020-04-17 维沃移动通信有限公司 Shooting method and electronic equipment

Also Published As

Publication number Publication date
CN114071002A (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN108986199B (en) Virtual model processing method and device, electronic equipment and storage medium
EP3092790B1 (en) Adaptive camera control for reducing motion blur during real-time image capture
RU2649773C2 (en) Controlling camera with face detection
US7349020B2 (en) System and method for displaying an image composition template
US11816257B2 (en) Image changes based on gaze location
CN111586282B (en) Shooting method, shooting device, terminal and readable storage medium
KR20130071793A (en) Digital photographing apparatus splay apparatus and control method thereof
WO2010136853A1 (en) Self-portrait assistance in image capturing devices
WO2016188185A1 (en) Photo processing method and apparatus
CN113938602B (en) Image processing method, electronic device, chip and readable storage medium
CN114071002B (en) Photographing method and device, storage medium and terminal equipment
CN108600643A (en) Image capturing method and device
CN111586280A (en) Shooting method, shooting device, terminal and readable storage medium
CN111461950A (en) Image processing method and device
CN115623313A (en) Image processing method, image processing apparatus, electronic device, and storage medium
CN114697530B (en) Photographing method and device for intelligent view finding recommendation
CN110910304B (en) Image processing method, device, electronic equipment and medium
CN114390189A (en) Image processing method, device, storage medium and mobile terminal
KR102216145B1 (en) Apparatus and Method of Image Support Technology Using OpenCV
WO2023236209A1 (en) Image processing method and apparatus, electronic device, and storage medium
US20220343474A1 (en) Method and apparatus for processing image, and storage medium
CN108235817A (en) Flash lamp reminding method and terminal device
CN116939351A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN116782022A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN116757940A (en) Method, device, equipment and medium for eliminating specular reflection area

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