CN110691199A - Face automatic exposure method and device, shooting equipment and storage medium - Google Patents

Face automatic exposure method and device, shooting equipment and storage medium Download PDF

Info

Publication number
CN110691199A
CN110691199A CN201910957628.3A CN201910957628A CN110691199A CN 110691199 A CN110691199 A CN 110691199A CN 201910957628 A CN201910957628 A CN 201910957628A CN 110691199 A CN110691199 A CN 110691199A
Authority
CN
China
Prior art keywords
face
frame image
preview frame
information
photometric
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.)
Pending
Application number
CN201910957628.3A
Other languages
Chinese (zh)
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.)
Xiamen Meitu Technology Co Ltd
Original Assignee
Xiamen Meitu Technology 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 Xiamen Meitu Technology Co Ltd filed Critical Xiamen Meitu Technology Co Ltd
Priority to CN201910957628.3A priority Critical patent/CN110691199A/en
Publication of CN110691199A publication Critical patent/CN110691199A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals

Landscapes

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

Abstract

The invention provides a face automatic exposure method and device, shooting equipment and a storage medium, and relates to the technical field of automatic photometry. The automatic exposure method for the human face comprises the following steps: and acquiring the face photometric information of the preview frame image according to the brightness information of the preview frame image. And determining target exposure parameters according to the human face photometric information. And adjusting the exposure parameters of the preview frame image according to the target exposure parameters to obtain the adjusted preview frame image. In the preview frame image shot under the target exposure parameters, because the photometric information of the human face is considered, the human face is accurately exposed, and the shooting effect is obviously improved.

Description

