Method, system, apparatus and medium for adjusting exposure brightness of a human face in a backlit scene
By using facial recognition devices to detect faces or default bounding boxes in backlit scenes, calculating the average brightness of the area and adjusting the exposure, the problem of inflexible exposure methods and high costs in facial recognition under backlit conditions is solved, achieving efficient and low-cost facial recognition.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU MOREDIAN TECH CO LTD
- Filing Date
- 2021-12-02
- Publication Date
- 2026-06-02
AI Technical Summary
In backlit scenes, existing facial recognition technologies suffer from inflexible and costly exposure methods, making it difficult to quickly and accurately identify faces.
The system detects faces or default bounding boxes using facial recognition devices, calculates the average brightness of the area and compares it with a preset target value, and adjusts the exposure to recognize faces.
Effective adjustment of facial exposure in backlit scenes reduces costs and improves the accuracy and efficiency of facial recognition.
Smart Images

Figure CN114331870B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to methods, systems, devices and media for adjusting the exposure brightness of a face in backlit scenes. Background Technology
[0002] With the rapid development of facial recognition technology, its application in smart hardware is becoming increasingly widespread, such as mobile phones, computers, facial payment tablets, facial recognition access control systems, and facial recognition door locks. When performing facial recognition through these smart devices, various application scenarios are involved, among which backlighting is a common one. In backlighting scenarios, it is difficult to quickly and accurately recognize faces because there are many overly bright areas in the overall image, while the face occupies a relatively small area. In this situation, the overall average brightness of the image based on global exposure statistics will be high, and compared to the target brightness, there is no need to further increase the current exposure. This results in the face area being too dark, causing the algorithm to fail to recognize the face.
[0003] In related technologies, there are two common methods to solve the above problems. The first is to use a wide dynamic range camera module. This module can clearly see the face and the background area of the person in backlight scenes and has good imaging effect. However, it is relatively expensive, and the processor connected to the module must also support wide dynamic range operation, so the cost will also increase significantly.
[0004] Another approach is to use Face AE (face region exposure). This method does not require a wide dynamic range module; only the processor needs to implement the region exposure function. While Face AE can solve the problem of insufficient face brightness, it may cause overexposure. For example, in the default state, a common method to recognize a face is to increase the overall exposure by default. However, when the default brightness is increased, it may cause overexposure in outdoor bright sunlight scenes, resulting in the inability to recognize the face.
[0005] Currently, no effective solution has been proposed for the problems of inflexible exposure methods and high costs in related technologies when performing face recognition in backlit scenarios, especially in the default state. Summary of the Invention
[0006] This application provides a method, system, device, and medium for adjusting the exposure brightness of a face in backlit scenes, solving the problems of inflexible exposure methods and high costs in related technologies when performing face recognition in backlit scenes, especially in the default state.
[0007] In a first aspect, embodiments of this application provide a method for adjusting the exposure brightness of a face in a backlit scene, the method comprising:
[0008] Face detection is performed using a face recognition device. If a face can be detected, a face bounding box is obtained. If a face cannot be detected, a default bounding box is obtained. The area obtained by face detection includes the face and the body area below the face.
[0009] The average brightness of the region within the face coordinate frame or the default coordinate frame is statistically analyzed, and the statistically obtained average brightness is compared with a preset target value to adjust the exposure.
[0010] The face is identified by adjusting the exposure, and the area of the face is exposed.
[0011] In some embodiments, the statistically calculated average brightness is compared with a preset target value, and the exposure is adjusted by:
[0012] When the statistically calculated average brightness is higher than the preset target value, the current exposure brightness value is reduced; when the statistically calculated average brightness is lower than the preset target value, the current exposure brightness value is increased.
[0013] In some embodiments, before performing average brightness statistics on the region within the face coordinate frame or the default coordinate frame, the method includes:
[0014] When a face can be detected, it is necessary to continuously detect for more than a preset number of frames. After confirming that the face has stabilized in the image, the average brightness of the area within the face coordinate frame is statistically analyzed.
[0015] If a face cannot be detected, it is necessary to continuously detect for a preset number of frames. After confirming that a face cannot be detected, the average brightness of the area within the default coordinate frame is statistically analyzed.
[0016] In some embodiments, the position and width of the default coordinate frame are set, wherein the position is set in the center region and the width is set to 30% of the total width.
[0017] Secondly, embodiments of this application provide a system for adjusting the exposure brightness of a face in a backlit scene, the system comprising:
[0018] The detection and acquisition module is used to perform face detection through a face recognition device. If a face can be detected, the module acquires the face coordinate box; if a face cannot be detected, the module acquires the default coordinate box. The area acquired by the face detection includes the face and the body area below the face.
[0019] The statistical adjustment module is used to perform average brightness statistics on the area within the face coordinate frame or the default coordinate frame, compare the statistically calculated average brightness with a preset target value, and adjust the exposure accordingly.
[0020] The exposure recognition module is used to identify a face by adjusting the exposure and to expose the area of the face.
[0021] In some embodiments, the statistical adjustment module is further configured to reduce the current exposure brightness value when the statistically calculated average brightness is higher than the preset target value, and to increase the current exposure brightness value when the statistically calculated average brightness is lower than the preset target value.
[0022] In some embodiments, the system further includes a confirmation module that performs average brightness statistics on the area within the face coordinate frame or the default coordinate frame before doing so.
[0023] The confirmation module is used to continuously detect a preset number of frames or more when a face can be detected, and after confirming that the face has stabilized in the frame, to perform average brightness statistics on the area within the face coordinate frame.
[0024] If a face cannot be detected, it is necessary to continuously detect for a preset number of frames. After confirming that a face cannot be detected, the average brightness of the area within the default coordinate frame is statistically analyzed.
[0025] In some embodiments, the system further includes a setting module.
[0026] The setting module is used to set the position and width of the default coordinate frame, wherein the position is set in the center area and the width is set to 30% of the total width.
[0027] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the method for adjusting the exposure brightness of a face in a backlit scene as described in the first aspect above.
[0028] Fourthly, embodiments of this application provide a storage medium storing a computer program that, when executed by a processor, implements the method for adjusting the exposure brightness of a face in a backlit scene as described in the first aspect above.
[0029] Compared to related technologies, the method for adjusting facial exposure brightness in backlit scenes provided in this application embodiment uses a facial recognition device to detect faces. If a face can be detected, a facial coordinate frame is obtained; if a face cannot be detected, a default coordinate frame is obtained. The area obtained by the face detection includes the face and the body area below the face. Next, the average brightness of the area within the facial coordinate frame or the default coordinate frame is statistically analyzed. The statistically analyzed average brightness is compared with a preset target value, and the exposure is adjusted accordingly. Finally, the face is identified using the adjusted exposure, and the area of the face is exposed.
[0030] In this application, when a person is in the center of the image, the face recognition device includes the face and the body area below the face within the exposure statistics area bounded by the face frame or default frame. Especially in backlit scenes, because the enclosed area has a large proportion of dark areas, the statistically calculated average brightness differs significantly from the set target brightness. Therefore, it is necessary to adjust the exposure of the enclosed area to increase the brightness of the human body, thereby recognizing the face. Finally, exposure is adjusted based on the face area, effectively and autonomously adjusting the face exposure regardless of the scene. Furthermore, this application achieves face recognition in backlit default scenes using a cheaper non-wide dynamic range module, saving project costs. It solves the problems of inflexible exposure methods and high costs in backlit scenes, especially when performing face recognition in the default state. Attached Figure Description
[0031] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0032] Figure 1 This is a flowchart of a method for adjusting the exposure brightness of a face in a backlit scene according to an embodiment of this application;
[0033] Figure 2 This is a schematic diagram of the device exposure area according to an embodiment of this application;
[0034] Figure 3 This is a schematic diagram of the process for adjusting the exposure brightness of a face according to an embodiment of this application;
[0035] Figure 4 This is a structural block diagram of a system for adjusting the exposure brightness of a face in a backlit scene according to an embodiment of this application;
[0036] Figure 5 This is a structural block diagram of a system for adjusting the exposure brightness of a face in a backlit scene according to an embodiment of this application;
[0037] Figure 6This is a schematic diagram of the internal structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0038] To make the objectives, technical solutions, and advantages of this application clearer, the application is described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the application. All other embodiments obtained by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application. Furthermore, it is understood that although the efforts made in such a development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, modifications to design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as insufficient disclosure of the content of this application.
[0039] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0040] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms “a,” “an,” “an,” “the,” and similar words used in this application do not indicate quantity limitation and may indicate singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units not listed, or may include other steps or units inherent to these processes, methods, products, or devices. The terms “connected,” “linked,” “coupled,” and similar words used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Multiple” used in this application means two or more. “And / or” describes the relationship between related objects, indicating that three relationships may exist; for example, “A and / or B” can represent: A alone, A and B simultaneously, and B alone. The terms “first,” “second,” “third,” etc., used in this application are merely to distinguish similar objects and do not represent a specific ordering of the objects.
[0041] This embodiment provides a method for adjusting the exposure brightness of a face in backlit scenes. Figure 1 This is a flowchart of a method for adjusting the exposure brightness of a face in a backlit scene according to an embodiment of this application, such as... Figure 1 As shown, the process includes the following steps:
[0042] Step S101: Perform face detection using a face recognition device. If a face can be detected, obtain the face coordinate box. If a face cannot be detected, obtain the default coordinate box. The area obtained by face detection includes the face and the body area below the face.
[0043] Figure 2 This is a schematic diagram of the device exposure area according to an embodiment of this application, such as... Figure 2 As shown, the large rectangular area 1 is the camera preview area, and the shadow area 2 is the exposure area. In backlit scenes, if the face recognition device cannot recognize a face, the device's camera interface will display a prompt, guiding the user to stand in the center area for face detection.
[0044] Preferably, in this embodiment, the device driver defines two coordinate points, (x0, y0) and (x1, y1). These two coordinate points represent the top-left and bottom-right coordinates of the entire area's exposure, respectively. During code implementation, the values of these two coordinate points are sent by the device's app. That is, when a face is detected, the app sends the face coordinates to obtain the face bounding box; when no face is detected, the app sends default coordinates to obtain the default bounding box. It should be noted that in this embodiment, the area obtained by face detection includes the face area and the body area below the face; that is, both the face and the body area below the face are included within the exposure statistics area box.
[0045] It should be noted that in this embodiment, the position and width of the default coordinate frame need to be set. The position can be set in the center area, and the width should be set to 30% of the total width. At this time, if the user is standing at a distance of about 1 meter from the device, he / she can be completely enclosed by the default coordinate frame. In addition, the default frame should not be set too large. If it is set too large, when the person is standing in the middle and far away position, the enclosed background area of the human body will be relatively large. If it is an overexposed image, the larger the background area, the brighter the average brightness will be, which will reduce the room for brightness adjustment of the user's body, thus resulting in the inability to recognize the face.
[0046] Step S102: Perform average brightness statistics on the area within the face coordinate frame or default coordinate frame, compare the statistically calculated average brightness with the preset target value, and adjust the exposure.
[0047] Figure 3 This is a schematic diagram of the process for adjusting the exposure brightness of a face according to an embodiment of this application, such as... Figure 3 As shown, after face detection in step S101, if a face is detected, it needs to be detected continuously for at least a preset number of frames, such as at least four frames. After confirming that the face has stabilized in the frame, the system switches to the face coordinate frame area. If a face is not detected, it needs to be detected continuously for at least a preset number of frames, such as at least four frames. After confirming that no face is detected, the system switches to the default coordinate frame area. This embodiment avoids exposure oscillation caused by intermittent switching of face detection by judging multiple consecutive frames.
[0048] Furthermore, after obtaining the face coordinate frame or default coordinate frame, when a face is recognized, the face coordinate frame is sent to the driver. The driver then performs exposure statistics based on the face coordinate frame. If the calculated average brightness is higher than the preset target value, the current exposure brightness is decreased; if the calculated average brightness is lower than the preset target value, the exposure brightness is increased. When no face is recognized, the default coordinate frame is sent to the driver, and exposure statistics are performed based on the default coordinate frame. Similarly, if the calculated average brightness is higher than the preset target value, the current exposure brightness is decreased; if the calculated average brightness is lower than the preset target value, the exposure brightness is increased.
[0049] Step S103: The face is identified by adjusting the exposure, and the area of the face is exposed.
[0050] In this embodiment, after adjusting the exposure of the exposure area through the above steps, the brightness of the subject is increased, thereby enabling the recognition of the face and exposure based on the area of the face.
[0051] It should be noted that the exposure area setting is not limited to the center area; it can be set in any area of the image according to actual needs.
[0052] Through steps S101 to S103 described above, this embodiment performs face detection using the device, obtains a face bounding box or a default bounding box, then performs average brightness statistics on the area within the bounding box, and adjusts the exposure by comparing the statistically calculated average brightness with a preset target value to increase the brightness of the subject, thereby recognizing the face. Finally, exposure is adjusted based on the face area. This solves the problems of inflexible exposure methods and high costs in backlit scenes, especially when performing face recognition in the default state, thus reducing costs.
[0053] It should be noted that the steps shown in the above process or in the flowchart of the accompanying figures can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0054] This embodiment also provides a system for adjusting the exposure brightness of a face in backlit scenes. This system is used to implement the above embodiments and preferred embodiments, and details already described will not be repeated. As used below, the terms "module," "unit," "subunit," etc., can refer to a combination of software and / or hardware that performs a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0055] Figure 4 This is a structural block diagram of a system for adjusting the exposure brightness of a face in a backlit scene according to an embodiment of this application, such as... Figure 4 As shown, the system includes a detection and acquisition module 41, a statistical adjustment module 42, and an exposure recognition module 43.
[0056] The detection and acquisition module 41 is used to perform face detection using a face recognition device. If a face can be detected, it acquires the face coordinate frame; if a face cannot be detected, it acquires the default coordinate frame. The area acquired by face detection includes the face and the body area below the face. The statistical adjustment module 42 is used to perform average brightness statistics on the area within the face coordinate frame or the default coordinate frame, compare the statistically obtained average brightness with a preset target value, and adjust the exposure. The recognition and exposure module 43 is used to recognize the face through the adjusted exposure and set the exposure value for the face area.
[0057] Through the above system, in this embodiment, the detection and acquisition module 41 performs face detection through the device and obtains a face bounding box or a default bounding box. Then, the statistical adjustment module 42 performs average brightness statistics on the area within the bounding box. By comparing the statistically obtained average brightness with a preset target value, the exposure is adjusted to increase the brightness of the subject, thereby recognizing the face. Finally, the recognition and exposure module 43 adjusts the exposure based on the face area. This system reduces the cost of addressing the inflexible exposure methods and high costs associated with face recognition in backlit scenarios, especially in the default state.
[0058] In some embodiments, the system further includes a confirmation module. Figure 5 This is a structural block diagram of a system for adjusting the exposure brightness of a face in a backlit scene according to another embodiment of this application, such as... Figure 5As shown, the system includes a detection and acquisition module 41, a confirmation module 51, a statistical adjustment module 42, and an exposure recognition module 43. The confirmation module 51, when a face can be detected, needs to continuously detect for at least a preset number of frames, such as at least four frames, and after confirming that the face is stable in the frame, switches to the face coordinate frame area and performs average brightness statistics on the area within the face coordinate frame. When a face cannot be detected, it also needs to continuously detect for at least a preset number of frames, such as at least four frames, and after confirming that a face cannot be detected, switches to the default coordinate frame area and performs average brightness statistics on the area within the default coordinate frame. This embodiment, through continuous multi-frame judgment, can avoid the exposure oscillation problem caused by intermittent switching of face detection.
[0059] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0060] Furthermore, it should be noted that the aforementioned modules can be either functional modules or program modules, and can be implemented through software or hardware. For modules implemented in hardware, these modules can reside in the same processor; alternatively, they can be located in different processors in any combination.
[0061] This embodiment also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0062] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0063] Furthermore, in conjunction with the method for adjusting facial exposure brightness in backlit scenes described in the above embodiments, this application embodiment can provide a storage medium for implementation. This storage medium stores a computer program; when executed by a processor, the computer program implements any of the methods for adjusting facial exposure brightness in backlit scenes described in the above embodiments.
[0064] In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, memory, a network interface, a display screen, and an input device connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with an external terminal via a network connection. When executed by the processor, the computer program implements a method for adjusting the exposure brightness of a face in a backlit scene. The display screen may be a liquid crystal display (LCD) or an e-ink display. The input device may be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.
[0065] In one embodiment, Figure 6 This is a schematic diagram of the internal structure of an electronic device according to an embodiment of this application, such as... Figure 6 As shown, an electronic device is provided, which can be a server, and its internal structure diagram can be as follows. Figure 6 As shown, the electronic device includes a processor, a network interface, internal memory, and non-volatile memory connected via an internal bus. The non-volatile memory stores an operating system, computer programs, and a database. The processor provides computing and control capabilities, the network interface communicates with external terminals via a network connection, the internal memory provides an environment for the operation of the operating system and computer programs, the computer programs are executed by the processor to implement a method for adjusting the exposure brightness of a face in backlit scenes, and the database stores data.
[0066] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0067] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0068] Those skilled in the art should understand that the technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments have been described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0069] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for adjusting the exposure brightness of a face in a backlit scene, characterized in that, The method includes: Face detection is performed using a face recognition device. If a face can be detected, a face bounding box is obtained. If a face cannot be detected, a default bounding box is obtained. The area obtained by face detection includes the face and the body area below the face. If a face can be detected, continuous detection is required for a preset number of frames. After confirming that the face has stabilized in the image, the average brightness of the area within the face coordinate frame is calculated. If a face cannot be detected, continuous detection is required for a preset number of frames. After confirming that a face cannot be detected, the average brightness of the area within the default coordinate frame is calculated. The average brightness of the area within the face coordinate frame or the default coordinate frame is statistically analyzed, and the statistically obtained average brightness is compared with a preset target value to adjust the exposure. The face is identified by adjusting the exposure, and the area of the face is exposed.
2. The method according to claim 1, characterized in that, The calculated average brightness is compared with the preset target value, and the exposure is adjusted accordingly, including: When the statistically calculated average brightness is higher than the preset target value, the current exposure brightness value is reduced; when the statistically calculated average brightness is lower than the preset target value, the current exposure brightness value is increased.
3. The method according to claim 1, characterized in that, The position and width of the default coordinate frame are set, wherein the position is set in the center area and the width is set to 30% of the total width.
4. A system for adjusting the exposure brightness of a face in backlit scenes, characterized in that, The system includes: The detection and acquisition module is used to perform face detection through a face recognition device. If a face can be detected, the module acquires the face coordinate box; if a face cannot be detected, the module acquires the default coordinate box. The area acquired by the face detection includes the face and the body area below the face. The brightness statistics module is used to perform average brightness statistics on the area within the face coordinate frame after continuously detecting a preset number of frames and confirming that the face has stabilized in the image when a face can be detected; and to perform average brightness statistics on the area within the default coordinate frame after continuously detecting a preset number of frames and confirming that a face cannot be detected when a face cannot be detected. The statistical adjustment module is used to perform average brightness statistics on the area within the face coordinate frame or the default coordinate frame, compare the statistically calculated average brightness with a preset target value, and adjust the exposure. The exposure recognition module is used to identify a face by adjusting the exposure and to expose the area of the face.
5. The system according to claim 4, characterized in that, The statistical adjustment module is also used to reduce the current exposure brightness value when the statistically calculated average brightness is higher than the preset target value, and to increase the current exposure brightness value when the statistically calculated average brightness is lower than the preset target value.
6. The system according to claim 4, characterized in that, The system also includes a confirmation module, which performs average brightness statistics on the area within the face coordinate frame or the default coordinate frame before... The confirmation module is used to continuously detect a preset number of frames or more when a face can be detected, and after confirming that the face has stabilized in the frame, to perform average brightness statistics on the area within the face coordinate frame. If a face cannot be detected, it is necessary to continuously detect for a preset number of frames. After confirming that a face cannot be detected, the average brightness of the area within the default coordinate frame is statistically analyzed.
7. The system according to claim 4, characterized in that, The system also includes a settings module. The setting module is used to set the position and width of the default coordinate frame, wherein the position is set in the center area and the width is set to 30% of the total width.
8. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the method of adjusting the exposure brightness of a face in a backlit scene as described in any one of claims 1 to 3.
9. A storage medium, characterized in that, The storage medium stores a computer program, wherein the computer program is configured to execute, when running, the method for adjusting the exposure brightness of a face in a backlit scene as described in any one of claims 1 to 3.