WO2022027432A1 - Photography method, photographic apparatus, and terminal device - Google Patents

Photography method, photographic apparatus, and terminal device Download PDF

Info

Publication number
WO2022027432A1
WO2022027432A1 PCT/CN2020/107396 CN2020107396W WO2022027432A1 WO 2022027432 A1 WO2022027432 A1 WO 2022027432A1 CN 2020107396 W CN2020107396 W CN 2020107396W WO 2022027432 A1 WO2022027432 A1 WO 2022027432A1
Authority
WO
WIPO (PCT)
Prior art keywords
weight
human eye
area
region
face
Prior art date
Application number
PCT/CN2020/107396
Other languages
French (fr)
Chinese (zh)
Inventor
邓宝华
袁田
Original Assignee
深圳市锐明技术股份有限公司
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 深圳市锐明技术股份有限公司 filed Critical 深圳市锐明技术股份有限公司
Priority to PCT/CN2020/107396 priority Critical patent/WO2022027432A1/en
Priority to CN202080001474.1A priority patent/CN112055961B/en
Publication of WO2022027432A1 publication Critical patent/WO2022027432A1/en

Links

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
    • 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/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • 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

Definitions

  • the present application belongs to the field of photographing technologies, and in particular, relates to a photographing method, a photographing apparatus, a terminal device, and a computer-readable storage medium.
  • a camera In application scenarios such as in-vehicle security, cameras are often deployed to capture human behavior. For example, a camera can be installed in the cab of the vehicle to capture the driver's driving state to determine whether the driver is in a fatigued driving state. Therefore, it is necessary to capture detailed information of human eyes when shooting.
  • the embodiments of the present application provide a photographing method, a photographing apparatus, a terminal device, and a computer-readable storage medium, which can improve the photographing quality of human eye details when photographing a human face.
  • an embodiment of the present application provides a shooting method, including:
  • the size of the human eye weight area and the size of the first face weight area determine the first weight of the human eye weight area and the second weight of the first face weight area
  • the target user is photographed.
  • an embodiment of the present application provides a photographing device, including:
  • a first determination module configured to determine a human eye weight area and a first face weight area in the face image according to the feature point information in the face image after acquiring the face image;
  • a second determination module configured to determine the first weight of the eye weight region and the first weight of the first face weight region according to the size of the eye weight region and the size of the first face weight region two weights;
  • a third determining module configured to determine an exposure parameter according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area;
  • the photographing module is used for photographing the target user according to the exposure parameter.
  • an embodiment of the present application provides a terminal device, including a memory, a processor, a display, and a computer program stored in the memory and running on the processor, characterized in that the processor executes the computer During the program, the shooting method as described above in the first aspect is implemented.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the shooting method described in the first aspect is implemented.
  • an embodiment of the present application provides a computer program product that, when the computer program product runs on a terminal device, enables the terminal device to execute the above-mentioned shooting method in the above-mentioned first aspect.
  • the eye weight area and the first face weight area may be determined in the face image according to the feature point information in the face image.
  • the face image may be partitioned according to the feature point information. Then, according to the size of the eye weight area and the size of the first face weight area, determine the first weight of the eye weight area and the second weight of the first face weight area, and then according to The first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area, determine exposure parameters such that the first weight and The second weight can better reflect the importance of the corresponding weight area in the face image, so that the importance of the different weight areas of the face and the brightness of the different weight areas can be fully considered to determine the exposure parameters, so as to avoid the exposure parameters caused by the presence of human eyes.
  • the proportion of the human face is small, so that the exposure parameters during shooting are mainly determined according to other features in the face image, so that the shooting quality of the details of the human eye is poor, so that according to the exposure parameters, the When the target user is shooting, it can improve the shooting quality of human eye details.
  • FIG. 1 is a schematic flowchart of a photographing method provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of an exemplary division manner of each weight region in a face image provided by an embodiment of the present application
  • FIG. 3 is a schematic flowchart of step S102 provided by an embodiment of the present application.
  • FIG. 4 is an exemplary schematic diagram of determining the edge of the human eye weight region provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a photographing device according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 1 shows a flowchart of a photographing method provided by an embodiment of the present application, and the photographing method may be applied to a terminal device.
  • the shooting methods provided in the embodiments of the present application can be applied to in-vehicle devices, servers, desktop computers, mobile phones, tablet computers, wearable devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, On terminal devices such as an ultra-mobile personal computer (UMPC), a netbook, and a personal digital assistant (PDA), the embodiments of the present application do not limit the specific type of the terminal device.
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • the driver's face image can be captured by a camera installed on the car, and whether the driver is in a fatigued driving state can be determined through the details of the human eye and other facial information in the face image.
  • the exposure brightness will be continuously adjusted according to factors such as skin reflectivity, etc., so that the shooting of human eye details cannot be guaranteed. quality; in addition, wearing glasses, masks, etc. will also interfere with the shooting of human eye details; and, in scenes such as backlighting, the human face is often dark, so the human eye details cannot be effectively identified.
  • the first weight of the human eye weight region and the first weight of the human eye weight region may be determined according to the size of the human eye weight region in the human face image and the size of the first face weight region in the human face image.
  • a second weight of the face weight region and then according to the first weight, the second weight, the first brightness information of the human eye weight region, and the second brightness information of the first face weight region, Determine the exposure parameters so that the first weight and the second weight can better reflect the importance of the corresponding weight regions in the face image, so that the importance of the different weight regions of the face and the different weight regions can be fully considered
  • the exposure parameter is determined according to the brightness of the target user, so that when the target user is photographed according to the exposure parameter, the photographing quality of the details of the human eye can be improved.
  • the shooting method may include:
  • Step S101 after acquiring the face image, according to the feature point information in the face image, determine the human eye weight area and the first face weight area in the face image.
  • the face image is an image including a human face.
  • the face image may be captured by a camera in the terminal device implementing the embodiments of the present application; in addition, the face image may also be captured by a camera communicatively connected to the terminal device, and transmitted to in the terminal device; alternatively, the face image may also be a local image pre-stored in the terminal device or the like.
  • the specific acquisition method of the face image is not limited herein.
  • the feature point information may include at least one of information on feature points of facial features in a human face, feature points on an edge of the human face, and the like, and information on feature points on objects associated with the human face.
  • the objects associated with the face may include items such as glasses, masks, etc., which are worn by the face in the face image, as well as other shielding objects for the face, etc.
  • the feature point information may be It includes information such as the coordinates of the feature points used to identify the outline of the glasses, and the coordinates of the feature points used to identify the outline of the mask.
  • the human eye weight area may include at least part of the human eye area
  • the first face weight area may include at least part of the face area
  • the first face weight area may include at least part of the cheek area, at least part of the forehead area and at least one of at least part of the hair area and the like.
  • the first face weight region may not overlap with the human eye weight region.
  • the region where the human eye is located may be determined as the human eye weight region according to the edge feature points of the human eye; or, the size of the region where the human eye is located, the relative positional relationship between the target camera and the human face may be used (For example, the camera shoots the front or side of the face, or is inclined at a certain angle relative to the front of the face, etc.), expand the area where the human eye is located, and use the expanded human eye area as the eye weight area.
  • the manner of determining the first face weight region may be similar to that of the human eye weight region, or may be determined in other manners.
  • the first face weight region may be determined according to information such as edges of the human eye weight region and corresponding facial feature point information.
  • the first face weight area may be a cheek weight area.
  • the lower edge feature point, the left edge feature point and the right edge feature point of the cheek may be obtained, and according to the human eye weight The lower edge of the region, which determines the edge of the cheek weight region.
  • Step S102 Determine a first weight of the human eye weight area and a second weight of the first face weight area according to the size of the eye weight area and the size of the first face weight area.
  • the first weight may be used to reflect the importance of the human eye weight area
  • the second weight may be used to reflect the importance of the first face weight area
  • the first weight and the second weight may be dynamically determined according to the size of the eye weight region and the size of the first face weight region, rather than being preset.
  • the ratio between the first weight and the second weight may be determined according to the ratio between the area of the eye weight area and the area of the first face weight area, so that all When the eye weight area is smaller than the first face weight area, the size of the first weight can be appropriately increased, so as to avoid subsequent determinations due to the small proportion of the first eye weight area.
  • the exposure parameters and other shooting parameters cannot capture the details of the human eye.
  • the determining the first weight of the eye weight region and the size of the first face weight region according to the size of the eye weight region and the size of the first face weight region Second weight including:
  • the ratio is greater than a preset ratio, wherein the first area is the area of the human eye weight region, and the second area is the area of the first face weight region.
  • the specific value of the preset ratio may be determined according to a specific application scenario, a preset experiment, or the like.
  • the preset ratio may be 3.
  • the first weight and the second weight can be better adjusted according to the area of different weighted regions in the face image, so as to avoid the problem of the human eyes occupying a small proportion in the face.
  • the exposure parameters during shooting are mainly determined according to other features in the face image, so that the shooting quality of the details of the human eye is poor.
  • Step S103 Determine an exposure parameter according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area.
  • the first brightness information of the human eye weight region may include an average brightness value, an overall brightness value, and/or a brightness value of each pixel of the first human eye weight region, and the like.
  • the human eye weight region may also include multiple sub-regions, and the first brightness information may include brightness information of each of the sub-regions.
  • a corresponding weighting operation may be performed on the first weight, the second weight, the average brightness value of the human eye weight region, and the average brightness value of the first face weight region to obtain An overall brightness value from which to determine exposure parameters.
  • the exposure parameters may include exposure time, exposure gain, and the like. If the overall brightness value is small, the image brightness can be improved by increasing the exposure time and/or increasing the exposure gain; if the overall brightness value is large, reducing the exposure time and/or reducing the exposure gain etc. to reduce the image brightness.
  • the exposure parameter is determined according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area ,include:
  • the exposure parameter is determined according to the comprehensive brightness information.
  • the comprehensive brightness information can fully consider the human eye weight area, and can also take into account the first face weight area, etc. other areas other than the weight area of the human eye, so that the brightness comprehensively evaluated in the comprehensive brightness information can better reflect the approximate moderate range of human eye brightness in the face image, and is used to determine the exposure parameter, so that The exposure parameters can ensure that parts such as human eyes will not be overexposed or underexposed when photographing a human face, so that details of human eyes will not be lost.
  • the first face-weighted region is located below the eye-weighted region
  • the determining of the comprehensive brightness information according to the first weight, the second weight, the first brightness information and the second brightness information includes:
  • the area directly above the eye weight area and the height is the first height threshold is used as the second face weight area, and the area located in the second face weight area The area directly above the area and the height of which is the second height threshold is used as the third face weight area;
  • the first weight determine the third weight of the second face weight area and the fourth weight corresponding to the third face weight area
  • the first weight the second weight, the first brightness information, the second brightness information, the third weight, the fourth weight, the third brightness of the second face weight area information and fourth luminance information of the third face weighting region to determine the comprehensive luminance information.
  • the information on the feature points of the human eye may include the coordinates of the upper edge feature point of the human eye and the coordinates of the lower edge feature point of the human eye.
  • the height of the human eye can be calculated according to the coordinates of the upper edge feature point of the human eye and the coordinates of the lower edge feature point of the human eye.
  • the width of the human eye weight region and the width of the first face weight region may be relatively close. Therefore, the height of the human eye can reflect the size of the region where the human eye is located in the human eye image, and will have a greater impact on the size of the human eye weight region.
  • the height of the human eye is greater than the second preset height, it can be considered that the region where the human eye is located in the human eye image is larger, contains more details of the human eye, and the corresponding weight region of the human eye is often larger. big. Therefore, the second face weight area and the third face weight area in the face image can be further determined, so that on the basis of obtaining richer human eye information, it is possible to take into account factors such as forehead, hair, cheeks, etc. Or the effect of facial factors in areas such as masks on image brightness.
  • the first height threshold and the second height threshold may be determined according to actual scenarios.
  • the face image is divided into a plurality of first regions, in this case, the first height threshold and the second height threshold may be determined according to the height of the first region, for example
  • the first height threshold may be the height of a first area
  • the second height threshold may be the height of a first area, etc., so as to facilitate subsequent determination of the first area belonging to the second face weight area and a first region belonging to the third face weight region.
  • the third weight of the second face weight area and the fourth weight corresponding to the third face weight area may be determined according to the first weight, therefore, the third weight and the fourth weight may also be determined according to The first weight is dynamically adjusted to ensure the importance of the eye weight area, and at the same time, the second face weight area and the third face weight area can be taken into account.
  • the first face weight area is located below the human eye weight area and can be considered as the cheek weight area
  • the second face weight area is located directly above the human eye weight area and can be considered as the forehead weight area area
  • the third face weight area is located directly above the second weight area, which can be considered as a hair weight area.
  • the eye weight area, the first face weight area, the second face weight area, and the third face weight area may roughly include the main feature areas of the human face, and the weight area of each weight area may be determined dynamically weights to determine the importance of each weighted area respectively.
  • the third weight may be 0.5 times the first weight
  • the fourth weight may be 0.25 times the first weight, so as to ensure the importance of the human eye weight region, At the same time, the second face weight area and the third face weight area can be taken into consideration.
  • the determining comprehensive luminance information according to the first weight, the second weight, the first luminance information and the second luminance information includes:
  • the comprehensive brightness information is determined according to the first weight, the second weight, the first brightness information, the second brightness information, the fifth weight and the third brightness information.
  • the second face weight region in the face image and the fifth weight of the second face weight region can be further determined to reduce the influence of other face factors in the face except the human eye on the brightness of the image .
  • the fifth weight may be 0.5 times the first weight.
  • step S104 the target user is photographed according to the exposure parameter.
  • the shooting manner of shooting the target user may be associated with the shooting manner of the face image.
  • the target user may be a driver in a cab.
  • the eye weight area and the first face weight area may be determined in the face image according to the feature point information in the face image.
  • the face image may be partitioned according to the feature point information. Then, according to the size of the eye weight area and the size of the first face weight area, determine the first weight of the eye weight area and the second weight of the first face weight area, and then according to The first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area, determine exposure parameters such that the first weight and The second weight can better reflect the importance of the corresponding weight area in the face image, so that the importance of the different weight areas of the face and the brightness of the different weight areas can be fully considered to determine the exposure parameters, so as to avoid the exposure parameters caused by the presence of human eyes.
  • the proportion of the human face is small, so that the exposure parameters during shooting are mainly determined according to other features in the face image, so that the shooting quality of the details of the human eye is poor, so that according to the exposure parameters, the When the target user is shooting, it can improve the shooting quality of human eye details.
  • the feature point information includes human eye feature point information and first facial feature point information
  • Step S301 after acquiring the face image, divide the face image into a plurality of first regions;
  • Step S302 according to the human eye feature point information, determine the first area belonging to the human eye weight area
  • Step S303 Determine a first area belonging to the first face weight area according to the edge of the human eye weight area and the first facial feature point information.
  • the first facial feature point information is associated with the first facial weight region.
  • the first facial feature point information includes cheek feature point information, for example, includes information such as coordinates of cheek edge feature points; If the partial weight area includes other areas in the face area except the eye weight area, the first facial feature point information may include face feature point information, for example, including the coordinates of the face edge feature points, etc. information.
  • the number and size of the first regions may be determined according to the size of the face image, the size of the face region, and the like. Exemplarily, if the resolution of the face image may be 1920*1080, the number of the first regions may be K*P, wherein the resolution of each first region may be (1920/K )*(1080/P).
  • the human eye feature point information may include human eye edge feature point information, human eye center feature point information, and the like. According to the human eye feature point information, the first region belonging to the human eye weight region can be determined; of course, in some applications, it can also be based on the human eye feature point information and information such as face edge feature point information, etc., to determine the first region belonging to the human eye weight region.
  • the human eye feature point information includes information of human eye center feature points and human eye edge feature points
  • Determining the first region belonging to the human eye weight region according to the human eye feature point information includes:
  • the target camera is a camera that captures the face image
  • the central feature point of the human eye is located on the edge line of any first region, then according to the distance threshold and the first distance between each preset edge feature point and the central feature point of the human eye, determine the central feature point of the human eye.
  • the relative positional relationship between the target camera and the human face may affect the presentation effect of the human face part in the corresponding human face image.
  • the target camera is installed on the left side of the subject such as the driver
  • the face image obtained by the target camera shooting the subject has not been mirrored
  • the face in the face image is often will be close to the right side of the face image, and the face features in the right side of the face image are also more clear
  • the target camera captures the subject, the face image obtained has already been captured.
  • the face in the face image tends to be close to the left side of the face image.
  • the target camera is installed on the right side of the person to be photographed, such as the driver, the situation is reversed.
  • the person when determining the first area belonging to the weighted area of the human eye, the person can be determined by judging the location of the edge feature points of the human eye. An eye weight region, so that most of the left eye features or even all left eye features of the photographed subject can be obtained in the human eye weight region.
  • the height of the human eye may also roughly reflect the size of the area occupied by the human eye in the human face image and the number of details of the human eye contained therein. For example, if the height of the human eye is small, it can be considered that the area where the human eye is located in the human eye image is small, contains less details of the human eye, and the corresponding weight area of the human eye is often small, then By setting the distance threshold, the human eye weight region includes as many human eye features as possible. Therefore, the distance threshold can be determined according to the relative positional relationship between the target camera and the human face and the height of the human eye.
  • the distance threshold may include an upper distance threshold, a lower distance threshold, a left distance threshold and a right distance threshold.
  • the human eye edge feature points may include at least one of a human eye upper edge feature point, a human eye lower edge feature point, a human eye left edge feature point, and a human eye right edge feature point.
  • the preset edge feature points are used to determine the edge of the human eye weight region. Wherein, for example, if the upper edge and the lower edge of the human eye weight region are determined according to the upper edge and the lower edge of the human eye, the preset edge feature points may include the upper edge feature point of the human eye and the lower edge of the human eye. edge feature points; in addition, if the left edge and the right edge of the eye weight region are determined according to the cheek edge of the human face, the preset edge feature points may include the left edge feature point of the cheek and the right edge feature point of the cheek.
  • each of the first distances is a distance between the corresponding preset edge feature point and the center feature point of the human eye.
  • a remainder of dividing the first distance by the height of the first region may be obtained, and the remainder may be compared with a corresponding distance threshold to determine the edge of the eye-weighted region, wherein , the human eye weight region may be composed of a first region, and therefore, the edge of the human eye weight region may coincide with the edge of a specific first region.
  • the distance threshold may be determined to be 0. That is to say, as shown in Figure 4(a), if the center feature point of the human eye is located on the edge line of any first region, then if the preset edge feature point includes the right edge feature point of the cheek and the cheek The left edge feature point, and the right edge feature point of the cheek and the left edge feature point of the cheek are respectively on the edge line of a certain first area, then the two edge lines can be used as the left edge and right edge of the human eye weight area ; The manner of determining the upper edge and the lower edge of the human eye weight region may be similar, and will not be described in detail here.
  • the photographing method further includes:
  • the first region where the central feature point of the human eye is located is determined as the core region, and it is determined whether there is an external edge feature point, wherein the The outer edge feature points are preset edge feature points located outside the core area;
  • each external edge feature point obtains a second distance between the external edge feature point and the target edge, where the target edge is directed from the external edge feature point The first region edge closest to the outer edge feature point in the core region;
  • the edge of the human eye weight region is determined according to the target edge and the core region.
  • the rendering effect of the human face part in the corresponding human face image may be affected.
  • the target camera is installed on the left side of the subject such as the driver
  • the face image obtained by the target camera shooting the subject has not been mirrored
  • the face in the face image is often will be close to the right side of the face image, and the face features in the right side of the face image are also more and often clearer
  • the target camera captures the face obtained by the subject The image has been mirrored, so the face in the face image tends to be close to the left side of the face image.
  • the distance threshold is determined according to the relative positional relationship between the target camera and the face and the height of the human eye, wherein the target camera is the camera that captures the face image, and the distance threshold can be determined according to the relative positional relationship and the human eye height. Eye height, adjust the distance thresholds in different directions, so that more abundant human eye information in a specific direction can be preserved in the human eye weight area.
  • the human eye is obtained.
  • a certain height threshold for example, less than the height of a first area
  • the target camera shoots and mirrors the human face from the right side
  • the human eye is obtained.
  • image it can be determined that the right distance threshold in the distance thresholds is smaller, and the left distance threshold is larger, so that the information of the right face in the face image can be better obtained.
  • the target edge located on the right side of the feature point on the left edge of the cheek is used as the The left edge of the weight area of the human eye
  • the second distance corresponding to the feature point on the right edge of the cheek in the face image is greater than the right distance threshold
  • the edge of the first region located on the right side of the feature point on the right edge of the cheek is used as the The right edge of the eye weight area.
  • the distance threshold is determined according to the relative positional relationship between the target camera and the face and the height of the human eye, wherein the target camera is a camera that captures the face image, and the relative position can be used to determine the distance threshold.
  • the face presentation mode in the face image corresponding to the relationship pre-judgment, so as to adjust the distance threshold according to the face presentation mode, so as to better determine the eye weight area, so as to obtain the following results.
  • the brightness information of the human eye part that is more in line with the actual situation; in addition, the approximate region where the human eye is located in the human face image can be preliminarily evaluated according to the human eye height, so as to determine the human eye weight region.
  • the exposure parameter is determined according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area ,include:
  • the exposure parameter is determined according to the first weight, the second weight, the first brightness value and the second brightness value.
  • the regional brightness value of the first region may include the mean brightness of each pixel in the first region, the median brightness of the pixel, the weighted value of the brightness of the pixel, etc. at least one of etc.
  • the specific calculation methods of the regional luminance values corresponding to each of the first regions in the human eye weight regions may be different. For example, for any first region located at the edge of the human eye weight region, the weight of each pixel point in the first region can be determined according to the positions of the human eye edge feature points included in the first region, and then The weighted value of the brightness of the pixel points in the first area is calculated, so that the regional brightness value of the first area can better reflect the brightness of the part of the human eye included in the first area.
  • the specific calculation method of the regional brightness value corresponding to each first region in the human eye weight region can also be the same, for example, the regional brightness value can be the corresponding pixel of each pixel in the first region. Average point brightness.
  • the face image by dividing the face image into a plurality of first regions, it is convenient to divide the eye weight region and the first face weight according to each first region and its edge.
  • the first brightness value of the corresponding human eye weight area can be determined, and the first brightness value of the first face weight area can be determined.
  • Two brightness values and then determine the exposure parameters in combination with the dynamically determined first weight and second weight, so that the importance of the different weighted areas of the face and the brightness of the different weighted areas can be fully considered to determine the exposure parameters, avoiding the need for human eyes.
  • the proportion of the human face is small, so that the exposure parameters during shooting are mainly determined according to other features in the face image, which makes the shooting quality of human eye details poor, so that according to the exposure parameters, When shooting the target user, the shooting quality of the details of the human eye can be improved.
  • An embodiment of the present application provides a photographing apparatus, and the above photographing apparatus may be integrated into a terminal device.
  • FIG. 5 shows a structural block diagram of a photographing apparatus provided by an embodiment of the present application. For convenience of description, only parts related to the embodiment of the present application are shown.
  • the photographing device 5 includes:
  • the first determination module 501 is configured to determine the eye weight area and the first face weight area in the face image according to the feature point information in the face image after acquiring the face image;
  • a second determination module 502 configured to determine a first weight of the human eye weight region and a size of the first face weight region according to the size of the eye weight region and the size of the first face weight region the second weight;
  • the third determination module 503 is configured to determine exposure parameters according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area ;
  • the photographing module 504 is configured to photograph the target user according to the exposure parameter.
  • the feature point information includes human eye feature point information and first facial feature point information
  • the first determining module 501 includes:
  • a dividing unit configured to divide the facial image into a plurality of first regions after acquiring the facial image
  • a first determining unit configured to determine a first region belonging to the human eye weight region according to the human eye feature point information
  • a second determining unit configured to determine a first area belonging to the first face weight area according to the edge of the human eye weight area and the first facial feature point information.
  • the human eye feature point information includes the information of the human eye center feature point and the human eye edge feature point;
  • the first determining unit includes:
  • a first determination subunit configured to determine the height of the human eye according to the information of the human eye feature point
  • a second determination subunit configured to determine a distance threshold according to the relative positional relationship between the target camera and the face and the height of the human eye, wherein the target camera is a camera that captures the face image;
  • the third determination subunit is configured to, if the central feature point of the human eye is located on the edge line of any first region, determine the difference between the central feature point of the human eye and the central feature point of the human eye according to the distance threshold and each preset edge feature point. and determine the edge of the human eye weight region, wherein the preset edge feature points include at least one human eye edge feature point.
  • the photographing device 5 further includes:
  • the fourth determination module is used to determine that the first region where the central feature point of the human eye is located is the core region if the central feature point of the human eye is not located on the edge line of any first region, and determine whether there is an external edge feature points, wherein the external edge feature points are preset edge feature points located outside the core area;
  • the obtaining module is configured to, if there is at least one external edge feature point, for each external edge feature point, obtain the second distance between the external edge feature point and the target edge, wherein the target edge is from the When the outer edge feature point points to the core region, the first region edge closest to the outer edge feature point;
  • a fifth determination module configured to determine the edge of the human eye weight region according to the first region and the core region where the external edge feature points are located if the second distance is greater than the corresponding distance threshold;
  • a sixth determination module configured to determine the edge of the human eye weight region according to the target edge and the core region if the second distance is not greater than the corresponding distance threshold.
  • the third determining module 503 includes:
  • a seventh determination module configured to determine the first brightness value of the human eye weight region according to the regional brightness value of the first region included in the human eye weight region
  • an eighth determination module configured to determine a second brightness value of the first face weight region according to the regional brightness value of the first region included in the first face weight region;
  • a ninth determination module configured to determine the exposure parameter according to the first weight, the second weight, the first brightness value and the second brightness value.
  • the third determining module 503 includes:
  • a third determining unit configured to determine comprehensive brightness information according to the first weight, the second weight, the first brightness information and the second brightness information
  • the fourth determining unit is configured to determine the exposure parameter according to the comprehensive brightness information.
  • the first face weight area is located below the human eye weight area
  • the third determining unit includes:
  • a fourth determination subunit configured to determine the height of the human eye according to the human eye feature point information in the feature point information
  • a fifth determination subunit configured to use the area directly above the eye weight area and the height of which is the first height threshold as the second face weight area if the height of the human eye is greater than the second preset height, and Taking the area directly above the second face weight area and having a height of the second height threshold as the third face weight area;
  • a sixth determination subunit configured to determine the third weight of the second face weight area and the fourth weight corresponding to the third face weight area according to the first weight
  • a seventh determination subunit configured to determine according to the first weight, the second weight, the first brightness information, the second brightness information, the third weight, the fourth weight, the first The third luminance information of the bi-face weighting area and the fourth luminance information of the third face weighting area determine the comprehensive luminance information.
  • the seventh determination subunit is used for:
  • the comprehensive brightness information is determined according to the first weight, the second weight, the first brightness information, the second brightness information, the fifth weight and the third brightness information.
  • the second determining module 502 is specifically configured to:
  • the ratio is greater than a preset ratio, wherein the first area is the area of the human eye weight region, and the second area is the area of the first face weight region.
  • FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • the terminal device 6 in this embodiment includes: at least one processor 60 (only one is shown in FIG. 6 ), a memory 61 , and is stored in the above-mentioned memory 61 and can run on the above-mentioned at least one processor 60
  • the computer program 62 when the processor 60 executes the computer program 62, implements the steps in any of the foregoing shooting method embodiments.
  • the above-mentioned terminal device 6 may be a vehicle-mounted device, a server, a mobile phone, a wearable device, an augmented reality (AR)/virtual reality (virtual reality, VR) device, a desktop computer, a notebook, a desktop computer, a handheld computer and other computing devices. equipment.
  • the terminal device may include, but is not limited to, a processor 60 and a memory 61 .
  • FIG. 6 is only an example of the terminal device 6, and does not constitute a limitation on the terminal device 6, and may include more or less components than the one shown, or combine some components, or different components , for example, may also include input devices, output devices, network access devices, and so on.
  • the above-mentioned input devices may include keyboards, touchpads, fingerprint collection sensors (for collecting user's fingerprint information and fingerprint direction information), microphones, cameras, etc.
  • output devices may include displays, speakers, and the like.
  • the above-mentioned processor 60 may be a central processing unit (Central Processing Unit, CPU), and the processor 60 may also be other general-purpose processors, digital signal processors (Digital Signal Processors) Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the above-mentioned memory 61 may be an internal storage unit of the above-mentioned terminal device 6 in some embodiments, such as a hard disk or a memory of the terminal device 6 .
  • the above-mentioned memory 61 may also be an external storage device of the above-mentioned terminal device 6 in other embodiments, such as a plug-in hard disk equipped on the above-mentioned terminal device 6, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital) , SD) card, flash memory card (Flash Card), etc.
  • the above-mentioned memory 61 may also include both the internal storage unit of the above-mentioned terminal device 6 and an external storage device.
  • the above-mentioned memory 61 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, for example, program codes of the above-mentioned computer programs.
  • the above-mentioned memory 61 can also be used to temporarily store data that has been output or is to be output.
  • the above-mentioned terminal device 6 may also include a network connection module, such as a Bluetooth module, a Wi-Fi module, a cellular network module, etc., which will not be repeated here.
  • a network connection module such as a Bluetooth module, a Wi-Fi module, a cellular network module, etc., which will not be repeated here.
  • the processor 60 executes the computer program 62 to implement the steps in any of the above-mentioned shooting method embodiments, after acquiring the face image, according to the feature point information in the face image, The eye weight region and the first face weight region are determined in the face image, and at this time, the face image can be partitioned according to the feature point information.
  • the first weight of the eye weight area and the second weight of the first face weight area determine the first weight of the eye weight area and the second weight of the first face weight area, and then according to The first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area, determine exposure parameters such that the first weight and The second weight can better reflect the importance of the corresponding weight area in the face image, so that the importance of the different weight areas of the face and the brightness of the different weight areas can be fully considered to determine the exposure parameters, to avoid
  • the proportion of the human face is small, so that the exposure parameters during shooting are mainly determined according to other features in the face image, so that the shooting quality of the details of the human eye is poor, so that according to the exposure parameters, the When the target user is shooting, it can improve the shooting quality of human eye details.
  • Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the foregoing method embodiments can be implemented.
  • the embodiments of the present application provide a computer program product, when the computer program product runs on a terminal device, so that the terminal device can implement the steps in the foregoing method embodiments when executed.
  • the above-mentioned integrated units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium.
  • the present application realizes all or part of the processes in the methods of the above-mentioned embodiments, which can be completed by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program is in When executed by the processor, the steps of the foregoing method embodiments can be implemented.
  • the above-mentioned computer program includes computer program code, and the above-mentioned computer program code may be in the form of source code, object code form, executable file or some intermediate form.
  • the above-mentioned computer-readable medium may include at least: any entity or device capable of carrying the computer program code to the photographing device/terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media.
  • ROM read-only memory
  • RAM Random Access Memory
  • electrical carrier signals telecommunication signals
  • software distribution media for example, U disk, mobile hard disk, disk or CD, etc.
  • computer readable media may not be electrical carrier signals and telecommunications signals.
  • the disclosed apparatus/device and method may be implemented in other manners.
  • the apparatus/equipment embodiments described above are only illustrative.
  • the division of the above modules or units is only a logical function division.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the above-mentioned units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