Face automatic exposure method and device, shooting equipment and storage medium
Technical Field
The invention relates to the technical field of automatic photometry, in particular to a method and a device for automatically exposing a human face, shooting equipment and a storage medium.
Background
With the development of intelligent terminals, it has become very popular to take pictures through intelligent terminals, where the photometric information indicates what shooting parameters should be taken to obtain a correctly exposed picture.
In the prior art, in the apple mobile operating system (iOS) and the Android mobile operating system (Android), a third party Application program (APP) can only perform photometry through an automatic exposure Interface provided by the operating system, that is, an Application Program Interface (API) provided by the operating system is used to obtain a Brightness Value (BV) and use the BV as photometry information. Developers can only use exposure compensation bias (EVBias) to modify the exposure parameters of the camera.
When a human image is shot, only BV is used as photometric information, and the photometric information of the human face part cannot be accurately expressed, so that the automatic exposure effect of the human face cannot reach the expectation.
Disclosure of Invention
The present invention is directed to provide a method, an apparatus, a shooting device, and a storage medium for automatic face exposure in combination with an API provided by an operating system, so as to solve the problem that the automatic face exposure cannot be expected due to the fact that only BV is used as photometric information and photometric information of a face part cannot be accurately expressed.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides an automatic face exposure method, including:
and acquiring the face photometric information of the preview frame image according to the brightness information of the preview frame image. And determining target exposure parameters according to the human face photometric information. And adjusting the exposure parameters of the preview frame image according to the target exposure parameters to obtain the adjusted preview frame image.
Optionally, acquiring the face photometric information of the preview frame image according to the brightness information of the preview frame image, including: and processing the preview frame image through a preset face detection algorithm to obtain a face area of the preview frame image. And acquiring the brightness information of the face area according to the brightness information of the preview frame image. And taking the brightness information of the face area as face photometric information.
Optionally, before determining the target exposure parameter according to the face photometric information, the method further includes: and determining the central photometric value of the preview frame image according to the brightness information of the preview frame image. Correspondingly, according to the photometric information of the human face, determining the target exposure parameters includes: and determining a target exposure parameter according to the face photometric information and the central photometric value.
Optionally, determining a target exposure parameter according to the face photometric information and the central photometric value, including: and determining target photometric information of the preview frame image according to the face photometric information, the central photometric value and the face weight corresponding to the preset shooting scene. And determining a target exposure parameter according to the target photometric information of the preview frame image.
Optionally, determining the target exposure parameter according to the target photometry information of the preview frame image includes: and determining a target exposure parameter according to the photometric information of the preview frame image and a target brightness value corresponding to the shooting scene.
Optionally, the exposure parameters include: sensitivity and/or exposure time.
In a second aspect, an embodiment of the present invention further provides an automatic exposure apparatus for a human face, including:
and the acquisition module is used for acquiring the face photometric information of the preview frame image according to the brightness information of the preview frame image. And the determining module is used for determining the target exposure parameters according to the human face photometric information. And the adjusting module is used for adjusting the exposure parameters of the preview frame image according to the target exposure parameters to obtain the adjusted preview frame image.
Optionally, the obtaining module is specifically configured to process the preview frame image through a preset face detection algorithm, so as to obtain a face region of the preview frame image. And acquiring the brightness information of the face area according to the brightness information of the preview frame image. And taking the brightness information of the face area as face photometric information.
Optionally, the determining module is further configured to determine a central photometric value of the preview frame image according to the brightness information of the preview frame image.
Correspondingly, the determining module is specifically configured to determine the target exposure parameter according to the face photometric information and the central photometric value.
Optionally, the determining module is specifically configured to determine target photometry information of the preview frame image according to the face photometry information, the center photometry value, and a preset face weight corresponding to the shooting scene. And determining a target exposure parameter according to the target photometric information of the preview frame image.
Optionally, the determining module is specifically configured to determine the target exposure parameter according to the photometric information of the preview frame image and a target brightness value corresponding to the shooting scene.
Optionally, the exposure parameters include: sensitivity and/or exposure time.
In a third aspect, an embodiment of the present invention further provides a shooting device, including:
the system comprises a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the shooting device runs, the processor and the storage medium are communicated through the bus, and the processor executes the machine-readable instructions to execute the steps of the automatic exposure method for the human face as provided by the first aspect.
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 the computer program is executed by a processor, the steps of the automatic exposure method for a human face as provided in the first aspect are performed.
The invention has the beneficial effects that: and acquiring the face photometric information of the preview frame image through the brightness information of the preview frame image. And determining target exposure parameters according to the human face photometric information. And adjusting the exposure parameters of the preview frame image according to the target exposure parameters to obtain the adjusted preview frame image. Therefore, in the preview frame image shot under the target exposure parameters, because the photometric information of the human face is considered, the human face is accurately exposed, and the shooting effect is obviously improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic flow chart of a face automatic exposure method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a preview frame image in the automatic face exposure method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a preview frame image in an automatic face exposure method according to another embodiment of the present application;
fig. 4 is a schematic flow chart of a face automatic exposure method according to another embodiment of the present application;
fig. 5 is a schematic flow chart of a face automatic exposure method according to another embodiment of the present application;
fig. 6 is a schematic flow chart of a face automatic exposure method according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of an automatic human face exposure apparatus according to another embodiment of the present application;
fig. 8 is a schematic structural diagram of a shooting device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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, but not all, embodiments of the present invention.
Fig. 1 is a schematic flow chart of a face automatic exposure method according to an embodiment of the present application, where an execution subject of the face automatic exposure method may be a terminal device having a shooting function, for example: smart phones, tablet computers, digital cameras, smart cameras, and the like, without limitation.
As shown in fig. 1, the automatic exposure method for a human face provided by the embodiment of the present invention includes:
and S110, acquiring the face photometric information of the preview frame image according to the brightness information of the preview frame image.
It should be noted that, for a mobile terminal, especially a smart phone, third party software providing a shooting function may only obtain limited parameters from a shooting Application Programming Interface (API) of the system to perform photometry, for example, for an apple mobile operating system (iOS), only obtain a Brightness Value (Brightness Value) from a shooting API of the system as Brightness information to perform photometry.
The preview frame image is a preview image to be shot, which is acquired by the terminal device through the shooting element, the preview image is generally displayed on the terminal device in a dynamic form in real time, the brightness information is the intensity degree information of light in the current shooting scene, and after the terminal device receives a shooting instruction of a user, the terminal device shoots the terminal device by using the exposure parameter corresponding to the brightness information to obtain a shot image.
Fig. 2 is a schematic diagram of a preview frame image in an automatic face exposure method according to an embodiment of the present application, and fig. 3 is a schematic diagram of a preview frame image in an automatic face exposure method according to another embodiment of the present application.
In some embodiments, the face image is a portion of the preview frame image, and luminance information of the corresponding face portion in the preview frame image may be used as the face photometric information.
In one possible implementation manner, in the preview frame image, there may be one face 201 as shown in fig. 2, or there may be two faces 201 or more faces 201 as shown in fig. 3.
When there is only one face 201, the photometric information of the face may be used as the face photometric information of the preview frame image, and when there is more than one face, there may be multiple different strategies to determine the photometric information of the face frame image, for example, the gender of the face may be identified, and if the preview frame image includes a male face and a female face, the photometric information of the female face may be used as the face photometric information of the preview frame image, or an average value of multiple pieces of face photometric information may be used as the face photometric information of the preview frame image, which is not limited herein.
And S120, determining a target exposure parameter according to the human face photometric information.
In some embodiments, the face photometric information indicates brightness information of a face in the preview frame image, and the target exposure parameter is determined according to the face photometric information, and is an exposure parameter capable of ensuring correct exposure of the face, where the exposure parameter may include, but is not limited to, aperture, sensitivity (ISO), exposure time (shutter speed), exposure compensation, and the like.
And S130, adjusting the exposure parameters of the preview frame image according to the target exposure parameters to obtain the adjusted preview frame image.
In some embodiments, the exposure parameter of the preview frame image is determined by the brightness information of the preview frame image, which takes into account the brightness of the whole image, and the exposure parameter can more accurately take into account the exposure of each part in the image, but also causes the situation that the face part may be exposed inaccurately due to the influence of the brightness of other background images.
In this embodiment, the face photometric information of the preview frame image is acquired from the luminance information of the preview frame image. And determining target exposure parameters according to the human face photometric information. And adjusting the exposure parameters of the preview frame image according to the target exposure parameters to obtain the adjusted preview frame image. Therefore, in the preview frame image shot under the target exposure parameters, because the photometric information of the human face is considered, the human face is accurately exposed, and the shooting effect is obviously improved.
Fig. 4 is a schematic flow chart of a face automatic exposure method according to another embodiment of the present application.
Alternatively, as shown in fig. 4, acquiring the face photometry information of the preview frame image according to the brightness information of the preview frame image includes:
and S111, processing the preview frame image through a preset face detection algorithm to obtain a face area of the preview frame image.
In some embodiments, a commonly used face detection algorithm may include: a Face recognition algorithm based on geometric features, a Face recognition algorithm based on Local Face Analysis (Local Face Analysis), a Face recognition algorithm based on Eigenface or PCA (Eigenface or PCA), a Face recognition algorithm based on an elastic model, a Face recognition algorithm based on Neural Networks (Neural Networks), and the like, which are not limited herein.
And S112, acquiring the brightness information of the face area according to the brightness information of the preview frame image.
In some embodiments, the face region is a partial image of the preview frame image, and therefore, the luminance information corresponding to the face region in the luminance information of the preview frame image may be used as the luminance information of the face region. For example, referring to fig. 2, the preview frame image includes a background 202 and a face 201, where the face region is a region corresponding to the face 201, and luminance information of the preview frame image in the region is luminance information of the face.
And S113, taking the brightness information of the face area as face photometric information.
In the embodiment, the face area is obtained first, then the brightness information corresponding to the face area is used as face photometric information, and a target exposure parameter is determined.
Fig. 5 is a schematic flow chart of a face automatic exposure method according to another embodiment of the present application.
Optionally, as shown in fig. 5, before determining the target exposure parameter according to the face photometric information, the method further includes:
and S140, determining the central photometric value of the preview frame image according to the brightness information of the preview frame image.
In some embodiments, the photometric value of a preset region in the center of the preview frame image may be used as the central photometric value of the preview frame image, where the central photometric value of the preview frame image may be an average value of brightness values in the preset region, for example, a rectangular region having a center of the preview frame image as a center, being in equal proportion to the preview frame image, and having an area of 50% of the preview frame image may be used as the preset region; or, a circular area with the center of the preview frame image as the center and the half length of the short side of the preview frame image as the diameter may be used as a preset area, and the like, then the brightness value of each pixel in the preset area is obtained, and the average value of the brightness values of a plurality of pixels in the preset area is calculated as the central photometric value of the preview frame image.
Correspondingly, according to the photometric information of the human face, determining the target exposure parameters includes:
and determining a target exposure parameter according to the face photometric information and the central photometric value.
In some embodiments, because the face region is often close to the central region of the preview frame image in the preview frame image, the central photometric value can represent the comprehensive photometric conditions of the face region and a background region near the face region, and the target exposure parameter is determined by combining the central photometric value and face photometric information, so that the exposure of the background portion tends to be accurate under the condition of further ensuring accurate face exposure, and the shooting visual effect is improved.
Fig. 6 is a schematic flow chart of a face automatic exposure method according to another embodiment of the present application.
Optionally, as shown in fig. 6, determining a target exposure parameter according to the face photometric information and the central photometric value includes:
and S121, determining target photometric information of the preview frame image according to the face photometric information, the central photometric value and the face weight corresponding to the preset shooting scene.
In some embodiments, the current shooting scene may be determined by an image detection algorithm, for example, the shooting scene may include indoor, outdoor, landscape portrait, close-up portrait, and the like, and further, the lighting conditions of the shooting scene such as backlight, frontlight, and dim light may also be included, without limitation.
In each shooting scene, the proportions of the face area and the background area are different, the preset face weight of each shooting scene can include the photometric weight of the face area and the photometric weight of the background area, the photometric weight of the face area corresponds to the weight of face photometric information, and the photometric weight of the background area corresponds to the weight of a central photometric value. For example, for a close-up portrait, because the proportion of the face area is greater than that of the background area, the photometric weight of the face area can be increased, the photometric weight of the background area can be decreased, and then the face photometric information and the central photometric value are combined according to the scene calculation to obtain the target photometric information of the preview frame image.
And S122, determining a target exposure parameter according to the target photometric information of the preview frame image.
In this embodiment, after the target photometric information of the preview frame image is determined according to the face weight corresponding to the shooting scene, the target exposure parameter is determined according to the target photometric information of the preview frame image, and the occupation ratio of the face area in the preview frame image is considered, so that the frame image obtained according to the target exposure parameter determined according to the target photometric information of the preview frame image has more balanced exposure, the overall exposure effect of the frame is better, and the shooting visual effect is further improved.
Optionally, determining the target exposure parameter according to the target photometry information of the preview frame image includes: and determining a target exposure parameter according to the target photometric information of the preview frame image and a target brightness value corresponding to the shooting scene.
In some embodiments, in the above shooting scene, a target brightness value of the shooting scene may be determined according to light conditions of the shooting scene such as a backlight, a frontlight, a weak light, and the like, where the target brightness value is used to enable a shot image to be correctly exposed, for example, for a backlight light condition, a face area may be underexposed due to insufficient light, and the target brightness value of the shooting scene may be a brightness value of a face when the face area is correctly exposed; however, in the case of light with too high backlight or light ratio, the background region may be overexposed only by using the brightness value of the face when the face region is correctly exposed as the target brightness value, so that for the case of complicated light, relatively balanced target exposure parameters may be obtained according to the target photometric information and the target brightness value to ensure that the exposures of the face region and the background region are both within the normal exposure range.
Optionally, the exposure parameters include: sensitivity and/or exposure time.
In some embodiments, the aperture of the photographing component in the terminal device is generally a constant aperture, and therefore, the exposure can be adjusted by adjusting the sensitivity and/or the exposure time, for example, in the case of underexposure, the exposure can be corrected by only increasing the sensitivity or only increasing the exposure time, or, if there is a requirement for the exposure time, the exposure time can be reduced, and the exposure can be corrected by greatly increasing the sensitivity, and the specific adjustment manner of the exposure parameters is based on the scene in practical application, which is not limited herein.
Optionally, in consideration that light may change at any time or a target exposure parameter is not accurate enough, light metering may be performed on the adjusted preview frame image again after the adjusted preview frame image is obtained, and the exposure parameter is adjusted according to a light metering result, so that an error between the adjusted preview frame image and the target light metering value of the preview frame image is smaller than a preset threshold, and a specific implementation means thereof is not limited herein.
Fig. 7 is a schematic structural diagram of an automatic human face exposure apparatus according to another embodiment of the present application.
The embodiment of the invention also provides a face automatic exposure device, which comprises:
an obtaining module 301, configured to obtain face photometric information of the preview frame image according to the brightness information of the preview frame image. The determining module 302 is configured to determine a target exposure parameter according to the face photometric information. And the adjusting module 303 is configured to adjust the exposure parameter of the preview frame image according to the target exposure parameter, so as to obtain an adjusted preview frame image.
Optionally, the obtaining module 301 is specifically configured to process the preview frame image through a preset face detection algorithm, so as to obtain a face region of the preview frame image. And acquiring the brightness information of the face area according to the brightness information of the preview frame image. And taking the brightness information of the face area as face photometric information.
Optionally, the determining module 302 is further configured to determine a central photometric value of the preview frame image according to the brightness information of the preview frame image.
Correspondingly, the determining module 302 is specifically configured to determine the target exposure parameter according to the face photometric information and the central photometric value.
Optionally, the determining module 302 is specifically configured to determine target photometry information of the preview frame image according to the face photometry information, the center photometry value, and a preset face weight corresponding to the shooting scene. And determining a target exposure parameter according to the target photometric information of the preview frame image.
Optionally, the determining module 302 is specifically configured to determine a target exposure parameter according to the photometric information of the preview frame image and a target brightness value corresponding to the shooting scene.
Optionally, the exposure parameters include: sensitivity and/or exposure time.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 8 is a schematic structural diagram of a shooting device according to an embodiment of the present application.
As shown in fig. 8, the photographing apparatus includes:
a processor 401, a storage medium 402 and a bus 403, the storage medium 402 storing machine-readable instructions executable by the processor 401, the processor 401 communicating with the storage medium 402 via the bus 403 when the photographing apparatus is operating, the processor 401 executing the machine-readable instructions to perform the steps of the method as described above.
The shooting device may be a terminal device with a shooting function, such as a smart phone, a digital camera, a tablet computer, a notebook computer, and the like, which is not limited herein. The shooting device is used for realizing the above method embodiment of the application.
It is noted that processor 401 may include one or more processing cores (e.g., a single-core processor or a multi-core processor). Merely by way of example, a Processor may include a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), an Application Specific Instruction Set Processor (ASIP), a Graphics Processing Unit (GPU), a Physical Processing Unit (PPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a Programmable Logic Device (PLD), a controller, a microcontroller Unit, a Reduced Instruction Set computer (Reduced Instruction Set computer), a microprocessor, or the like, or any combination thereof.
The storage medium 402 may include: including mass storage, removable storage, volatile Read-and-write Memory, or Read-Only Memory (ROM), among others, or any combination thereof. By way of example, mass storage may include magnetic disks, optical disks, solid state drives, and the like; removable memory may include flash drives, floppy disks, optical disks, memory cards, zip disks, tapes, and the like; volatile read-write Memory may include Random Access Memory (RAM); the RAM may include Dynamic RAM (DRAM), Double data Rate Synchronous Dynamic RAM (DDR SDRAM); static RAM (SRAM), Thyristor-Based Random Access Memory (T-RAM), Zero-capacitor RAM (Zero-RAM), and the like. By way of example, ROMs may include Mask Read-Only memories (MROMs), Programmable ROMs (PROMs), erasable Programmable ROMs (PERROMs), Electrically Erasable Programmable ROMs (EEPROMs), compact disk ROMs (CD-ROMs), digital versatile disks (ROMs), and the like.
For ease of illustration, only one processor 401 is depicted in the electronic device. It should be noted, however, that the electronic device in the present application may also comprise a plurality of processors 401, and thus the steps performed by one processor described in the present application may also be performed by a plurality of processors in combination or individually. For example, if the processor 401 of the electronic device executes step a and step B, it should be understood that step a and step B may also be executed by two different processors together or executed in one processor separately. For example, a first processor performs step a and a second processor performs step B, or the first processor and the second processor perform steps a and B together.
Optionally, the present invention also provides a computer-readable storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the method as described above.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (10)

1. An automatic exposure method for human face is characterized by comprising the following steps:
acquiring face photometric information of the preview frame image according to the brightness information of the preview frame image;
determining target exposure parameters according to the face photometric information;
and adjusting the exposure parameters of the preview frame image according to the target exposure parameters to obtain the adjusted preview frame image.
2. The method according to claim 1, wherein the obtaining the face photometric information of the preview frame image according to the brightness information of the preview frame image comprises:
processing the preview frame image through a preset face detection algorithm to obtain a face area of the preview frame image;
acquiring brightness information of the face region according to the brightness information of the preview frame image;
and taking the brightness information of the face area as the face photometric information.
3. The method of claim 1, wherein before determining the target exposure parameter according to the face photometric information, the method further comprises:
determining a central photometric value of a preview frame image according to the brightness information of the preview frame image;
correspondingly, the determining a target exposure parameter according to the face photometric information includes:
and determining the target exposure parameter according to the face photometric information and the central photometric value.
4. The method of claim 3, wherein the determining the target exposure parameter according to the face photometric information and the central photometric value comprises:
determining target photometric information of the preview frame image according to the face photometric information, the central photometric value and a preset face weight corresponding to a shooting scene;
and determining the target exposure parameter according to the target photometric information of the preview frame image.
5. The method of claim 4, wherein the determining the target exposure parameter according to the target metering information of the preview frame image comprises:
and determining the target exposure parameter according to the photometric information of the preview frame image and the target brightness value corresponding to the shooting scene.
6. The method of any of claims 1-5, wherein the exposure parameters comprise: sensitivity and/or exposure time.
7. An automatic exposure device for human face, characterized by comprising:
the acquisition module is used for acquiring the face photometric information of the preview frame image according to the brightness information of the preview frame image;
the determining module is used for determining a target exposure parameter according to the face photometric information;
and the adjusting module is used for adjusting the exposure parameters of the preview frame image according to the target exposure parameters to obtain the adjusted preview frame image.
8. The apparatus according to claim 7, wherein the obtaining module is specifically configured to process the preview frame image through a preset face detection algorithm to obtain a face region of the preview frame image;
acquiring brightness information of the face region according to the brightness information of the preview frame image;
and taking the brightness information of the face area as the face photometric information.
9. A photographing apparatus, characterized by comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the shooting device runs, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to execute the steps of the automatic exposure method for human faces according to any one of claims 1-6.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for automatic exposure of a human face according to any one of claims 1 to 6.
CN201910957628.3A 2019-10-10 2019-10-10 Face automatic exposure method and device, shooting equipment and storage medium Pending CN110691199A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910957628.3A CN110691199A (en) 2019-10-10 2019-10-10 Face automatic exposure method and device, shooting equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910957628.3A CN110691199A (en) 2019-10-10 2019-10-10 Face automatic exposure method and device, shooting equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110691199A true CN110691199A (en) 2020-01-14

Family

ID=69112082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910957628.3A Pending CN110691199A (en) 2019-10-10 2019-10-10 Face automatic exposure method and device, shooting equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110691199A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654643A (en) * 2020-07-22 2020-09-11 苏州臻迪智能科技有限公司 Exposure parameter determination method and device, unmanned aerial vehicle and computer readable storage medium
CN112399091A (en) * 2020-10-26 2021-02-23 维沃移动通信有限公司 Image processing method and device and electronic equipment
CN112819722A (en) * 2021-02-03 2021-05-18 东莞埃科思科技有限公司 Infrared image face exposure method, device, equipment and storage medium
CN113452901A (en) * 2021-05-12 2021-09-28 北京迈格威科技有限公司 Image acquisition method and device, electronic equipment and computer readable storage medium
CN113612932A (en) * 2021-08-09 2021-11-05 荣耀终端有限公司 Method, apparatus and storage medium for adjusting exposure parameters
CN113992861A (en) * 2020-07-27 2022-01-28 虹软科技股份有限公司 Image processing method and image processing device
CN114531551A (en) * 2021-12-31 2022-05-24 联想(北京)有限公司 Image processing method and device, electronic device and storage medium
CN114866704A (en) * 2022-04-07 2022-08-05 北京市商汤科技开发有限公司 Image acquisition method, door lock control method and related product
CN115037883A (en) * 2022-05-05 2022-09-09 Oppo广东移动通信有限公司 Exposure parameter adjusting method and device, storage medium and electronic equipment
CN115225825A (en) * 2022-06-30 2022-10-21 北京都视科技有限公司 Exposure adjusting system, method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245786A (en) * 2015-09-09 2016-01-13 厦门美图之家科技有限公司 Self-timer method based on intelligent light measurement, self-timer system and photographing terminal
CN107592468A (en) * 2017-10-23 2018-01-16 维沃移动通信有限公司 A kind of shooting parameter adjustment method and mobile terminal
CN107734225A (en) * 2017-10-24 2018-02-23 维沃移动通信有限公司 A kind of image pickup method and device
CN109862282A (en) * 2019-02-18 2019-06-07 Oppo广东移动通信有限公司 Character image treating method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245786A (en) * 2015-09-09 2016-01-13 厦门美图之家科技有限公司 Self-timer method based on intelligent light measurement, self-timer system and photographing terminal
CN107592468A (en) * 2017-10-23 2018-01-16 维沃移动通信有限公司 A kind of shooting parameter adjustment method and mobile terminal
CN107734225A (en) * 2017-10-24 2018-02-23 维沃移动通信有限公司 A kind of image pickup method and device
CN109862282A (en) * 2019-02-18 2019-06-07 Oppo广东移动通信有限公司 Character image treating method and apparatus

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111654643A (en) * 2020-07-22 2020-09-11 苏州臻迪智能科技有限公司 Exposure parameter determination method and device, unmanned aerial vehicle and computer readable storage medium
CN113992861B (en) * 2020-07-27 2023-07-21 虹软科技股份有限公司 Image processing method and image processing device
CN113992861A (en) * 2020-07-27 2022-01-28 虹软科技股份有限公司 Image processing method and image processing device
CN112399091A (en) * 2020-10-26 2021-02-23 维沃移动通信有限公司 Image processing method and device and electronic equipment
CN112819722A (en) * 2021-02-03 2021-05-18 东莞埃科思科技有限公司 Infrared image face exposure method, device, equipment and storage medium
CN113452901A (en) * 2021-05-12 2021-09-28 北京迈格威科技有限公司 Image acquisition method and device, electronic equipment and computer readable storage medium
CN113612932A (en) * 2021-08-09 2021-11-05 荣耀终端有限公司 Method, apparatus and storage medium for adjusting exposure parameters
CN114531551A (en) * 2021-12-31 2022-05-24 联想(北京)有限公司 Image processing method and device, electronic device and storage medium
CN114531551B (en) * 2021-12-31 2023-12-26 联想(北京)有限公司 Image processing method and device, electronic equipment and storage medium
CN114866704A (en) * 2022-04-07 2022-08-05 北京市商汤科技开发有限公司 Image acquisition method, door lock control method and related product
CN115037883A (en) * 2022-05-05 2022-09-09 Oppo广东移动通信有限公司 Exposure parameter adjusting method and device, storage medium and electronic equipment
CN115225825A (en) * 2022-06-30 2022-10-21 北京都视科技有限公司 Exposure adjusting system, method, device and storage medium
CN115225825B (en) * 2022-06-30 2023-11-10 北京都视科技有限公司 Exposure adjustment system, method, device and storage medium

Similar Documents

Publication Publication Date Title
CN110691199A (en) Face automatic exposure method and device, shooting equipment and storage medium
US11403740B2 (en) Method and apparatus for image capturing and processing
CN108335279B (en) Image fusion and HDR imaging
CN110611750B (en) Night scene high dynamic range image generation method and device and electronic equipment
WO2019085705A1 (en) Method and device for obtaining exposure compensation value of high-dynamic-range image
CN108174118B (en) Image processing method and device and electronic equipment
US20200053265A1 (en) Imaging Control Method, Electronic Device and Computer Readable Storage Medium
CN107071272B (en) Method and device for controlling brightness of camera fill-in light and terminal
US20200045219A1 (en) Control method, control apparatus, imaging device, and electronic device
CN106454077B (en) Shooting method, shooting device and terminal
CN101997981A (en) Mobile phone camera-based latitude realization method and mobile phone
CN108337445A (en) Photographic method, relevant device and computer storage media
CN105227857B (en) A kind of method and apparatus of automatic exposure
CN108737738A (en) A kind of panorama camera and its exposure method and device
WO2022116989A1 (en) Image processing method and apparatus, and device and storage medium
WO2014114223A1 (en) Scene recognition method and apparatus
CN109587407A (en) Exposure amount adjustment method, device and the computer equipment of image taking
CN111601048B (en) Image processing method and device
CN106791451B (en) Photographing method of intelligent terminal
WO2022067496A1 (en) Fast auto-exposure method for camera, and storage medium
WO2020034739A1 (en) Control method and apparatus, electronic device, and computer readable storage medium
CN111314622A (en) Adaptive adjustment method, device and system for image brightness under various scenes
CN110809146A (en) Image contrast adjusting method and device, terminal equipment and storage medium
CN107682611B (en) Focusing method and device, computer readable storage medium and electronic equipment
CN112653845A (en) Exposure control method, exposure control device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200114

RJ01 Rejection of invention patent application after publication