Abstract

Provided is a photography method, comprising: after a facial image is acquired, determining a human eye weight region and a first facial weight region in the facial image according to feature point information in the facial image; determining a first weight of the human eye weight region and a second weight of the first facial weight region according to the size of the human eye weight region and the size of the first facial weight region; determining an exposure parameter according to the first weight, the second weight, first brightness information of the human eye weight region and second brightness information of the first facial weight region; and photographing a target user according to the exposure parameter. By means of the method, the photographic quality of human eye details during the photographing of a face can be improved.

Description

拍摄方法、拍摄装置及终端设备Shooting method, shooting device and terminal equipment 技术领域technical field
本申请属于拍摄技术领域,尤其涉及拍摄方法、拍摄装置、终端设备及计算机可读存储介质。The present application belongs to the field of photographing technologies, and in particular, relates to a photographing method, a photographing apparatus, a terminal device, and a computer-readable storage medium.
背景技术Background technique
在诸如车载安防等应用场景中,往往会部署摄像头来拍摄人的行为,例如,可以在车辆的驾驶室中安装摄像头来拍摄司机驾驶时的状态,来判断司机是否处于疲劳驾驶状态等。因此,需要在拍摄时捕捉到人的眼睛的细节信息。In application scenarios such as in-vehicle security, cameras are often deployed to capture human behavior. For example, a camera can be installed in the cab of the vehicle to capture the driver's driving state to determine whether the driver is in a fatigued driving state. Therefore, it is necessary to capture detailed information of human eyes when shooting.
技术问题technical problem
而目前,在拍摄人脸时,由于面部其他特征以及环境等干扰因素较多,拍摄得到的人脸图像中的人眼细节的拍摄质量往往较差。However, at present, when photographing a human face, due to many interfering factors such as other facial features and the environment, the photographic quality of the human eye details in the photographed face image is often poor.
技术解决方案technical solutions
本申请实施例提供了拍摄方法、拍摄装置、终端设备及计算机可读存储介质,可以提高拍摄人脸时人眼细节的拍摄质量。The embodiments of the present application provide a photographing method, a photographing apparatus, a terminal device, and a computer-readable storage medium, which can improve the photographing quality of human eye details when photographing a human face.
第一方面,本申请实施例提供了一种拍摄方法,包括:In a first aspect, an embodiment of the present application provides a shooting method, including:
在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域;After acquiring the face image, determine the eye weight area and the first face weight area in the face image according to the feature point information in the face image;
根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重;According to the size of the human eye weight area and the size of the first face weight area, determine the first weight of the human eye weight area and the second weight of the first face weight area;
根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数;determining an exposure parameter according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area;
根据所述曝光参数,对目标用户进行拍摄。According to the exposure parameters, the target user is photographed.
第二方面,本申请实施例提供了一种拍摄装置,包括:In a second aspect, an embodiment of the present application provides a photographing device, including:
第一确定模块,用于在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域;a first determination module, configured to determine a human eye weight area and a first face weight area in the face image according to the feature point information in the face image after acquiring the face image;
第二确定模块,用于根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重;A second determination module, configured to determine the first weight of the eye weight region and the first weight of the first face weight region according to the size of the eye weight region and the size of the first face weight region two weights;
第三确定模块,用于根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数;a third determining module, configured to determine an exposure parameter according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area;
拍摄模块,用于根据所述曝光参数,对目标用户进行拍摄。The photographing module is used for photographing the target user according to the exposure parameter.
第三方面,本申请实施例提供了一种终端设备,包括存储器、处理器、显示器以及存储在上述存储器中并可在上述处理器上运行的计算机程序,其特征在于,上述处理器执行上述计算机程序时实现如第一方面上述的拍摄方法。In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, a display, and a computer program stored in the memory and running on the processor, characterized in that the processor executes the computer During the program, the shooting method as described above in the first aspect is implemented.
第四方面,本申请实施例提供了一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序被处理器执行时实现如第一方面上述的拍摄方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the shooting method described in the first aspect is implemented.
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面中上述的拍摄方法。In a fifth aspect, an embodiment of the present application provides a computer program product that, when the computer program product runs on a terminal device, enables the terminal device to execute the above-mentioned shooting method in the above-mentioned first aspect.
有益效果beneficial effect
本申请实施例中,可以在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域,此时,可以根据所述特征点信息,对所述人脸图像进行分区。然后,根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重,再根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数,以使得所述第一权重和所述第二权重更能体现相应的权重区域在人脸图像中的重要程度,从而可以充分考虑人脸的不同权重区域的重要性以及不同权重区域的亮度来确定曝光参数,避免由于人眼在人脸中所占比例较小而导致在拍摄时的曝光参数主要根据人脸图像中的其他特征来确定,使得对人眼细节的拍摄质量较差的问题,从而使得根据所述曝光参数,对目标用户进行拍摄时,能够提高人眼细节的拍摄质量。In this embodiment of the present application, after the face image is acquired, the eye weight area and the first face weight area may be determined in the face image according to the feature point information in the face image. In this case, The face image may be partitioned according to the feature point information. Then, according to the size of the eye weight area and the size of the first face weight area, determine the first weight of the eye weight area and the second weight of the first face weight area, and then according to The first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area, determine exposure parameters such that the first weight and The second weight can better reflect the importance of the corresponding weight area in the face image, so that the importance of the different weight areas of the face and the brightness of the different weight areas can be fully considered to determine the exposure parameters, so as to avoid the exposure parameters caused by the presence of human eyes. The proportion of the human face is small, so that the exposure parameters during shooting are mainly determined according to other features in the face image, so that the shooting quality of the details of the human eye is poor, so that according to the exposure parameters, the When the target user is shooting, it can improve the shooting quality of human eye details.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present application. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本申请一实施例提供的一种拍摄方法的流程示意图;1 is a schematic flowchart of a photographing method provided by an embodiment of the present application;
图2是本申请一实施例提供的人脸图像中的各个权重区域的一种示例性划分方式示意图;2 is a schematic diagram of an exemplary division manner of each weight region in a face image provided by an embodiment of the present application;
图3是本申请一实施例提供的步骤S102的一种流程示意图;FIG. 3 is a schematic flowchart of step S102 provided by an embodiment of the present application;
图4是本申请一实施例提供的确定所述人眼权重区域的边缘的一种示例性示意图;FIG. 4 is an exemplary schematic diagram of determining the edge of the human eye weight region provided by an embodiment of the present application;
图5是本申请一实施例提供的一种拍摄装置的结构示意图;FIG. 5 is a schematic structural diagram of a photographing device according to an embodiment of the present application;
图6是本申请一实施例提供的终端设备的结构示意图。FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
本发明的实施方式Embodiments of the present invention
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are set forth in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
为了说明本申请上述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the above-mentioned technical solutions of the present application, the following specific embodiments are used for description.
实施例1Example 1
下面对本申请实施例提供的拍摄方法进行描述。The shooting methods provided by the embodiments of the present application are described below.
图1示出了本申请实施例提供的一种拍摄方法的流程图,该拍摄方法可以应用于终端设备。FIG. 1 shows a flowchart of a photographing method provided by an embodiment of the present application, and the photographing method may be applied to a terminal device.
本申请实施例提供的拍摄方法可以应用于车载设备、服务器、台式电脑、手机、平板电脑、可穿戴设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等终端设备上,本申请实施例对终端设备的具体类型不作任何限制。The shooting methods provided in the embodiments of the present application can be applied to in-vehicle devices, servers, desktop computers, mobile phones, tablet computers, wearable devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, On terminal devices such as an ultra-mobile personal computer (UMPC), a netbook, and a personal digital assistant (PDA), the embodiments of the present application do not limit the specific type of the terminal device.
目前,在一些应用场景中,需要通过摄像头捕捉人眼细节,以更准确的判断被拍摄者当前所处的状态。例如,可以通过安装于车上的摄像头捕捉司机的人脸图像,并通过人脸图像中的人眼细节信息以及面部其他信息判断司机是否处于疲劳驾驶状态。然而,在拍摄过程中,由于人的眼部区域较小,并且不同的人脸的皮肤反光度不同,导致曝光亮度会根据随着皮肤反光度等因素而不断调整,从而无法保证人眼细节的拍摄质量;此外,佩戴的眼镜、口罩等也会干扰到对人眼细节的拍摄;并且,在诸如逆光等场景下,人脸往往较暗,从而也无法有效识别人眼细节信息。At present, in some application scenarios, it is necessary to capture the details of the human eye through the camera, so as to more accurately judge the current state of the person being photographed. For example, the driver's face image can be captured by a camera installed on the car, and whether the driver is in a fatigued driving state can be determined through the details of the human eye and other facial information in the face image. However, during the shooting process, because the human eye area is small and the skin reflectivity of different faces is different, the exposure brightness will be continuously adjusted according to factors such as skin reflectivity, etc., so that the shooting of human eye details cannot be guaranteed. quality; in addition, wearing glasses, masks, etc. will also interfere with the shooting of human eye details; and, in scenes such as backlighting, the human face is often dark, so the human eye details cannot be effectively identified.
因此,在进行疲劳驾驶识别等对眼睛拍摄细节要求较高的场景下,目前对人脸的拍摄方法容易出现曝光不当的情况,从而无法满足对人眼细节的拍摄要求。Therefore, in scenes with high requirements for eye shooting details, such as fatigue driving recognition, the current method of shooting human faces is prone to improper exposure, thus failing to meet the shooting requirements for human eye details.
而本申请实施例中,可以根据人脸图像中的人眼权重区域的尺寸和人脸图像中的第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重,再根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数,以使得所述第一权重和所述第二权重更能体现相应的权重区域在人脸图像中的重要程度,从而可以充分考虑人脸的不同权重区域的重要性以及不同权重区域的亮度来确定曝光参数,从而使得根据所述曝光参数,对目标用户进行拍摄时,能够提高人眼细节的拍摄质量。In the embodiment of the present application, the first weight of the human eye weight region and the first weight of the human eye weight region may be determined according to the size of the human eye weight region in the human face image and the size of the first face weight region in the human face image. a second weight of the face weight region, and then according to the first weight, the second weight, the first brightness information of the human eye weight region, and the second brightness information of the first face weight region, Determine the exposure parameters so that the first weight and the second weight can better reflect the importance of the corresponding weight regions in the face image, so that the importance of the different weight regions of the face and the different weight regions can be fully considered The exposure parameter is determined according to the brightness of the target user, so that when the target user is photographed according to the exposure parameter, the photographing quality of the details of the human eye can be improved.
具体的,如图1所示,该拍摄方法可以包括:Specifically, as shown in FIG. 1 , the shooting method may include:
步骤S101,在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域。Step S101 , after acquiring the face image, according to the feature point information in the face image, determine the human eye weight area and the first face weight area in the face image.
本申请实施例中,所述人脸图像为包含人脸的图像。所述人脸图像的获取方式可以有多种。示例性的,所述人脸图像可以通过执行本申请实施例的终端设备中的摄像头拍摄得到;此外,所述人脸图像也可以通过与所述终端设备通信连接的摄像头拍摄得到,并传输至所述终端设备中;或者,所述人脸图像也可以为预先存储于所述终端设备中的本地图像等等。所述人脸图像的具体获取方式在此不作限定。In the embodiment of the present application, the face image is an image including a human face. There are many ways to acquire the face image. Exemplarily, the face image may be captured by a camera in the terminal device implementing the embodiments of the present application; in addition, the face image may also be captured by a camera communicatively connected to the terminal device, and transmitted to in the terminal device; alternatively, the face image may also be a local image pre-stored in the terminal device or the like. The specific acquisition method of the face image is not limited herein.
所述特征点信息可以包括关于人脸中的五官的特征点、人脸边缘的特征点等的信息以及与人脸相关联的物体上的特征点的信息中的至少一种。示例性的,与人脸相关联的物体可以包括所述人脸图像中的人脸所佩戴的眼镜、口罩等物品以及其他对人脸的遮挡物等等,相应的,所述特征点信息可以包括用于标识眼镜的轮廓的特征点的坐标、标识口罩的轮廓的特征点的坐标等信息。The feature point information may include at least one of information on feature points of facial features in a human face, feature points on an edge of the human face, and the like, and information on feature points on objects associated with the human face. Exemplarily, the objects associated with the face may include items such as glasses, masks, etc., which are worn by the face in the face image, as well as other shielding objects for the face, etc. Correspondingly, the feature point information may be It includes information such as the coordinates of the feature points used to identify the outline of the glasses, and the coordinates of the feature points used to identify the outline of the mask.
所述人眼权重区域可以包括至少部分人眼区域,所述第一面部权重区域可以包括至少部分面部区域,例如,所述第一面部权重区域可以包括至少部分面颊区域、至少部分额头区域以及至少部分头发区域等中的至少一种。其中,所述第一面部权重区域可以不与所述人眼权重区域重合。The human eye weight area may include at least part of the human eye area, the first face weight area may include at least part of the face area, for example, the first face weight area may include at least part of the cheek area, at least part of the forehead area and at least one of at least part of the hair area and the like. Wherein, the first face weight region may not overlap with the human eye weight region.
本申请实施例中,确定所述人眼权重区域和所述第一面部权重区域的具体方式可以有多种。在一些实施例中,可以根据人眼的边缘特征点,确定人眼所在的区域作为所述人眼权重区域;或者,可以根据人眼所在的区域的大小、目标摄像头与人脸的相对位置关系(如摄像头是拍摄人脸的正面、侧面或者相对于人脸的正面倾斜了一定的角度等等),对人眼所在的区域进行拓展,并将拓展后的人眼区域作为所述人眼权重区域。所述第一面部权重区域的确定方式可以与所述人眼权重区域的确定方式相似,也可以通过其他方式来确定。示例性的,可以在确定所述人眼权重区域之后,根据所述人眼权重区域的边缘以及相应的面部特征点信息等信息来确定所述第一面部权重区域。在一些示例中,所述第一面部权重区域可以为面颊权重区域,此时,可以获取所述面颊的下边缘特征点、左边缘特征点以及右边缘特征点,并根据所述人眼权重区域的下边缘,确定所述面颊权重区域的边缘。In the embodiment of the present application, there may be various specific manners for determining the eye weight region and the first face weight region. In some embodiments, the region where the human eye is located may be determined as the human eye weight region according to the edge feature points of the human eye; or, the size of the region where the human eye is located, the relative positional relationship between the target camera and the human face may be used (For example, the camera shoots the front or side of the face, or is inclined at a certain angle relative to the front of the face, etc.), expand the area where the human eye is located, and use the expanded human eye area as the eye weight area. The manner of determining the first face weight region may be similar to that of the human eye weight region, or may be determined in other manners. Exemplarily, after the human eye weight region is determined, the first face weight region may be determined according to information such as edges of the human eye weight region and corresponding facial feature point information. In some examples, the first face weight area may be a cheek weight area. In this case, the lower edge feature point, the left edge feature point and the right edge feature point of the cheek may be obtained, and according to the human eye weight The lower edge of the region, which determines the edge of the cheek weight region.
步骤S102,根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重。Step S102: Determine a first weight of the human eye weight area and a second weight of the first face weight area according to the size of the eye weight area and the size of the first face weight area.
本申请实施例中,所述第一权重可以用于反映所述人眼权重区域的重要性,所述第二权重可以用于反映所述第一面部权重区域的重要性。In this embodiment of the present application, the first weight may be used to reflect the importance of the human eye weight area, and the second weight may be used to reflect the importance of the first face weight area.
本申请实施例中,所述第一权重和所述第二权重可以根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸动态地确定,而不是预先设定好的。示例性的,可以根据所述人眼权重区域的面积与所述第一面部权重区域的面积之间的比值,确定所述第一权重与所述第二权重之间的比值,以使得所述人眼权重区域相对于所述第一面部权重区域较小时,可以适当增大所述第一权重的大小,从而可以避免由于所述第一人眼权重区域占比较小而使得后续确定出的曝光参数等拍摄参数无法捕捉到人眼细节。In this embodiment of the present application, the first weight and the second weight may be dynamically determined according to the size of the eye weight region and the size of the first face weight region, rather than being preset. Exemplarily, the ratio between the first weight and the second weight may be determined according to the ratio between the area of the eye weight area and the area of the first face weight area, so that all When the eye weight area is smaller than the first face weight area, the size of the first weight can be appropriately increased, so as to avoid subsequent determinations due to the small proportion of the first eye weight area. The exposure parameters and other shooting parameters cannot capture the details of the human eye.
在一些实施例中,所述根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重,包括:In some embodiments, the determining the first weight of the eye weight region and the size of the first face weight region according to the size of the eye weight region and the size of the first face weight region Second weight, including:
确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重,以使得所述第一权重和第一面积的乘积与所述第二权重和第二面积的乘积的比值大于预设比值,其中,所述第一面积为所述人眼权重区域的面积,所述第二面积为所述第一面部权重区域的面积。determining a first weight of the eye weight region and a second weight of the first face weight region such that the product of the first weight and the first area is the product of the second weight and the second area The ratio is greater than a preset ratio, wherein the first area is the area of the human eye weight region, and the second area is the area of the first face weight region.
本申请实施例中,所述预设比值的具体取值可以根据具体应用场景、预设实验等方式确定。示例性的,所述预设比值可以为3。In this embodiment of the present application, the specific value of the preset ratio may be determined according to a specific application scenario, a preset experiment, or the like. Exemplarily, the preset ratio may be 3.
通过本申请实施例,所述第一权重和所述第二权重能够更好地根据人脸图像中的不同权重区域的面积进行调整,以避免由于人眼在人脸中所占比例较小而导致在拍摄时的曝光参数主要根据人脸图像中的其他特征来确定,使得对人眼细节的拍摄质量较差的问题。Through the embodiment of the present application, the first weight and the second weight can be better adjusted according to the area of different weighted regions in the face image, so as to avoid the problem of the human eyes occupying a small proportion in the face. As a result, the exposure parameters during shooting are mainly determined according to other features in the face image, so that the shooting quality of the details of the human eye is poor.
步骤S103,根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数。Step S103: Determine an exposure parameter according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area.
示例性的,所述人眼权重区域的第一亮度信息可以包括所述第一人眼权重区域的平均亮度值、总体亮度值和/或各个像素点的亮度值等等。在一些实施例中,所述人眼权重区域也可以包括多个子区域,所述第一亮度信息可以包括其中的各个子区域的亮度信息。Exemplarily, the first brightness information of the human eye weight region may include an average brightness value, an overall brightness value, and/or a brightness value of each pixel of the first human eye weight region, and the like. In some embodiments, the human eye weight region may also include multiple sub-regions, and the first brightness information may include brightness information of each of the sub-regions.
在一些实施例中,可以将所述第一权重、所述第二权重、所述人眼权重区域的平均亮度值和所述第一面部权重区域的平均亮度值进行相应的加权运算,获得一个整体亮度值,以根据该整体亮度值确定曝光参数。其中,所述曝光参数可以包括曝光时间、曝光增益等。若所述整体亮度值较小,则可以通过增加曝光时间和/或提高曝光增益等方式来提高图像亮度;若所述整体亮度值较大,则可以通过减小曝光时间和/或降低曝光增益等方式来降低图像亮度。In some embodiments, a corresponding weighting operation may be performed on the first weight, the second weight, the average brightness value of the human eye weight region, and the average brightness value of the first face weight region to obtain An overall brightness value from which to determine exposure parameters. The exposure parameters may include exposure time, exposure gain, and the like. If the overall brightness value is small, the image brightness can be improved by increasing the exposure time and/or increasing the exposure gain; if the overall brightness value is large, reducing the exposure time and/or reducing the exposure gain etc. to reduce the image brightness.
在一些实施例中,所述根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数,包括:In some embodiments, the exposure parameter is determined according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area ,include:
根据所述第一权重、所述第二权重、所述第一亮度信息和所述第二亮度信息,确定综合亮度信息;determining comprehensive brightness information according to the first weight, the second weight, the first brightness information and the second brightness information;
根据所述综合亮度信息,确定所述曝光参数。The exposure parameter is determined according to the comprehensive brightness information.
本申请实施例中,通过预先确定的所述第一权重和所述第二权重,所述综合亮度信息可以充分考虑所述人眼权重区域,同时也可以兼顾第一面部权重区域等除所述人眼权重区域之外的其他区域,使得所述综合亮度信息中综合评估出的亮度可以更好地体现人脸图像中人眼亮度的大致适中范围,并用于确定所述曝光参数,以使得所述曝光参数能够保证拍摄人脸时对于人眼等部分不会出现过曝或者曝光不足的情况,从而使得人眼细节不丢失。In the embodiment of the present application, through the predetermined first weight and the second weight, the comprehensive brightness information can fully consider the human eye weight area, and can also take into account the first face weight area, etc. other areas other than the weight area of the human eye, so that the brightness comprehensively evaluated in the comprehensive brightness information can better reflect the approximate moderate range of human eye brightness in the face image, and is used to determine the exposure parameter, so that The exposure parameters can ensure that parts such as human eyes will not be overexposed or underexposed when photographing a human face, so that details of human eyes will not be lost.
在一些实施例中,所述第一面部权重区域位于所述人眼权重区域的下方;In some embodiments, the first face-weighted region is located below the eye-weighted region;
所述根据所述第一权重、所述第二权重、所述第一亮度信息和所述第二亮度信息,确定综合亮度信息,包括:The determining of the comprehensive brightness information according to the first weight, the second weight, the first brightness information and the second brightness information includes:
根据所述特征点信息中的人眼特征点信息,确定人眼高度;Determine the height of the human eye according to the feature point information of the human eye in the feature point information;
若所述人眼高度大于第二预设高度,则将位于所述人眼权重区域的正上方且高度为第一高度阈值的区域作为第二面部权重区域,并将位于所述第二面部权重区域的正上方且高度为第二高度阈值的区域作为第三面部权重区域;If the height of the human eye is greater than the second preset height, the area directly above the eye weight area and the height is the first height threshold is used as the second face weight area, and the area located in the second face weight area The area directly above the area and the height of which is the second height threshold is used as the third face weight area;
根据所述第一权重,确定所述第二面部权重区域的第三权重和所述第三面部权重区域所对应的第四权重;According to the first weight, determine the third weight of the second face weight area and the fourth weight corresponding to the third face weight area;
根据所述第一权重、所述第二权重、所述第一亮度信息、所述第二亮度信息、所述第三权重、所述第四权重、所述第二面部权重区域的第三亮度信息和所述第三面部权重区域的第四亮度信息,确定所述综合亮度信息。According to the first weight, the second weight, the first brightness information, the second brightness information, the third weight, the fourth weight, the third brightness of the second face weight area information and fourth luminance information of the third face weighting region to determine the comprehensive luminance information.
本申请实施例中,所述人眼特征点信息可以包括人眼上边缘特征点的坐标和人眼下边缘特征点的坐标。根据人眼上边缘特征点的坐标和人眼下边缘特征点的坐标可以计算所述人眼高度。In this embodiment of the present application, the information on the feature points of the human eye may include the coordinates of the upper edge feature point of the human eye and the coordinates of the lower edge feature point of the human eye. The height of the human eye can be calculated according to the coordinates of the upper edge feature point of the human eye and the coordinates of the lower edge feature point of the human eye.
一般来说,所述人眼权重区域的宽度和所述第一面部权重区域的宽度可以较为接近。因此,所述人眼高度可以反映出所述人眼图像中的人眼所在区域的大小,并且会对所述人眼权重区域的尺寸产生较大影响。其中,若所述人眼高度大于第二预设高度,则可以认为所述人眼图像中的人眼所在区域较大,所包含的人眼细节较多,对应的人眼权重区域也往往较大。因此,可以进一步确定所述人脸图像中的第二面部权重区域和第三面部权重区域,以在能够获取到较为丰富的人眼信息的基础上,可以兼顾人脸中诸如额头、头发、面颊或者口罩等区域中的面部因素对图像亮度的影响。Generally speaking, the width of the human eye weight region and the width of the first face weight region may be relatively close. Therefore, the height of the human eye can reflect the size of the region where the human eye is located in the human eye image, and will have a greater impact on the size of the human eye weight region. Wherein, if the height of the human eye is greater than the second preset height, it can be considered that the region where the human eye is located in the human eye image is larger, contains more details of the human eye, and the corresponding weight region of the human eye is often larger. big. Therefore, the second face weight area and the third face weight area in the face image can be further determined, so that on the basis of obtaining richer human eye information, it is possible to take into account factors such as forehead, hair, cheeks, etc. Or the effect of facial factors in areas such as masks on image brightness.
其中,所述第一高度阈值以及所述第二高度阈值可以根据实际场景确定。在一些实施例中,所述人脸图像被划分为多个第一区域,此时,所述第一高度阈值和所述第二高度阈值可以根据所述第一区域的高度来确定,示例性的,所述第一高度阈值可以为一个第一区域的高度,所述第二高度阈值可以为一个第一区域的高度等等,以便于后续确定属于所述第二面部权重区域的第一区域以及属于所述第三面部权重区域的第一区域。所述第二面部权重区域的第三权重和所述第三面部权重区域所对应的第四权重可以根据所述第一权重确定,因此,所述第三权重和所述第四权重也可以根据所述第一权重进行动态调整,以保证所述人眼权重区域的重要程度,同时可以兼顾到所述第二面部权重区域以及第三面部权重区域。Wherein, the first height threshold and the second height threshold may be determined according to actual scenarios. In some embodiments, the face image is divided into a plurality of first regions, in this case, the first height threshold and the second height threshold may be determined according to the height of the first region, for example The first height threshold may be the height of a first area, the second height threshold may be the height of a first area, etc., so as to facilitate subsequent determination of the first area belonging to the second face weight area and a first region belonging to the third face weight region. The third weight of the second face weight area and the fourth weight corresponding to the third face weight area may be determined according to the first weight, therefore, the third weight and the fourth weight may also be determined according to The first weight is dynamically adjusted to ensure the importance of the eye weight area, and at the same time, the second face weight area and the third face weight area can be taken into account.
如图2所示,为所述人脸图像中的各个权重区域的一种示例性划分方式。其中,所述第一面部权重区域位于所述人眼权重区域的下方,可以认为是面颊权重区域,所述第二面部权重区域位于所述人眼权重区域的正上方,可以认为是额头权重区域,所述第三面部权重区域位于所述第二权重区域的正上方,可以认为是头发权重区域。此时,所述人眼权重区域、第一面部权重区域、第二面部权重区域以及第三面部权重区域可以大致地包含了人脸的主要特征区域,并且,可以通过动态确定各个权重区域的权重来分别确定各个权重区域的重要性。As shown in FIG. 2 , it is an exemplary division manner of each weight region in the face image. The first face weight area is located below the human eye weight area and can be considered as the cheek weight area, and the second face weight area is located directly above the human eye weight area and can be considered as the forehead weight area area, the third face weight area is located directly above the second weight area, which can be considered as a hair weight area. At this time, the eye weight area, the first face weight area, the second face weight area, and the third face weight area may roughly include the main feature areas of the human face, and the weight area of each weight area may be determined dynamically weights to determine the importance of each weighted area respectively.
其中,示例性的,所述第三权重可以为所述第一权重的0.5倍,所述第四权重可以为所述第一权重的0.25倍,以保证所述人眼权重区域的重要程度,同时可以兼顾到所述第二面部权重区域以及第三面部权重区域。Wherein, exemplarily, the third weight may be 0.5 times the first weight, and the fourth weight may be 0.25 times the first weight, so as to ensure the importance of the human eye weight region, At the same time, the second face weight area and the third face weight area can be taken into consideration.
在一些实施例中,所述根据所述第一权重、所述第二权重、所述第一亮度信息和所述第二亮度信息,确定综合亮度信息,包括:In some embodiments, the determining comprehensive luminance information according to the first weight, the second weight, the first luminance information and the second luminance information includes:
若所述人眼高度不大于所述第二预设高度,则根据所述第一权重,确定所述第二面部权重区域的第五权重;If the height of the human eye is not greater than the second preset height, determining a fifth weight of the second face weight region according to the first weight;
根据所述第一权重、所述第二权重、所述第一亮度信息、所述第二亮度信息、所述第五权重和所述第三亮度信息,确定所述综合亮度信息。The comprehensive brightness information is determined according to the first weight, the second weight, the first brightness information, the second brightness information, the fifth weight and the third brightness information.
本申请实施例中,若所述人眼高度不大于所述第二预设高度,则可以认为所述人眼图像中的人眼所在区域较小,所包含的人眼细节较少,对应的人眼权重区域也往往较小。因此,可以进一步确定所述人脸图像中的第二面部权重区域以及所述第二面部权重区域的第五权重,以减小人脸中除人眼之外的其他面部因素对图像亮度的影响。其中,示例性的,所述第五权重可以为所述第一权重的0.5倍。In the embodiment of the present application, if the height of the human eye is not greater than the second preset height, it can be considered that the area where the human eye is located in the human eye image is small and contains less details of the human eye, and the corresponding The human eye weight area also tends to be smaller. Therefore, the second face weight region in the face image and the fifth weight of the second face weight region can be further determined to reduce the influence of other face factors in the face except the human eye on the brightness of the image . Wherein, for example, the fifth weight may be 0.5 times the first weight.
步骤S104,根据所述曝光参数,对目标用户进行拍摄。In step S104, the target user is photographed according to the exposure parameter.
本申请实施例中,对所述目标用户进行拍摄的拍摄方式可以与所述人脸图像的拍摄方式相关联。示例性的,在一种应用场景中,所述目标用户可以为在驾驶室中的司机。In the embodiment of the present application, the shooting manner of shooting the target user may be associated with the shooting manner of the face image. Exemplarily, in an application scenario, the target user may be a driver in a cab.
本申请实施例中,可以在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域,此时,可以根据所述特征点信息,对所述人脸图像进行分区。然后,根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重,再根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数,以使得所述第一权重和所述第二权重更能体现相应的权重区域在人脸图像中的重要程度,从而可以充分考虑人脸的不同权重区域的重要性以及不同权重区域的亮度来确定曝光参数,避免由于人眼在人脸中所占比例较小而导致在拍摄时的曝光参数主要根据人脸图像中的其他特征来确定,使得对人眼细节的拍摄质量较差的问题,从而使得根据所述曝光参数,对目标用户进行拍摄时,能够提高人眼细节的拍摄质量。In this embodiment of the present application, after the face image is acquired, the eye weight area and the first face weight area may be determined in the face image according to the feature point information in the face image. In this case, The face image may be partitioned according to the feature point information. Then, according to the size of the eye weight area and the size of the first face weight area, determine the first weight of the eye weight area and the second weight of the first face weight area, and then according to The first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area, determine exposure parameters such that the first weight and The second weight can better reflect the importance of the corresponding weight area in the face image, so that the importance of the different weight areas of the face and the brightness of the different weight areas can be fully considered to determine the exposure parameters, so as to avoid the exposure parameters caused by the presence of human eyes. The proportion of the human face is small, so that the exposure parameters during shooting are mainly determined according to other features in the face image, so that the shooting quality of the details of the human eye is poor, so that according to the exposure parameters, the When the target user is shooting, it can improve the shooting quality of human eye details.
在上述实施例的基础上,在一些实施例中,所述特征点信息包括人眼特征点信息和第一面部特征点信息;On the basis of the above embodiments, in some embodiments, the feature point information includes human eye feature point information and first facial feature point information;
所述在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域,包括:After obtaining the face image, according to the feature point information in the face image, determine the human eye weight area and the first face weight area in the face image, including:
步骤S301,在获取到人脸图像之后,将所述人脸图像划分为多个第一区域;Step S301, after acquiring the face image, divide the face image into a plurality of first regions;
步骤S302,根据所述人眼特征点信息,确定属于所述人眼权重区域的第一区域;Step S302, according to the human eye feature point information, determine the first area belonging to the human eye weight area;
步骤S303,根据所述人眼权重区域的边缘和所述第一面部特征点信息,确定属于所述第一面部权重区域的第一区域。Step S303: Determine a first area belonging to the first face weight area according to the edge of the human eye weight area and the first facial feature point information.
本申请实施例中,所述第一面部特征点信息与所述第一面部权重区域相关联。例如,若所述第一面部权重区域为面颊权重区域,则所述第一面部特征点信息包括面颊特征点信息,例如,包括面颊边缘特征点的坐标等信息;若所述第一面部权重区域包括人脸区域中除所述人眼权重区域之外的其他区域,则所述第一面部特征点信息可以包括人脸特征点信息,例如,包括人脸边缘特征点的坐标等信息。所述第一区域的个数和大小可以根据人脸图像的尺寸、人脸区域的大小等等来确定。示例性的,若所述人脸图像的分辨率可以为1920*1080,所述第一区域的个数可以为K*P个,其中,每一个第一区域的分辨率可以为(1920/K)*(1080/P)。In this embodiment of the present application, the first facial feature point information is associated with the first facial weight region. For example, if the first face weight area is a cheek weight area, the first facial feature point information includes cheek feature point information, for example, includes information such as coordinates of cheek edge feature points; If the partial weight area includes other areas in the face area except the eye weight area, the first facial feature point information may include face feature point information, for example, including the coordinates of the face edge feature points, etc. information. The number and size of the first regions may be determined according to the size of the face image, the size of the face region, and the like. Exemplarily, if the resolution of the face image may be 1920*1080, the number of the first regions may be K*P, wherein the resolution of each first region may be (1920/K )*(1080/P).
所述人眼特征点信息可以包括人眼边缘特征点信息和人眼中心特征点信息等等。根据所述人眼特征点信息,可以确定属于所述人眼权重区域的第一区域;当然,在一些应用中,还可以根据所述人眼特征点信息以及诸如人脸边缘特征点信息等,来确定属于所述人眼权重区域的第一区域。The human eye feature point information may include human eye edge feature point information, human eye center feature point information, and the like. According to the human eye feature point information, the first region belonging to the human eye weight region can be determined; of course, in some applications, it can also be based on the human eye feature point information and information such as face edge feature point information, etc., to determine the first region belonging to the human eye weight region.
在一些实施例中,所述人眼特征点信息包括人眼中心特征点和人眼边缘特征点的信息;In some embodiments, the human eye feature point information includes information of human eye center feature points and human eye edge feature points;
所述根据所述人眼特征点信息,确定属于所述人眼权重区域的第一区域,包括:Determining the first region belonging to the human eye weight region according to the human eye feature point information includes:
根据所述人眼特征点信息,确定人眼高度;Determine the height of the human eye according to the feature point information of the human eye;
根据目标摄像头与人脸的相对位置关系和所述人眼高度,确定距离阈值,其中,所述目标摄像头为拍摄所述人脸图像的摄像头;Determine the distance threshold according to the relative positional relationship between the target camera and the human face and the height of the human eye, wherein the target camera is a camera that captures the face image;
判断所述人眼中心特征点是否位于任一第一区域的边缘线上;Judging whether the central feature point of the human eye is located on the edge line of any first region;
若所述人眼中心特征点位于任一第一区域的边缘线上,则根据所述距离阈值和各个预设边缘特征点分别与所述人眼中心特征点之间的第一距离,确定所述人眼权重区域的边缘,其中,所述预设边缘特征点包括至少一个人眼边缘特征点。If the central feature point of the human eye is located on the edge line of any first region, then according to the distance threshold and the first distance between each preset edge feature point and the central feature point of the human eye, determine the central feature point of the human eye. The edge of the human eye weight region, wherein the preset edge feature point includes at least one human eye edge feature point.
本申请实施例中,所述目标摄像头与人脸的相对位置关系可以影响相应的人脸图像中的人脸部分的呈现效果。例如,若所述目标摄像头安装于司机等被拍摄者的左侧,则若所述目标摄像头对被拍摄者进行拍摄所获得的人脸图像未经过镜像处理,那么人脸图像中的人脸往往会靠近所述人脸图像的右侧,并且,该人脸图像的右侧中的人脸特征也较多较清晰;而若所述目标摄像头对被拍摄者进行拍摄所获得的人脸图像已经过镜像处理,那么人脸图像中的人脸往往会靠近所述人脸图像的左侧。而若所述目标摄像头安装于司机等被拍摄者的右侧则情况相反。In the embodiment of the present application, the relative positional relationship between the target camera and the human face may affect the presentation effect of the human face part in the corresponding human face image. For example, if the target camera is installed on the left side of the subject such as the driver, if the face image obtained by the target camera shooting the subject has not been mirrored, the face in the face image is often will be close to the right side of the face image, and the face features in the right side of the face image are also more clear; and if the target camera captures the subject, the face image obtained has already been captured. Through mirror processing, the face in the face image tends to be close to the left side of the face image. On the other hand, if the target camera is installed on the right side of the person to be photographed, such as the driver, the situation is reversed.
示例性的,若所述目标摄像头安装于被拍摄者的左侧,则在确定属于所述人眼权重区域的第一区域时,可以通过判断人眼边缘特征点所在的位置来确定所述人眼权重区域,以使得所述人眼权重区域中能够获取到包括所述被拍摄者的绝大部分左侧眼部特征甚至所有左侧眼部特征。Exemplarily, if the target camera is installed on the left side of the person being photographed, when determining the first area belonging to the weighted area of the human eye, the person can be determined by judging the location of the edge feature points of the human eye. An eye weight region, so that most of the left eye features or even all left eye features of the photographed subject can be obtained in the human eye weight region.
此外,所述人眼高度也可以大致地反映所述人脸图像中的人眼所占的区域大小以及所包含的人眼细节的多少。例如,若所述人眼高度较小,则可以认为所述人眼图像中的人眼所在区域较小,所包含的人眼细节较少,对应的人眼权重区域也往往较小,则可以通过设置所述距离阈值,使得在所述人眼权重区域中尽可能多地包含较多的人眼特征。因此,可以根据目标摄像头与人脸的相对位置关系和所述人眼高度,确定距离阈值。In addition, the height of the human eye may also roughly reflect the size of the area occupied by the human eye in the human face image and the number of details of the human eye contained therein. For example, if the height of the human eye is small, it can be considered that the area where the human eye is located in the human eye image is small, contains less details of the human eye, and the corresponding weight area of the human eye is often small, then By setting the distance threshold, the human eye weight region includes as many human eye features as possible. Therefore, the distance threshold can be determined according to the relative positional relationship between the target camera and the human face and the height of the human eye.
所述距离阈值的个数可以有一个或者两个以上,并且,不同的距离阈值可以用于与在不同方向上所得到的第一距离进行比对。示例性的,所述距离阈值可以包括上方距离阈值、下方距离阈值、左侧距离阈值和右侧距离阈值。所述人眼边缘特征点可以包括人眼上边缘特征点,人眼下边缘特征点、人眼左边缘特征点以及人眼右边缘特征点中的至少一种。There may be one or more than two distance thresholds, and different distance thresholds may be used to compare with the first distances obtained in different directions. Exemplarily, the distance threshold may include an upper distance threshold, a lower distance threshold, a left distance threshold and a right distance threshold. The human eye edge feature points may include at least one of a human eye upper edge feature point, a human eye lower edge feature point, a human eye left edge feature point, and a human eye right edge feature point.
所述预设边缘特征点用于确定所述人眼权重区域的边缘。其中,示例性的,若根据人眼的上边缘和下边缘来确定所述人眼权重区域的上边缘和下边缘,则所述预设边缘特征点可以包括人眼上边缘特征点和人眼下边缘特征点;此外,若根据人脸的面颊边缘来确定所述人眼权重区域的左边缘和右边缘,则所述预设边缘特征点可以包括脸颊左边缘特征点和脸颊右边缘特征点。The preset edge feature points are used to determine the edge of the human eye weight region. Wherein, for example, if the upper edge and the lower edge of the human eye weight region are determined according to the upper edge and the lower edge of the human eye, the preset edge feature points may include the upper edge feature point of the human eye and the lower edge of the human eye. edge feature points; in addition, if the left edge and the right edge of the eye weight region are determined according to the cheek edge of the human face, the preset edge feature points may include the left edge feature point of the cheek and the right edge feature point of the cheek.
本申请实施例中,每一个所述第一距离为对应的预设边缘特征点与所述人眼中心特征点之间的距离。在一些示例中,可以获取所述第一距离与所述第一区域的高度相除后的余数,并将该余数与对应的距离阈值进行比较,以确定所述人眼权重区域的边缘,其中,所述人眼权重区域可以由第一区域组成,因此,所述人眼权重区域的边缘可以与特定第一区域的边缘重合。In the embodiment of the present application, each of the first distances is a distance between the corresponding preset edge feature point and the center feature point of the human eye. In some examples, a remainder of dividing the first distance by the height of the first region may be obtained, and the remainder may be compared with a corresponding distance threshold to determine the edge of the eye-weighted region, wherein , the human eye weight region may be composed of a first region, and therefore, the edge of the human eye weight region may coincide with the edge of a specific first region.
示例性的,下面以一个具体示例,说明确定所述人眼权重区域的边缘的一种示例性实现方式。Exemplarily, an exemplary implementation manner of determining the edge of the human eye weight region is described below with a specific example.
在一种具体示例中,若所述人眼高度大于特定高度阈值(例如大于一个第一区域的高度)且所述目标摄像头正对着人脸进行拍摄,则可以确定所述距离阈值为0。也即是说,如图4(a)所示,若所述人眼中心特征点位于任一第一区域的边缘线上,则若所述预设边缘特征点包括脸颊右边缘特征点和脸颊左边缘特征点,并且脸颊右边缘特征点和脸颊左边缘特征点分别在某一第一区域的边缘线上,则可以以该两个边缘线为所述人眼权重区域的左边缘和右边缘;所述人眼权重区域的上边缘和下边缘的确定方式可以类似,在此不再详述。In a specific example, if the height of the human eye is greater than a certain height threshold (for example, greater than the height of a first area) and the target camera is shooting a face, the distance threshold may be determined to be 0. That is to say, as shown in Figure 4(a), if the center feature point of the human eye is located on the edge line of any first region, then if the preset edge feature point includes the right edge feature point of the cheek and the cheek The left edge feature point, and the right edge feature point of the cheek and the left edge feature point of the cheek are respectively on the edge line of a certain first area, then the two edge lines can be used as the left edge and right edge of the human eye weight area ; The manner of determining the upper edge and the lower edge of the human eye weight region may be similar, and will not be described in detail here.
而如图4(b)所示,若存在某一所述预设边缘特征点(如脸颊右边缘特征点或者脸颊左边缘特征点)在某个第一区域内,则确定该第一区域相对于所述人眼中心特征点的某一外侧边缘为所述人眼权重区域的一条边缘。所述人眼权重区域的上边缘和下边缘的确定方式可以类似,在此不再详述。However, as shown in Figure 4(b), if there is a certain preset edge feature point (such as the right edge feature point of the cheek or the left edge feature point of the cheek) in a certain first area, it is determined that the first area is relatively A certain outer edge of the central feature point of the human eye is an edge of the human eye weight region. The manner of determining the upper edge and the lower edge of the human eye weight region may be similar, and will not be described in detail here.
在一些实施例中,所述拍摄方法还包括:In some embodiments, the photographing method further includes:
若所述人眼中心特征点不位于任一第一区域的边缘线上,则确定所述人眼中心特征点所在的第一区域为核心区域,并判断是否存在外部边缘特征点,其中,所述外部边缘特征点为位于所述核心区域之外的预设边缘特征点;If the central feature point of the human eye is not located on the edge line of any first region, the first region where the central feature point of the human eye is located is determined as the core region, and it is determined whether there is an external edge feature point, wherein the The outer edge feature points are preset edge feature points located outside the core area;
若存在至少一个外部边缘特征点,则对于每一个外部边缘特征点,获取所述外部边缘特征点与目标边缘之间的第二距离,其中,所述目标边缘为从所述外部边缘特征点指向所述核心区域时与所述外部边缘特征点最近的第一区域边缘;If there is at least one external edge feature point, for each external edge feature point, obtain a second distance between the external edge feature point and the target edge, where the target edge is directed from the external edge feature point The first region edge closest to the outer edge feature point in the core region;
若所述第二距离大于对应的所述距离阈值,则根据所述外部边缘特征点所在的第一区域和所述核心区域,确定所述人眼权重区域的边缘;If the second distance is greater than the corresponding distance threshold, determine the edge of the human eye weight region according to the first region and the core region where the external edge feature points are located;
若所述第二距离不大于对应的所述距离阈值,则根据所述目标边缘和所述核心区域,确定所述人眼权重区域的边缘。If the second distance is not greater than the corresponding distance threshold, the edge of the human eye weight region is determined according to the target edge and the core region.
其中,由于所述目标摄像头与人脸的相对位置关系可以影响相应的人脸图像中的人脸部分的呈现效果。例如,若所述目标摄像头安装于司机等被拍摄者的左侧,则若所述目标摄像头对被拍摄者进行拍摄所获得的人脸图像未经过镜像处理,那么人脸图像中的人脸往往会靠近所述人脸图像的右侧,并且,该人脸图像的右侧中的人脸特征也较多并且往往较为清晰;而若所述目标摄像头对被拍摄者进行拍摄所获得的人脸图像已经过镜像处理,那么人脸图像中的人脸往往会靠近所述人脸图像的左侧。而若所述目标摄像头安装于司机等被拍摄者的右侧则情况相反。因此,根据目标摄像头与人脸的相对位置关系和所述人眼高度,确定距离阈值,其中,所述目标摄像头为拍摄所述人脸图像的摄像头,可以根据所述相对位置关系和所述人眼高度,调整不同方向上的距离阈值,以使得可以在所述人眼权重区域中保留特定方向上的更丰富的人眼信息。Wherein, due to the relative positional relationship between the target camera and the human face, the rendering effect of the human face part in the corresponding human face image may be affected. For example, if the target camera is installed on the left side of the subject such as the driver, if the face image obtained by the target camera shooting the subject has not been mirrored, the face in the face image is often will be close to the right side of the face image, and the face features in the right side of the face image are also more and often clearer; and if the target camera captures the face obtained by the subject The image has been mirrored, so the face in the face image tends to be close to the left side of the face image. On the other hand, if the target camera is installed on the right side of the person to be photographed, such as the driver, the situation is reversed. Therefore, the distance threshold is determined according to the relative positional relationship between the target camera and the face and the height of the human eye, wherein the target camera is the camera that captures the face image, and the distance threshold can be determined according to the relative positional relationship and the human eye height. Eye height, adjust the distance thresholds in different directions, so that more abundant human eye information in a specific direction can be preserved in the human eye weight area.
下面以一个具体示例,说明确定所述人眼权重区域的边缘的一种示例性实现方式。An exemplary implementation manner of determining the edge of the human eye weight region is described below with a specific example.
在一种具体示例中,若所述人眼高度小于特定高度阈值(例如小于一个第一区域的高度)且所述目标摄像头从右侧对着人脸进行拍摄并进行镜像后得到所述人眼图像,则可以确定所述距离阈值中的右侧距离阈值较小,左侧距离阈值较大,以能够更好地获取所述人脸图像中的右侧人脸的信息。In a specific example, if the height of the human eye is less than a certain height threshold (for example, less than the height of a first area) and the target camera shoots and mirrors the human face from the right side, the human eye is obtained. image, it can be determined that the right distance threshold in the distance thresholds is smaller, and the left distance threshold is larger, so that the information of the right face in the face image can be better obtained.
如图4(c)所示,所述人脸图像中的脸颊左边缘特征点所对应的第二距离小于左侧距离阈值,则以位于该脸颊左边缘特征点右侧的目标边缘作为所述人眼权重区域的左边缘,而人脸图像中的脸颊右边缘特征点所对应的第二距离大于右侧距离阈值,则以位于该脸颊右边缘特征点右侧的第一区域边缘作为所述人眼权重区域的右边缘。所述人眼权重区域的上边缘和下边缘的确定方式可以类似,在此不再详述。As shown in Figure 4(c), if the second distance corresponding to the feature point on the left edge of the cheek in the face image is smaller than the left distance threshold, the target edge located on the right side of the feature point on the left edge of the cheek is used as the The left edge of the weight area of the human eye, and the second distance corresponding to the feature point on the right edge of the cheek in the face image is greater than the right distance threshold, then the edge of the first region located on the right side of the feature point on the right edge of the cheek is used as the The right edge of the eye weight area. The manner of determining the upper edge and the lower edge of the human eye weight region may be similar, and will not be described in detail here.
本申请实施例中,通过根据目标摄像头与人脸的相对位置关系和所述人眼高度,确定距离阈值,其中,所述目标摄像头为拍摄所述人脸图像的摄像头,可以根据所述相对位置关系预判对应的人脸图像中的人脸呈现方式,从而根据所述人脸呈现方式有针对性地调整所述距离阈值,以更好地确定所述人眼权重区域,从而在后续获取到更符合实际情况的人眼部分的亮度信息;此外,还可以根据所述人眼高度,初步评估所述人脸图像中的人眼所在的大致区域,从而确定所述人眼权重区域。In this embodiment of the present application, the distance threshold is determined according to the relative positional relationship between the target camera and the face and the height of the human eye, wherein the target camera is a camera that captures the face image, and the relative position can be used to determine the distance threshold. The face presentation mode in the face image corresponding to the relationship pre-judgment, so as to adjust the distance threshold according to the face presentation mode, so as to better determine the eye weight area, so as to obtain the following results. The brightness information of the human eye part that is more in line with the actual situation; in addition, the approximate region where the human eye is located in the human face image can be preliminarily evaluated according to the human eye height, so as to determine the human eye weight region.
在一些实施例中,所述根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数,包括:In some embodiments, the exposure parameter is determined according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area ,include:
根据所述人眼权重区域中所包含的第一区域的区域亮度值,确定所述人眼权重区域的第一亮度值;Determine the first brightness value of the human eye weight region according to the regional brightness value of the first region included in the human eye weight region;
根据所述第一面部权重区域中所包含的第一区域的区域亮度值,确定所述第一面部权重区域的第二亮度值;determining the second luminance value of the first face weighting area according to the area luminance value of the first area included in the first face weighting area;
根据所述第一权重、所述第二权重、所述第一亮度值和所述第二亮度值,确定所述曝光参数。The exposure parameter is determined according to the first weight, the second weight, the first brightness value and the second brightness value.
本申请实施例中,示例性的,所述第一区域的区域亮度值可以包括所述第一区域的中各个像素点的像素点亮度均值、像素点亮度中位数、像素点亮度加权值等等中的至少一种。In the embodiment of the present application, exemplarily, the regional brightness value of the first region may include the mean brightness of each pixel in the first region, the median brightness of the pixel, the weighted value of the brightness of the pixel, etc. at least one of etc.
在一些示例中,所述人眼权重区域中的各个第一区域所对应的区域亮度值的具体计算方式可以不同。例如,对于任一位于所述人眼权重区域的边缘的第一区域,可以根据该第一区域中所包括的人眼边缘特征点的位置来确定该第一区域中各个像素点的权重,然后计算该第一区域中的像素点亮度加权值,以使得该第一区域的区域亮度值更能反映该第一区域中所包含的人眼部分的亮度情况。当然,所述人眼权重区域中的各个第一区域所对应的区域亮度值的具体计算方式也可以相同,例如所述区域亮度值可以为对应的所述第一区域的中各个像素点的像素点亮度均值。In some examples, the specific calculation methods of the regional luminance values corresponding to each of the first regions in the human eye weight regions may be different. For example, for any first region located at the edge of the human eye weight region, the weight of each pixel point in the first region can be determined according to the positions of the human eye edge feature points included in the first region, and then The weighted value of the brightness of the pixel points in the first area is calculated, so that the regional brightness value of the first area can better reflect the brightness of the part of the human eye included in the first area. Of course, the specific calculation method of the regional brightness value corresponding to each first region in the human eye weight region can also be the same, for example, the regional brightness value can be the corresponding pixel of each pixel in the first region. Average point brightness.
本申请实施例中,通过将所述人脸图像划分为多个第一区域,可以便于根据各个第一区域及其区域边缘,方便地划分所述人眼权重区域和所述第一面部权重区域,提升了计算效率,减小了计算量;此外,可以根据对应的第一区域的区域像素值,确定对应的人眼权重区域的第一亮度值,并确定第一面部权重区域的第二亮度值,再结合动态确定的第一权重和第二权重确定所述曝光参数,从而可以充分考虑人脸的不同权重区域的重要性以及不同权重区域的亮度来确定曝光参数,避免由于人眼在人脸中所占比例较小而导致在拍摄时的曝光参数主要根据人脸图像中的其他特征来确定,使得对人眼细节的拍摄质量较差的问题,从而使得根据所述曝光参数,对目标用户进行拍摄时,能够提高人眼细节的拍摄质量。In the embodiment of the present application, by dividing the face image into a plurality of first regions, it is convenient to divide the eye weight region and the first face weight according to each first region and its edge. In addition, according to the regional pixel value of the corresponding first area, the first brightness value of the corresponding human eye weight area can be determined, and the first brightness value of the first face weight area can be determined. Two brightness values, and then determine the exposure parameters in combination with the dynamically determined first weight and second weight, so that the importance of the different weighted areas of the face and the brightness of the different weighted areas can be fully considered to determine the exposure parameters, avoiding the need for human eyes. The proportion of the human face is small, so that the exposure parameters during shooting are mainly determined according to other features in the face image, which makes the shooting quality of human eye details poor, so that according to the exposure parameters, When shooting the target user, the shooting quality of the details of the human eye can be improved.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
实施例2Example 2
本申请实施例提供了一种拍摄装置,上述拍摄装置可集成于终端设备中。An embodiment of the present application provides a photographing apparatus, and the above photographing apparatus may be integrated into a terminal device.
图5示出了本申请实施例提供的一种拍摄装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。FIG. 5 shows a structural block diagram of a photographing apparatus provided by an embodiment of the present application. For convenience of description, only parts related to the embodiment of the present application are shown.
参照图5,该拍摄装置5包括:5, the photographing device 5 includes:
第一确定模块501,用于在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域;The first determination module 501 is configured to determine the eye weight area and the first face weight area in the face image according to the feature point information in the face image after acquiring the face image;
第二确定模块502,用于根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重;A second determination module 502, configured to determine a first weight of the human eye weight region and a size of the first face weight region according to the size of the eye weight region and the size of the first face weight region the second weight;
第三确定模块503,用于根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数;The third determination module 503 is configured to determine exposure parameters according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area ;
拍摄模块504,用于根据所述曝光参数,对目标用户进行拍摄。The photographing module 504 is configured to photograph the target user according to the exposure parameter.
可选的,所述特征点信息包括人眼特征点信息和第一面部特征点信息;Optionally, the feature point information includes human eye feature point information and first facial feature point information;
所述第一确定模块501包括:The first determining module 501 includes:
划分单元,用于在获取到人脸图像之后,将所述人脸图像划分为多个第一区域;a dividing unit, configured to divide the facial image into a plurality of first regions after acquiring the facial image;
第一确定单元,用于根据所述人眼特征点信息,确定属于所述人眼权重区域的第一区域;a first determining unit, configured to determine a first region belonging to the human eye weight region according to the human eye feature point information;
第二确定单元,用于根据所述人眼权重区域的边缘和所述第一面部特征点信息,确定属于所述第一面部权重区域的第一区域。A second determining unit, configured to determine a first area belonging to the first face weight area according to the edge of the human eye weight area and the first facial feature point information.
可选的,所述人眼特征点信息包括人眼中心特征点和人眼边缘特征点的信息;Optionally, the human eye feature point information includes the information of the human eye center feature point and the human eye edge feature point;
所述第一确定单元包括:The first determining unit includes:
第一确定子单元,用于根据所述人眼特征点信息,确定人眼高度;a first determination subunit, configured to determine the height of the human eye according to the information of the human eye feature point;
第二确定子单元,用于根据目标摄像头与人脸的相对位置关系和所述人眼高度,确定距离阈值,其中,所述目标摄像头为拍摄所述人脸图像的摄像头;a second determination subunit, configured to determine a distance threshold according to the relative positional relationship between the target camera and the face and the height of the human eye, wherein the target camera is a camera that captures the face image;
判断子单元,用于判断所述人眼中心特征点是否位于任一第一区域的边缘线上;A judging subunit for judging whether the central feature point of the human eye is located on the edge line of any first region;
第三确定子单元,用于若所述人眼中心特征点位于任一第一区域的边缘线上,则根据所述距离阈值和各个预设边缘特征点分别与所述人眼中心特征点之间的第一距离,确定所述人眼权重区域的边缘,其中,所述预设边缘特征点包括至少一个人眼边缘特征点。The third determination subunit is configured to, if the central feature point of the human eye is located on the edge line of any first region, determine the difference between the central feature point of the human eye and the central feature point of the human eye according to the distance threshold and each preset edge feature point. and determine the edge of the human eye weight region, wherein the preset edge feature points include at least one human eye edge feature point.
可选的,所述拍摄装置5还包括:Optionally, the photographing device 5 further includes:
第四确定模块,用于若所述人眼中心特征点不位于任一第一区域的边缘线上,则确定所述人眼中心特征点所在的第一区域为核心区域,并判断是否存在外部边缘特征点,其中,所述外部边缘特征点为位于所述核心区域之外的预设边缘特征点;The fourth determination module is used to determine that the first region where the central feature point of the human eye is located is the core region if the central feature point of the human eye is not located on the edge line of any first region, and determine whether there is an external edge feature points, wherein the external edge feature points are preset edge feature points located outside the core area;
获取模块,用于若存在至少一个外部边缘特征点,则对于每一个外部边缘特征点,获取所述外部边缘特征点与目标边缘之间的第二距离,其中,所述目标边缘为从所述外部边缘特征点指向所述核心区域时与所述外部边缘特征点最近的第一区域边缘;The obtaining module is configured to, if there is at least one external edge feature point, for each external edge feature point, obtain the second distance between the external edge feature point and the target edge, wherein the target edge is from the When the outer edge feature point points to the core region, the first region edge closest to the outer edge feature point;
第五确定模块,用于若所述第二距离大于对应的所述距离阈值,则根据所述外部边缘特征点所在的第一区域和所述核心区域,确定所述人眼权重区域的边缘;a fifth determination module, configured to determine the edge of the human eye weight region according to the first region and the core region where the external edge feature points are located if the second distance is greater than the corresponding distance threshold;
第六确定模块,用于若所述第二距离不大于对应的所述距离阈值,则根据所述目标边缘和所述核心区域,确定所述人眼权重区域的边缘。A sixth determination module, configured to determine the edge of the human eye weight region according to the target edge and the core region if the second distance is not greater than the corresponding distance threshold.
可选的,所述第三确定模块503包括:Optionally, the third determining module 503 includes:
第七确定模块,用于根据所述人眼权重区域中所包含的第一区域的区域亮度值,确定所述人眼权重区域的第一亮度值;a seventh determination module, configured to determine the first brightness value of the human eye weight region according to the regional brightness value of the first region included in the human eye weight region;
第八确定模块,用于根据所述第一面部权重区域中所包含的第一区域的区域亮度值,确定所述第一面部权重区域的第二亮度值;an eighth determination module, configured to determine a second brightness value of the first face weight region according to the regional brightness value of the first region included in the first face weight region;
第九确定模块,用于根据所述第一权重、所述第二权重、所述第一亮度值和所述第二亮度值,确定所述曝光参数。A ninth determination module, configured to determine the exposure parameter according to the first weight, the second weight, the first brightness value and the second brightness value.
可选的,所述第三确定模块503包括:Optionally, the third determining module 503 includes:
第三确定单元,用于根据所述第一权重、所述第二权重、所述第一亮度信息和所述第二亮度信息,确定综合亮度信息;a third determining unit, configured to determine comprehensive brightness information according to the first weight, the second weight, the first brightness information and the second brightness information;
第四确定单元,用于根据所述综合亮度信息,确定所述曝光参数。The fourth determining unit is configured to determine the exposure parameter according to the comprehensive brightness information.
可选的,所述第一面部权重区域位于所述人眼权重区域的下方;Optionally, the first face weight area is located below the human eye weight area;
所述第三确定单元包括:The third determining unit includes:
第四确定子单元,用于根据所述特征点信息中的人眼特征点信息,确定人眼高度;a fourth determination subunit, configured to determine the height of the human eye according to the human eye feature point information in the feature point information;
第五确定子单元,用于若所述人眼高度大于第二预设高度,则将位于所述人眼权重区域的正上方且高度为第一高度阈值的区域作为第二面部权重区域,并将位于所述第二面部权重区域的正上方且高度为第二高度阈值的区域作为第三面部权重区域;a fifth determination subunit, configured to use the area directly above the eye weight area and the height of which is the first height threshold as the second face weight area if the height of the human eye is greater than the second preset height, and Taking the area directly above the second face weight area and having a height of the second height threshold as the third face weight area;
第六确定子单元,用于根据所述第一权重,确定所述第二面部权重区域的第三权重和所述第三面部权重区域所对应的第四权重;a sixth determination subunit, configured to determine the third weight of the second face weight area and the fourth weight corresponding to the third face weight area according to the first weight;
第七确定子单元,用于根据所述第一权重、所述第二权重、所述第一亮度信息、所述第二亮度信息、所述第三权重、所述第四权重、所述第二面部权重区域的第三亮度信息和所述第三面部权重区域的第四亮度信息,确定所述综合亮度信息。A seventh determination subunit, configured to determine according to the first weight, the second weight, the first brightness information, the second brightness information, the third weight, the fourth weight, the first The third luminance information of the bi-face weighting area and the fourth luminance information of the third face weighting area determine the comprehensive luminance information.
可选的,所述第七确定子单元用于:Optionally, the seventh determination subunit is used for:
若所述人眼高度不大于所述第二预设高度,则根据所述第一权重,确定所述第二面部权重区域的第五权重;If the height of the human eye is not greater than the second preset height, determining a fifth weight of the second face weight region according to the first weight;
根据所述第一权重、所述第二权重、所述第一亮度信息、所述第二亮度信息、所述第五权重和所述第三亮度信息,确定所述综合亮度信息。The comprehensive brightness information is determined according to the first weight, the second weight, the first brightness information, the second brightness information, the fifth weight and the third brightness information.
可选的,所述第二确定模块502具体用于:Optionally, the second determining module 502 is specifically configured to:
确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重,以使得所述第一权重和第一面积的乘积与所述第二权重和第二面积的乘积的比值大于预设比值,其中,所述第一面积为所述人眼权重区域的面积,所述第二面积为所述第一面部权重区域的面积。determining a first weight of the eye weight region and a second weight of the first face weight region such that the product of the first weight and the first area is the product of the second weight and the second area The ratio is greater than a preset ratio, wherein the first area is the area of the human eye weight region, and the second area is the area of the first face weight region.
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information exchange, execution process and other contents between the above-mentioned devices/units are based on the same concept as the method embodiments of the present application. For specific functions and technical effects, please refer to the method embodiments section. It is not repeated here.
实施例3Example 3
图6为本申请一实施例提供的终端设备的结构示意图。如图6所示,该实施例的终端设备6包括:至少一个处理器60(图6中仅示出一个)、存储器61以及存储在上述存储器61中并可在上述至少一个处理器60上运行的计算机程序62,上述处理器60执行上述计算机程序62时实现上述任意各个拍摄方法实施例中的步骤。FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As shown in FIG. 6 , the terminal device 6 in this embodiment includes: at least one processor 60 (only one is shown in FIG. 6 ), a memory 61 , and is stored in the above-mentioned memory 61 and can run on the above-mentioned at least one processor 60 The computer program 62, when the processor 60 executes the computer program 62, implements the steps in any of the foregoing shooting method embodiments.
上述终端设备6可以是车载设备、服务器、手机、可穿戴设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、桌上型计算机、笔记本、台式电脑以及掌上电脑等计算设备。该终端设备可包括,但不仅限于,处理器60、存储器61。本领域技术人员可以理解,图6仅仅是终端设备6的举例,并不构成对终端设备6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入设备、输出设备、网络接入设备等。其中,上述输入设备可以包括键盘、触控板、指纹采集传感器(用于采集用户的指纹信息和指纹的方向信息)、麦克风、摄像头等,输出设备可以包括显示器、扬声器等。The above-mentioned terminal device 6 may be a vehicle-mounted device, a server, a mobile phone, a wearable device, an augmented reality (AR)/virtual reality (virtual reality, VR) device, a desktop computer, a notebook, a desktop computer, a handheld computer and other computing devices. equipment. The terminal device may include, but is not limited to, a processor 60 and a memory 61 . Those skilled in the art can understand that FIG. 6 is only an example of the terminal device 6, and does not constitute a limitation on the terminal device 6, and may include more or less components than the one shown, or combine some components, or different components , for example, may also include input devices, output devices, network access devices, and so on. Wherein, the above-mentioned input devices may include keyboards, touchpads, fingerprint collection sensors (for collecting user's fingerprint information and fingerprint direction information), microphones, cameras, etc., and output devices may include displays, speakers, and the like.
上述处理器60可以是中央处理单元(Central Processing Unit,CPU),该处理器60还可以是其他通用处理器、数字信号处理器 (Digital Signal Processor,DSP)、专用集成电路 (Application Specific Integrated Circuit,ASIC)、现场可编程门阵列 (Field-Programmable Gate Array,FPGA) 或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The above-mentioned processor 60 may be a central processing unit (Central Processing Unit, CPU), and the processor 60 may also be other general-purpose processors, digital signal processors (Digital Signal Processors) Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
上述存储器61在一些实施例中可以是上述终端设备6的内部存储单元,例如终端设备6的硬盘或内存。上述存储器61在另一些实施例中也可以是上述终端设备6的外部存储设备,例如上述终端设备6上配备的插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)等。进一步地,上述存储器61还可以既包括上述终端设备6的内部存储单元也包括外部存储设备。上述存储器61用于存储操作系统、应用程序、引导装载程序(Boot Loader)、数据以及其他程序等,例如上述计算机程序的程序代码等。上述存储器61还可以用于暂时地存储已经输出或者将要输出的数据。The above-mentioned memory 61 may be an internal storage unit of the above-mentioned terminal device 6 in some embodiments, such as a hard disk or a memory of the terminal device 6 . The above-mentioned memory 61 may also be an external storage device of the above-mentioned terminal device 6 in other embodiments, such as a plug-in hard disk equipped on the above-mentioned terminal device 6, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital) , SD) card, flash memory card (Flash Card), etc. Further, the above-mentioned memory 61 may also include both the internal storage unit of the above-mentioned terminal device 6 and an external storage device. The above-mentioned memory 61 is used to store an operating system, an application program, a boot loader (Boot Loader), data, and other programs, for example, program codes of the above-mentioned computer programs. The above-mentioned memory 61 can also be used to temporarily store data that has been output or is to be output.
另外,尽管未示出,上述终端设备6还可以包括网络连接模块,如蓝牙模块Wi-Fi模块、蜂窝网络模块等等,在此不再赘述。In addition, although not shown, the above-mentioned terminal device 6 may also include a network connection module, such as a Bluetooth module, a Wi-Fi module, a cellular network module, etc., which will not be repeated here.
本申请实施例中,上述处理器60执行上述计算机程序62以实现上述任意各个拍摄方法实施例中的步骤时,可以在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域,此时,可以根据所述特征点信息,对所述人脸图像进行分区。然后,根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重,再根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数,以使得所述第一权重和所述第二权重更能体现相应的权重区域在人脸图像中的重要程度,从而可以充分考虑人脸的不同权重区域的重要性以及不同权重区域的亮度来确定曝光参数,避免由于人眼在人脸中所占比例较小而导致在拍摄时的曝光参数主要根据人脸图像中的其他特征来确定,使得对人眼细节的拍摄质量较差的问题,从而使得根据所述曝光参数,对目标用户进行拍摄时,能够提高人眼细节的拍摄质量。In the embodiment of the present application, when the processor 60 executes the computer program 62 to implement the steps in any of the above-mentioned shooting method embodiments, after acquiring the face image, according to the feature point information in the face image, The eye weight region and the first face weight region are determined in the face image, and at this time, the face image can be partitioned according to the feature point information. Then, according to the size of the eye weight area and the size of the first face weight area, determine the first weight of the eye weight area and the second weight of the first face weight area, and then according to The first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area, determine exposure parameters such that the first weight and The second weight can better reflect the importance of the corresponding weight area in the face image, so that the importance of the different weight areas of the face and the brightness of the different weight areas can be fully considered to determine the exposure parameters, to avoid The proportion of the human face is small, so that the exposure parameters during shooting are mainly determined according to other features in the face image, so that the shooting quality of the details of the human eye is poor, so that according to the exposure parameters, the When the target user is shooting, it can improve the shooting quality of human eye details.
本申请实施例还提供了一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序被处理器执行时实现可实现上述各个方法实施例中的步骤。Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the foregoing method embodiments can be implemented.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行时实现可实现上述各个方法实施例中的步骤。The embodiments of the present application provide a computer program product, when the computer program product runs on a terminal device, so that the terminal device can implement the steps in the foregoing method embodiments when executed.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,上述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,上述计算机程序包括计算机程序代码,上述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。上述计算机可读介质至少可以包括:能够将计算机程序代码携带到拍照装置/终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。If the above-mentioned integrated units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the present application realizes all or part of the processes in the methods of the above-mentioned embodiments, which can be completed by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program is in When executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code may be in the form of source code, object code form, executable file or some intermediate form. The above-mentioned computer-readable medium may include at least: any entity or device capable of carrying the computer program code to the photographing device/terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory ( RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media. For example, U disk, mobile hard disk, disk or CD, etc. In some jurisdictions, under legislation and patent practice, computer readable media may not be electrical carrier signals and telecommunications signals.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/设备实施例仅仅是示意性的,例如,上述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus/device and method may be implemented in other manners. For example, the apparatus/equipment embodiments described above are only illustrative. For example, the division of the above modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components. May be combined or may be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The above-mentioned units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
以上上述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that the above-mentioned embodiments can still be used for The recorded technical solutions are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in this document. within the scope of protection of the application.

Claims (20)

  1. 一种拍摄方法,其特征在于,包括: A method of shooting, comprising:
    在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域;After acquiring the face image, determine the eye weight area and the first face weight area in the face image according to the feature point information in the face image;
    根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重;According to the size of the human eye weight area and the size of the first face weight area, determine the first weight of the human eye weight area and the second weight of the first face weight area;
    根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数;determining an exposure parameter according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area;
    根据所述曝光参数,对目标用户进行拍摄。According to the exposure parameters, the target user is photographed.
  2. 如权利要求1所述的拍摄方法,其特征在于,所述特征点信息包括人眼特征点信息和第一面部特征点信息; The shooting method according to claim 1, wherein the feature point information comprises human eye feature point information and first facial feature point information;
    所述在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域,包括:After obtaining the face image, according to the feature point information in the face image, determine the human eye weight area and the first face weight area in the face image, including:
    在获取到人脸图像之后,将所述人脸图像划分为多个第一区域;After acquiring the face image, dividing the face image into a plurality of first regions;
    根据所述人眼特征点信息,确定属于所述人眼权重区域的第一区域;According to the human eye feature point information, determine the first region belonging to the human eye weight region;
    根据所述人眼权重区域的边缘和所述第一面部特征点信息,确定属于所述第一面部权重区域的第一区域。A first area belonging to the first face weight area is determined according to the edge of the human eye weight area and the first facial feature point information.
  3. 如权利要求2所述的拍摄方法,其特征在于,所述人眼特征点信息包括人眼中心特征点和人眼边缘特征点的信息; The photographing method according to claim 2, wherein the information on the feature points of the human eye includes the information of the center feature point of the human eye and the feature point of the edge of the human eye;
    所述根据所述人眼特征点信息,确定属于所述人眼权重区域的第一区域,包括:Determining the first region belonging to the human eye weight region according to the human eye feature point information includes:
    根据所述人眼特征点信息,确定人眼高度;Determine the height of the human eye according to the feature point information of the human eye;
    根据目标摄像头与人脸的相对位置关系和所述人眼高度,确定距离阈值,其中,所述目标摄像头为拍摄所述人脸图像的摄像头;Determine the distance threshold according to the relative positional relationship between the target camera and the human face and the height of the human eye, wherein the target camera is a camera that captures the face image;
    判断所述人眼中心特征点是否位于任一第一区域的边缘线上;Judging whether the central feature point of the human eye is located on the edge line of any first region;
    若所述人眼中心特征点位于任一第一区域的边缘线上,则根据所述距离阈值和各个预设边缘特征点分别与所述人眼中心特征点之间的第一距离,确定所述人眼权重区域的边缘,其中,所述预设边缘特征点包括至少一个人眼边缘特征点。If the central feature point of the human eye is located on the edge line of any first region, then according to the distance threshold and the first distance between each preset edge feature point and the central feature point of the human eye, determine the central feature point of the human eye. The edge of the human eye weight region, wherein the preset edge feature point includes at least one human eye edge feature point.
  4. 如权利要求3所述的拍摄方法,其特征在于,还包括: The photographing method of claim 3, further comprising:
    若所述人眼中心特征点不位于任一第一区域的边缘线上,则确定所述人眼中心特征点所在的第一区域为核心区域,并判断是否存在外部边缘特征点,其中,所述外部边缘特征点为位于所述核心区域之外的预设边缘特征点;If the central feature point of the human eye is not located on the edge line of any first region, the first region where the central feature point of the human eye is located is determined as the core region, and it is determined whether there is an external edge feature point, wherein the The outer edge feature points are preset edge feature points located outside the core area;
    若存在至少一个外部边缘特征点,则对于每一个外部边缘特征点,获取所述外部边缘特征点与目标边缘之间的第二距离,其中,所述目标边缘为从所述外部边缘特征点指向所述核心区域时与所述外部边缘特征点最近的第一区域边缘;If there is at least one external edge feature point, for each external edge feature point, obtain a second distance between the external edge feature point and the target edge, where the target edge is directed from the external edge feature point The first region edge closest to the outer edge feature point in the core region;
    若所述第二距离大于对应的所述距离阈值,则根据所述外部边缘特征点所在的第一区域和所述核心区域,确定所述人眼权重区域的边缘;If the second distance is greater than the corresponding distance threshold, determine the edge of the human eye weight region according to the first region and the core region where the external edge feature points are located;
    若所述第二距离不大于对应的所述距离阈值,则根据所述目标边缘和所述核心区域,确定所述人眼权重区域的边缘。If the second distance is not greater than the corresponding distance threshold, the edge of the human eye weight region is determined according to the target edge and the core region.
  5. 如权利要求2所述的拍摄方法,其特征在于,所述根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数,包括: The shooting method according to claim 2, wherein the first weight, the second weight, the first brightness information of the human eye weight area, and the first face weight area The second brightness information determines exposure parameters, including:
    根据所述人眼权重区域中所包含的第一区域的区域亮度值,确定所述人眼权重区域的第一亮度值;Determine the first brightness value of the human eye weight region according to the regional brightness value of the first region included in the human eye weight region;
    根据所述第一面部权重区域中所包含的第一区域的区域亮度值,确定所述第一面部权重区域的第二亮度值;determining the second luminance value of the first face weighting area according to the area luminance value of the first area included in the first face weighting area;
    根据所述第一权重、所述第二权重、所述第一亮度值和所述第二亮度值,确定所述曝光参数。The exposure parameter is determined according to the first weight, the second weight, the first brightness value and the second brightness value.
  6. 如权利要求1所述的拍摄方法,其特征在于,所述根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数,包括: The photographing method according to claim 1, characterized in that, according to the first weight, the second weight, the first brightness information of the human eye weight area, and the first face weight area The second brightness information determines exposure parameters, including:
    根据所述第一权重、所述第二权重、所述第一亮度信息和所述第二亮度信息,确定综合亮度信息;determining comprehensive brightness information according to the first weight, the second weight, the first brightness information and the second brightness information;
    根据所述综合亮度信息,确定所述曝光参数。The exposure parameter is determined according to the comprehensive brightness information.
  7. 如权利要求6所述的拍摄方法,其特征在于,所述第一面部权重区域位于所述人眼权重区域的下方; The photographing method according to claim 6, wherein the first face weight area is located below the human eye weight area;
    所述根据所述第一权重、所述第二权重、所述第一亮度信息和所述第二亮度信息,确定综合亮度信息,包括:The determining of the comprehensive brightness information according to the first weight, the second weight, the first brightness information and the second brightness information includes:
    根据所述特征点信息中的人眼特征点信息,确定人眼高度;Determine the height of the human eye according to the feature point information of the human eye in the feature point information;
    若所述人眼高度大于第二预设高度,则将位于所述人眼权重区域的正上方且高度为第一高度阈值的区域作为第二面部权重区域,并将位于所述第二面部权重区域的正上方且高度为第二高度阈值的区域作为第三面部权重区域;If the height of the human eye is greater than the second preset height, the area directly above the eye weight area and the height is the first height threshold is used as the second face weight area, and the area located in the second face weight area The area directly above the area and the height of which is the second height threshold is used as the third face weight area;
    根据所述第一权重,确定所述第二面部权重区域的第三权重和所述第三面部权重区域所对应的第四权重;According to the first weight, determine the third weight of the second face weight area and the fourth weight corresponding to the third face weight area;
    根据所述第一权重、所述第二权重、所述第一亮度信息、所述第二亮度信息、所述第三权重、所述第四权重、所述第二面部权重区域的第三亮度信息和所述第三面部权重区域的第四亮度信息,确定所述综合亮度信息。According to the first weight, the second weight, the first brightness information, the second brightness information, the third weight, the fourth weight, the third brightness of the second face weight area information and fourth luminance information of the third face weighting region to determine the comprehensive luminance information.
  8. 如权利要求7所述的拍摄方法,其特征在于,所述根据所述第一权重、所述第二权重、所述第一亮度信息和所述第二亮度信息,确定综合亮度信息,包括: The shooting method according to claim 7, wherein the determining the comprehensive brightness information according to the first weight, the second weight, the first brightness information and the second brightness information comprises:
    若所述人眼高度不大于所述第二预设高度,则根据所述第一权重,确定所述第二面部权重区域的第五权重;If the height of the human eye is not greater than the second preset height, determining a fifth weight of the second face weight region according to the first weight;
    根据所述第一权重、所述第二权重、所述第一亮度信息、所述第二亮度信息、所述第五权重和所述第三亮度信息,确定所述综合亮度信息。The comprehensive brightness information is determined according to the first weight, the second weight, the first brightness information, the second brightness information, the fifth weight and the third brightness information.
  9. 如权利要求1至8任意一项所述的拍摄方法,其特征在于,所述根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重,包括: The photographing method according to any one of claims 1 to 8, wherein, determining the size of the human eye weight region according to the size of the human eye weight region and the size of the first face weight region The first weight and the second weight of the first face weight region, including:
    确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重,以使得所述第一权重和第一面积的乘积与所述第二权重和第二面积的乘积的比值大于预设比值,其中,所述第一面积为所述人眼权重区域的面积,所述第二面积为所述第一面部权重区域的面积。determining a first weight of the eye weight region and a second weight of the first face weight region such that the product of the first weight and the first area is the product of the second weight and the second area The ratio is greater than a preset ratio, wherein the first area is the area of the human eye weight region, and the second area is the area of the first face weight region.
  10. 一种拍摄装置,其特征在于,包括: A photographing device, comprising:
    第一确定模块,用于在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域;a first determination module, configured to determine a human eye weight area and a first face weight area in the face image according to the feature point information in the face image after acquiring the face image;
    第二确定模块,用于根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重;A second determination module, configured to determine the first weight of the eye weight region and the first weight of the first face weight region according to the size of the eye weight region and the size of the first face weight region two weights;
    第三确定模块,用于根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数;a third determining module, configured to determine an exposure parameter according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area;
    拍摄模块,用于根据所述曝光参数,对目标用户进行拍摄。The photographing module is used for photographing the target user according to the exposure parameter.
  11. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如下步骤: A terminal device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the following steps when executing the computer program:
    在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域;After acquiring the face image, determine the eye weight area and the first face weight area in the face image according to the feature point information in the face image;
    根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重;According to the size of the human eye weight area and the size of the first face weight area, determine the first weight of the human eye weight area and the second weight of the first face weight area;
    根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数;determining an exposure parameter according to the first weight, the second weight, the first brightness information of the human eye weight area, and the second brightness information of the first face weight area;
    根据所述曝光参数,对目标用户进行拍摄。According to the exposure parameters, the target user is photographed.
  12. 如权利要求11所述的终端设备,其特征在于,所述特征点信息包括人眼特征点信息和第一面部特征点信息; The terminal device according to claim 11, wherein the feature point information comprises human eye feature point information and first facial feature point information;
    所述处理器执行所述计算机程序时,所述在获取到人脸图像之后,根据所述人脸图像中的特征点信息,在所述人脸图像中确定人眼权重区域和第一面部权重区域,包括:When the processor executes the computer program, after acquiring the face image, according to the feature point information in the face image, determine the eye weight region and the first face in the face image Weighted area, including:
    在获取到人脸图像之后,将所述人脸图像划分为多个第一区域;After acquiring the face image, dividing the face image into a plurality of first regions;
    根据所述人眼特征点信息,确定属于所述人眼权重区域的第一区域;According to the human eye feature point information, determine the first region belonging to the human eye weight region;
    根据所述人眼权重区域的边缘和所述第一面部特征点信息,确定属于所述第一面部权重区域的第一区域。A first area belonging to the first face weight area is determined according to the edge of the human eye weight area and the first facial feature point information.
  13. 如权利要求12所述的终端设备,其特征在于,所述人眼特征点信息包括人眼中心特征点和人眼边缘特征点的信息; The terminal device according to claim 12, wherein the feature point information of the human eye includes the information of the feature point of the center of the human eye and the feature point of the edge of the human eye;
    所述处理器执行所述计算机程序时,所述根据所述人眼特征点信息,确定属于所述人眼权重区域的第一区域,包括:When the processor executes the computer program, the determining, according to the human eye feature point information, the first region belonging to the human eye weight region includes:
    根据所述人眼特征点信息,确定人眼高度;Determine the height of the human eye according to the feature point information of the human eye;
    根据目标摄像头与人脸的相对位置关系和所述人眼高度,确定距离阈值,其中,所述目标摄像头为拍摄所述人脸图像的摄像头;Determine the distance threshold according to the relative positional relationship between the target camera and the human face and the height of the human eye, wherein the target camera is a camera that captures the face image;
    判断所述人眼中心特征点是否位于任一第一区域的边缘线上;Judging whether the central feature point of the human eye is located on the edge line of any first region;
    若所述人眼中心特征点位于任一第一区域的边缘线上,则根据所述距离阈值和各个预设边缘特征点分别与所述人眼中心特征点之间的第一距离,确定所述人眼权重区域的边缘,其中,所述预设边缘特征点包括至少一个人眼边缘特征点。If the central feature point of the human eye is located on the edge line of any first region, then according to the distance threshold and the first distance between each preset edge feature point and the central feature point of the human eye, determine the central feature point of the human eye. The edge of the human eye weight region, wherein the preset edge feature point includes at least one human eye edge feature point.
  14. 如权利要求13所述的终端设备,其特征在于,所述处理器执行所述计算机程序时,还包括: The terminal device according to claim 13, wherein when the processor executes the computer program, it further comprises:
    若所述人眼中心特征点不位于任一第一区域的边缘线上,则确定所述人眼中心特征点所在的第一区域为核心区域,并判断是否存在外部边缘特征点,其中,所述外部边缘特征点为位于所述核心区域之外的预设边缘特征点;If the central feature point of the human eye is not located on the edge line of any first region, the first region where the central feature point of the human eye is located is determined as the core region, and it is determined whether there is an external edge feature point, wherein the The outer edge feature points are preset edge feature points located outside the core area;
    若存在至少一个外部边缘特征点,则对于每一个外部边缘特征点,获取所述外部边缘特征点与目标边缘之间的第二距离,其中,所述目标边缘为从所述外部边缘特征点指向所述核心区域时与所述外部边缘特征点最近的第一区域边缘;If there is at least one external edge feature point, for each external edge feature point, obtain a second distance between the external edge feature point and the target edge, where the target edge is directed from the external edge feature point The first region edge closest to the outer edge feature point in the core region;
    若所述第二距离大于对应的所述距离阈值,则根据所述外部边缘特征点所在的第一区域和所述核心区域,确定所述人眼权重区域的边缘;If the second distance is greater than the corresponding distance threshold, determine the edge of the human eye weight region according to the first region and the core region where the external edge feature points are located;
    若所述第二距离不大于对应的所述距离阈值,则根据所述目标边缘和所述核心区域,确定所述人眼权重区域的边缘。If the second distance is not greater than the corresponding distance threshold, the edge of the human eye weight region is determined according to the target edge and the core region.
  15. 如权利要求12所述的终端设备,其特征在于,所述处理器执行所述计算机程序时,所述根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数,包括: The terminal device according to claim 12, wherein when the processor executes the computer program, the first brightness according to the first weight, the second weight, and the human eye weight region information and the second brightness information of the first face weight area to determine exposure parameters, including:
    根据所述人眼权重区域中所包含的第一区域的区域亮度信息,确定所述人眼权重区域的第一亮度信息;Determine the first brightness information of the human eye weight region according to the regional brightness information of the first region included in the human eye weight region;
    根据所述第一面部权重区域中所包含的第一区域的区域亮度信息,确定所述第一面部权重区域的第二亮度信息;determining the second brightness information of the first face weighting region according to the regional brightness information of the first region included in the first face weighting region;
    根据所述第一权重、所述第二权重、所述第一亮度信息和所述第二亮度信息,确定所述曝光参数。The exposure parameter is determined according to the first weight, the second weight, the first brightness information and the second brightness information.
  16. 如权利要求11所述的终端设备,其特征在于,所述处理器执行所述计算机程序时,所述根据所述第一权重、所述第二权重、所述人眼权重区域的第一亮度信息和所述第一面部权重区域的第二亮度信息,确定曝光参数,包括: The terminal device according to claim 11, wherein when the processor executes the computer program, the first brightness according to the first weight, the second weight, and the human eye weight region information and the second brightness information of the first face weight area to determine exposure parameters, including:
    根据所述第一权重、所述第二权重、所述第一亮度信息和所述第二亮度信息,确定综合亮度信息;determining comprehensive brightness information according to the first weight, the second weight, the first brightness information and the second brightness information;
    根据所述综合亮度信息,确定所述曝光参数。The exposure parameter is determined according to the comprehensive brightness information.
  17. 如权利要求16所述的终端设备,其特征在于,所述处理器执行所述计算机程序时,所述根据所述第一权重、所述第二权重、所述第一亮度信息和所述第二亮度信息,确定综合亮度信息,包括: The terminal device according to claim 16, wherein when the processor executes the computer program, the first weight, the second weight, the first brightness information and the first Two brightness information, determine the comprehensive brightness information, including:
    根据所述特征点信息中的人眼特征点信息,确定人眼高度;Determine the height of the human eye according to the feature point information of the human eye in the feature point information;
    若所述人眼高度大于第二预设高度,则将位于所述人眼权重区域的正上方且高度为第一高度阈值的区域作为第二面部权重区域,并将位于所述第二面部权重区域的正上方且高度为第二高度阈值的区域作为第三面部权重区域;If the height of the human eye is greater than the second preset height, the area directly above the eye weight area and the height is the first height threshold is used as the second face weight area, and the area located in the second face weight area The area directly above the area and the height of which is the second height threshold is used as the third face weight area;
    根据所述第一权重,确定所述第二面部权重区域的第三权重和所述第三面部权重区域所对应的第四权重;According to the first weight, determine the third weight of the second face weight area and the fourth weight corresponding to the third face weight area;
    根据所述第一权重、所述第二权重、所述第一亮度信息、所述第二亮度信息、所述第三权重、所述第四权重、所述第二面部权重区域的第三亮度信息和所述第三面部权重区域的第四亮度信息,确定所述综合亮度信息。According to the first weight, the second weight, the first brightness information, the second brightness information, the third weight, the fourth weight, the third brightness of the second face weight area information and fourth luminance information of the third face weighting region to determine the comprehensive luminance information.
  18. 如权利要求17所述的终端设备,其特征在于,所述处理器执行所述计算机程序时,所述根据所述第一权重、所述第二权重、所述第一亮度信息和所述第二亮度信息,确定综合亮度信息,包括: The terminal device according to claim 17, wherein when the processor executes the computer program, the first weight, the second weight, the first brightness information and the first Two brightness information, determine the comprehensive brightness information, including:
    若所述人眼高度不大于所述第二预设高度,则根据所述第一权重,确定所述第二面部权重区域的第五权重;If the height of the human eye is not greater than the second preset height, determining the fifth weight of the second face weight region according to the first weight;
    根据所述第一权重、所述第二权重、所述第一亮度信息、所述第二亮度信息、所述第五权重和所述第三亮度信息,确定所述综合亮度信息。The integrated brightness information is determined according to the first weight, the second weight, the first brightness information, the second brightness information, the fifth weight and the third brightness information.
  19. 如权利要求11至18任意一项所述的终端设备,其特征在于,所述处理器执行所述计算机程序时,所述根据所述人眼权重区域的尺寸和所述第一面部权重区域的尺寸,确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重,包括: The terminal device according to any one of claims 11 to 18, wherein, when the processor executes the computer program, the size of the human eye weight region and the first face weight region , determine the first weight of the eye weight area and the second weight of the first face weight area, including:
    确定所述人眼权重区域的第一权重和所述第一面部权重区域的第二权重,以使得所述第一权重和第一面积的乘积与所述第二权重和第二面积的乘积的比值大于预设比值,其中,所述第一面积为所述人眼权重区域的面积,所述第二面积为所述第一面部权重区域的面积。determining a first weight of the eye weight region and a second weight of the first face weight region such that the product of the first weight and the first area and the product of the second weight and the second area The ratio is greater than a preset ratio, wherein the first area is the area of the human eye weight region, and the second area is the area of the first face weight region.
  20. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至9任一项所述的拍摄方法。A computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the shooting method according to any one of claims 1 to 9 is implemented.
PCT/CN2020/107396 2020-08-06 2020-08-06 Photography method, photographic apparatus, and terminal device WO2022027432A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/107396 WO2022027432A1 (en) 2020-08-06 2020-08-06 Photography method, photographic apparatus, and terminal device
CN202080001474.1A CN112055961B (en) 2020-08-06 2020-08-06 Shooting method, shooting device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/107396 WO2022027432A1 (en) 2020-08-06 2020-08-06 Photography method, photographic apparatus, and terminal device

Publications (1)

Publication Number Publication Date
WO2022027432A1 true WO2022027432A1 (en) 2022-02-10

Family

ID=73606031

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/107396 WO2022027432A1 (en) 2020-08-06 2020-08-06 Photography method, photographic apparatus, and terminal device

Country Status (2)

Country Link
CN (1) CN112055961B (en)
WO (1) WO2022027432A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115375987A (en) * 2022-08-05 2022-11-22 北京百度网讯科技有限公司 Data labeling method and device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507569A (en) * 2021-06-30 2021-10-15 上海商汤临港智能科技有限公司 Control method and device of vehicle-mounted camera, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011109427A (en) * 2009-11-18 2011-06-02 Fujifilm Corp Compound-eye imaging apparatus
CN104869319A (en) * 2014-02-20 2015-08-26 华硕电脑股份有限公司 Image processing method and image processing device
CN105096267A (en) * 2015-07-02 2015-11-25 广东欧珀移动通信有限公司 Method and device for adjusting brightness of eye portion based on shooting identification
WO2018119590A1 (en) * 2016-12-26 2018-07-05 深圳市道通智能航空技术有限公司 Light-measuring method and device, exposure method and device, and unmanned aerial vehicle
CN109639981A (en) * 2018-12-29 2019-04-16 维沃移动通信有限公司 A kind of image capturing method and mobile terminal
CN110099222A (en) * 2019-05-17 2019-08-06 睿魔智能科技(深圳)有限公司 A kind of exposure adjustment method of capture apparatus, device, storage medium and equipment
WO2019163576A1 (en) * 2018-02-26 2019-08-29 ソニー株式会社 Information processing device, information processing method, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100568926C (en) * 2006-04-30 2009-12-09 华为技术有限公司 The preparation method of automatic exposure control parameter and control method and imaging device
JP2009116742A (en) * 2007-11-08 2009-05-28 Aisin Seiki Co Ltd Onboard image processor, image processing method, and program
JP5127686B2 (en) * 2008-12-11 2013-01-23 キヤノン株式会社 Image processing apparatus, image processing method, and imaging apparatus
CN109543523A (en) * 2018-10-18 2019-03-29 安克创新科技股份有限公司 Image processing method, device, system and storage medium
CN109918993B (en) * 2019-01-09 2021-07-02 杭州中威电子股份有限公司 Control method based on face area exposure

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011109427A (en) * 2009-11-18 2011-06-02 Fujifilm Corp Compound-eye imaging apparatus
CN104869319A (en) * 2014-02-20 2015-08-26 华硕电脑股份有限公司 Image processing method and image processing device
CN105096267A (en) * 2015-07-02 2015-11-25 广东欧珀移动通信有限公司 Method and device for adjusting brightness of eye portion based on shooting identification
WO2018119590A1 (en) * 2016-12-26 2018-07-05 深圳市道通智能航空技术有限公司 Light-measuring method and device, exposure method and device, and unmanned aerial vehicle
WO2019163576A1 (en) * 2018-02-26 2019-08-29 ソニー株式会社 Information processing device, information processing method, and program
CN109639981A (en) * 2018-12-29 2019-04-16 维沃移动通信有限公司 A kind of image capturing method and mobile terminal
CN110099222A (en) * 2019-05-17 2019-08-06 睿魔智能科技(深圳)有限公司 A kind of exposure adjustment method of capture apparatus, device, storage medium and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115375987A (en) * 2022-08-05 2022-11-22 北京百度网讯科技有限公司 Data labeling method and device, electronic equipment and storage medium
CN115375987B (en) * 2022-08-05 2023-09-05 北京百度网讯科技有限公司 Data labeling method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112055961B (en) 2021-09-17
CN112055961A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
KR101916355B1 (en) Photographing method of dual-lens device, and dual-lens device
CN108305236B (en) Image enhancement processing method and device
CN108322646B (en) Image processing method, image processing device, storage medium and electronic equipment
US9959601B2 (en) Distortion rectification method and terminal
CN111147749A (en) Photographing method, photographing device, terminal and storage medium
US11526970B2 (en) System and method for video processing with enhanced temporal consistency
WO2021083059A1 (en) Image super-resolution reconstruction method, image super-resolution reconstruction apparatus, and electronic device
CN113538273B (en) Image processing method and image processing apparatus
CN110599410B (en) Image processing method, device, terminal and storage medium
CN109937434B (en) Image processing method, device, terminal and storage medium
CN110648296B (en) Pupil color correction method, correction device, terminal device and storage medium
WO2022027432A1 (en) Photography method, photographic apparatus, and terminal device
CN112333385B (en) Electronic anti-shake control method and device
CN108600644B (en) Photographing method and device and wearable device
CN112532891A (en) Photographing method and device
CN113487500B (en) Image distortion correction method and apparatus, electronic device, and storage medium
WO2022199395A1 (en) Facial liveness detection method, terminal device and computer-readable storage medium
CN114040048A (en) Privacy protection method and electronic equipment
CN109726613B (en) Method and device for detection
CN116055895B (en) Image processing method and device, chip system and storage medium
CN111416936B (en) Image processing method, image processing device, electronic equipment and storage medium
CN115908120B (en) Image processing method and electronic device
CN107105167B (en) Method and device for shooting picture during scanning question and terminal equipment
CN113486714B (en) Image processing method and electronic equipment
CN112418189B (en) Face recognition method, device and equipment for wearing mask and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20948173

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20948173

Country of ref document: EP

Kind code of ref document: A1