Method, device and electronic device for adjusting display screen brightness
The camera acquires human eye images, determines the positional relationship between the observer and the light source or the display screen, and calculates the brightness adjustment amount, which solves the problem of inaccurate brightness adjustment of the display screen, and realizes accurate brightness adjustment in different light environments.
Patent Information
- Application Number
- CN202211360503.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-02
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2042-11-02
AI Technical Summary
In the prior art, the display screen brightness adjustment is not accurate enough to accurately match the user's viewing needs in different light environments.
The human eye image is obtained through the camera, and the positional relationship between the observer and the target light source or the display screen is determined. Based on this relationship, the brightness adjustment amount is calculated, and the display screen brightness is adjusted.
It realizes accurate adjustment of the display brightness in different light environments to ensure that users obtain appropriate display brightness.
Smart Images

Figure CN115909992B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of image processing, and particularly relates to a method, device, and electronic device for adjusting the brightness of a display screen. Background Art
[0002] With the development of digital technology, people use electronic devices more and more, such as mobile phones, TVs, computers, tablet computers, etc. These devices are equipped with display screens, and the brightness of the display screens can be adjusted to meet people's viewing needs in different environments.
[0003] In different light environments, the brightness of the display screen seen by the human eye is different. In order to match better display brightness in different environments, electronic devices are usually equipped with an automatic brightness adjustment system. Currently, electronic devices generally adjust the brightness of the display screen by detecting the intensity of ambient light and adjusting the brightness of the display screen according to the intensity of ambient light. However, this way of adjusting the brightness of the display screen is relatively simple, and the brightness adjustment of the display screen is not accurate enough. Summary of the Invention
[0004] The purpose of the embodiments of this application is to provide a method, device, and electronic device for adjusting the brightness of a display screen, which can solve the problem that the brightness adjustment of the display screen is not accurate enough.
[0005] In a first aspect, the embodiments of this application provide a method for adjusting the brightness of a display screen, and the method includes:
[0006] Obtain a human eye image through a camera, where the human eye image is an eye image of an observer observing the display screen, and the camera and the display screen are located on the same side of the electronic device;
[0007] Determine a target position relationship according to the human eye image, where the target position relationship is the position relationship between the observer's eyes and a target light source, or the position relationship between the observer's eyes and the display screen, and the target light source is a light source in the environment where the display screen is located;
[0008] Determine the brightness adjustment amount of the display screen according to the target position relationship;
[0009] Adjust the brightness of the display screen according to the brightness adjustment amount.
[0010] In a second aspect, the embodiments of this application provide a device for adjusting the brightness of a display screen, and the device includes:
[0011] Obtain a human eye image through a camera, where the human eye image is an eye image of an observer observing the display screen, and the camera and the display screen are located on the same side of the electronic device;
[0012] Based on the human eye image, determine a target position relationship, where the target position relationship is the position relationship between the eyes of the observer and a target light source, or the position relationship between the eyes of the observer and the display screen, and the target light source is a light source in the environment where the display screen is located;
[0013] Based on the target position relationship, determine the brightness adjustment amount of the display screen;
[0014] Adjust the brightness of the display screen according to the brightness adjustment amount.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.
[0016] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0017] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0018] In a sixth aspect, an embodiment of the present application provides a program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0019] In the embodiment of the present application, a human eye image is obtained through a camera. The human eye image is an eye image of an observer observing a display screen. The camera and the display screen are located on the same side of the electronic device; based on the human eye image, a target position relationship is determined, where the target position relationship is the position relationship between the eyes of the observer and a target light source, or the position relationship between the eyes of the observer and the display screen, and the target light source is a light source in the environment where the display screen is located; based on the target position relationship, the brightness adjustment amount of the display screen is determined; according to the brightness adjustment amount, the brightness of the display screen is adjusted. In the above, the position relationship between the observer and the target light source, or the position relationship between the observer and the display screen is considered, and the brightness adjustment amount is determined based on this position relationship, which can make the brightness adjustment more in line with the actual situation and the brightness adjustment result more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1a - Figure 1b It is a schematic diagram of the position relationship between a light source, a display screen, and a human eye provided by an embodiment of the present application;
[0021] Figure 1c It is the relationship curve between the light receiving angle of the light source and the relative intensity of the light field provided by the embodiment of the present application;
[0022] Figure 1d - Figure 1e It is the schematic diagram of the angle for the human eye to observe the display screen provided by the embodiment of the present application;
[0023] Figure 1f It is one of the relationship curves between the observation angle and the observation brightness attenuation rate provided by the embodiment of the present application;
[0024] Figure 2 It is the flow chart of the display screen brightness adjustment method provided by the embodiment of the present application;
[0025] Figure 3a It is the side view of the human eye provided by the embodiment of the present application;
[0026] Figure 3b It is the front view of the human eye provided by the embodiment of the present application;
[0027] Figure 3c It is the position relationship diagram among the camera, the light source and the human eye provided by the embodiment of the present application;
[0028] Figure 4a It is the position relationship diagram among the human face, the camera and the image sensor provided by the embodiment of the present application;
[0029] Figure 4b It is the second relationship curve between the observation angle and the observation brightness attenuation rate provided by the embodiment of the present application;
[0030] Figure 4c It is the schematic diagram of the offset value of the human eye center point provided by the embodiment of the present application;
[0031] Figure 4d It is the schematic diagram of the observation angle calculation principle provided by the embodiment of the present application;
[0032] Figure 5 It is the structural diagram of the display screen brightness adjustment device provided by the embodiment of the present application;
[0033] Figure 6 It is one of the structural diagrams of the electronic device provided by the embodiment of the present application;
[0034] Figure 7 It is the second structural diagram of the electronic device provided by the embodiment of the present application. Detailed implementation manners
[0035] The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application belong to the scope of protection of the present application.
[0036] The terms "first", "second", etc. in the description and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such used data may be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order different from those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same category, and do not limit the number of objects. For example, the first object may be one or multiple. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / " generally indicates an "or" relationship between the associated objects before and after.
[0037] With the development of digital technology, display screens are applied in all aspects of daily life. For example, mobile phones, TVs, computers, tablets, etc. all include display screens. The display screen (which may also be referred to as the screen hereinafter) can adjust the display brightness to meet the viewing requirements in different environments. Taking mobile devices as an example, considering the mobile nature of mobile devices, the display screen is usually equipped with an automatic brightness adjustment system to accurately match the display brightness in different environments. For example, the ambient light intensity detection unit provided on the side of the display screen is used to detect the ambient light intensity, and the brightness of the display screen is adjusted based on the ambient light intensity. As Figure 1a shown, G is the light source, and the ambient light intensity detection unit 55 is arranged on the side of the display screen facing the human eye. It can detect the light within an approximately ±60° field of vision (FOV) area, such as Figure 1a the range shown by q in the figure. Ideally, the human eye observes the screen along the normal direction r2 of the screen, that is, the human eye normal direction r1 is parallel to the screen normal direction r2. Then the ambient light intensity detection unit 55 can detect the light intensity from the human eye normal direction r1.
[0038] The actual situation is often more complex. The direction in which the human eye gazes at the screen is not necessarily along the normal direction r2 of the screen. For example, when a mobile phone or a tablet is placed flat on a table, the human eye views the screen at a certain viewing angle. At this time, the following problems will occur:
[0039] 1. The position of the light source is as Figure 1bAs shown in the figure, the ambient light intensity detection unit 55 detects the light within the ±60° FOV range in the direction of the screen normal r2. The light field it receives is B, while the light field received by the human eye is A. A and B are actually the light fields in two directions of the light source. If the uniformity of the light source is relatively poor, the difference in the light field intensity between A and B will be very large (this can be summarized as light-receiving angle distortion), which will lead to a large difference between the detected light intensity and the light intensity felt by the human eye, resulting in automatic brightness adjustment disorders.
[0040] As Figure 1c shown is the relationship curve between the light-receiving angle of the light source and the relative intensity of the light field. This curve usually shows a Lambert distribution. The ambient light detection unit receives the light field of a certain direction segment B (such as 20° - 30°) of the light source, while the human eye feels the light field of another direction segment A (such as 40° - 50°) of the light source. The intensity of these two light fields differs by a factor of two, which will lead to light-receiving angle distortion, resulting in automatic dimming disorders.
[0041] 2. As Figure 1d shown, the direction in which the human eye gazes at the screen is along the normal direction of the screen. Figure 1d The dashed line in Figure 1e is parallel to the normal direction. At this time, the viewing angle a0 is 0°. In actual situations, as Figure 1e shown, the human eye observes the screen at a certain angle. The viewing direction of the human eye and the normal direction of the screen can be regarded as the viewing angle.
[0042] As Figure 1f shown is the relationship curve between the viewing angle and the viewing brightness attenuation rate. Among them, the abscissa is the viewing angle, and the ordinate is the viewing brightness attenuation rate.
[0043] To reduce the impact brought by light-receiving angle distortion and viewing angle distortion, it is necessary to correct the light-receiving angle distortion and viewing angle distortion. The embodiment of this application proposes a display screen brightness adjustment method. By correcting the light-receiving angle distortion or viewing angle distortion, that is, performing brightness correction based on the observer's vision, the precise adjustment of the display screen brightness can be achieved. For specific details, refer to the records in the following embodiments.
[0044] Next, in conjunction with the accompanying drawings, through specific embodiments and their application scenarios, the display screen brightness adjustment method provided by the embodiments of this application will be described in detail.
[0045] Figure 2 is one of the flowcharts of the display screen brightness adjustment method provided by the embodiments of this application. The display screen brightness adjustment method in this embodiment is applied to an electronic device and includes the following steps:
[0046] Step 101: Obtain a human eye image through a camera. The human eye image is an image of the eyes of an observer observing a display screen. The camera and the display screen are located on the same side of the electronic device.
[0047] The camera and the display screen can be set on the same surface of the electronic device, or the camera and the display screen can be set on different surfaces of the electronic device with the same orientation, so as to ensure that the camera can capture the human eyes facing the display screen to obtain a human eye image. The camera can be embedded in the display screen or located beside the display screen, which is not limited here.
[0048] The camera can capture the face of the observer to obtain a face image, and then intercept the human eye image from the face image. Further, the electronic device can control the camera to capture the observer when detecting a change in the ambient light intensity to obtain a human eye image.
[0049] Step 102: Determine a target position relationship according to the human eye image. The target position relationship is the position relationship between the eyes of the observer and a target light source, or the position relationship between the eyes of the observer and the display screen. The target light source is a light source in the environment where the display screen is located.
[0050] Analyze the human eye image to determine the position relationship between the eyes of the observer and the target light source, or the position relationship between the eyes of the observer and the display screen. For example, according to the position of the bright spot in the human eye image, determine the position relationship between the eyes of the observer and the target light source. The bright spot is the highlight formed by the target light source in the human eye image. Another example is to determine the position relationship between the eyes of the observer and the display screen according to the offset of the human eyes from the central axis of the camera.
[0051] The target light source can include one light source, or two or more light sources, which is not limited here. It should be noted that if the target light source includes two or more light sources, for each light source, determine a target position relationship, and then comprehensively consider the target position relationships corresponding to each light source to determine the brightness adjustment amount of the display screen. For example, determine a brightness adjustment amount according to the target position relationship corresponding to one light source. Multiple light sources can determine multiple brightness adjustment amounts. Perform a weighted calculation on the multiple brightness adjustment amounts, such as weighted average, to obtain the final brightness adjustment amount.
[0052] Step 103: Determine the brightness adjustment amount of the display screen according to the target position relationship.
[0053] Since the relative intensity of the light field of the target light source is not evenly distributed, such as Figure 1cThe relationship curve between the relative intensity of the light field shown and the light-receiving angle of the light source (also known as the light-receiving angle). Different light-receiving angles of the light source result in different relative intensities of the light field. Based on this, when the observer's position relative to the target light source is different, the observer is at different light-receiving angles of the light source, and the relative intensity of the light field felt by the observer is different. Further, the brightness adjustment amount of the display screen can be determined according to the relative intensity of the light field at the position where the observer is located.
[0054] Since the human eye observes the screen at a certain angle, there is a certain difference between the observed screen brightness and the actual brightness at this time. As Figure 1f shown in the curve, different observation angles result in different observation brightness attenuation rates. Based on this, when the observer's position relative to the display screen is different, for example, at different angles, the screen brightness observed by the observer is different. Further, the brightness adjustment amount of the display screen can be determined according to the screen brightness observed at the position where the observer is located.
[0055] Step 104: Adjust the brightness of the display screen according to the brightness adjustment amount.
[0056] For example, on the basis of the current brightness of the display screen, adjust it using the brightness adjustment amount, or collect the ambient light intensity of the display screen, adjust the ambient light intensity using the brightness adjustment amount to obtain a new ambient light intensity, and further adjust the brightness of the display screen using the new ambient light intensity.
[0057] In the method of this embodiment, an eye image of a person is obtained through a camera. The eye image is an eye image of an observer observing the display screen. The camera and the display screen are on the same side of the electronic device; according to the eye image, a target position relationship is determined. The target position relationship is the position relationship between the observer's eye and the target light source, or the position relationship between the observer's eye and the display screen. The target light source is a light source in the environment where the display screen is located; according to the target position relationship, the brightness adjustment amount of the display screen is determined; according to the brightness adjustment amount, the brightness of the display screen is adjusted. In the above, the position relationship between the observer and the target light source, or the position relationship between the observer and the display screen is considered, and the brightness adjustment amount is determined based on this position relationship, which can make the brightness adjustment more in line with the actual situation and the adjustment method more accurate.
[0058] In an embodiment of the present application, the determining the target position relationship according to the eye image includes the following steps:
[0059] Obtain the bright spot in the eye image. The bright spot is the highlight formed by the target light source in the eye image;
[0060] According to the bright spot, determine the position relationship between the observer's eye and the target light source.
[0061] Specifically, the target light source will form a highlight on the lens of the human eye, and this highlight will also be captured when the camera captures the human eye image.
[0062] The position of the highlight is related to the position of the target light source relative to the human eye. When the target light source is in the upper left of the human eye, the highlight captured by the camera is also in the upper left of the lens; when the target light source is in the upper right of the human eye, the highlight captured by the camera is also in the upper right of the lens.
[0063] It should be noted that since the distance between the two eyes of the human eye is relatively close, when determining the positional relationship between the observer and the target light source based on the highlight, the highlight in one of the two eyes can be selected for analysis. For example, the highlight in the left eye can be selected for analysis, or the highlight in the right eye can be selected for analysis.
[0064] Determining the positional relationship between the observer and the target light source based on the highlight can specifically be:
[0065] Determine the positional relationship between the observer's eye and the target light source as the positional relationship between the highlight and the center point of the human eye in the human eye image.
[0066] Correspondingly, determining the brightness adjustment amount of the display screen according to the target positional relationship includes:
[0067] Determine the light collection angle according to the position of the highlight relative to the center point of the human eye in the human eye image, and the light collection angle is the angle at which the observer's eye receives light;
[0068] Determine the brightness adjustment amount according to the light collection angle.
[0069] Specifically, the center point of the human eye refers to the center point of the human eye where the highlight is located. For example, if the highlight is located in the left eye, the center point of the lens of the left eye is the center point of the human eye; if the highlight is located in the right eye, the center point of the lens of the right eye is the center point of the human eye.
[0070] As Figure 3a shown is a side view of the eyeball, where R1 is the major axis radius of the lens and R2 is the minor axis radius of the lens. As Figure 3b shown is a front view of the eyeball. In the figure, 11 shows the highlight, and 22 shows the center point of the human eye, that is, the center point of the lens. Taking the center point of the lens as the origin, a rectangular coordinate system as shown in the figure is established. The X-axis offset of the highlight 11 relative to the center of the lens is X1, and the Y-axis offset of the highlight 11 relative to the center of the lens is Y1. The light collection angle a can be obtained according to the following expression:
[0071]
[0072] Under normal circumstances, R1 is close to R2, and the light-receiving angle a can be obtained according to the following expression:
[0073]
[0074] There is a specific relationship between the light-receiving angle of the light source (which can also be called the light-receiving angle) and the relative intensity of the light field. For example, as Figure 1c shown is a relationship curve between the light-receiving angle of a light source (which can also be called the light-receiving angle) and the relative intensity of the light field provided in this embodiment. According to this curve, the relative intensity of the light field corresponding to the light-receiving angle a can be obtained, and the correction coefficient K1 can be determined according to the relative intensity of the light field. The correction coefficient K1 can be regarded as the brightness adjustment amount.
[0075] As Figure 3c shown is a position relationship diagram among the camera, the human eye, and the target light source.
[0076] In this embodiment, according to the position relationship between the bright spot and the center point of the human eye in the human eye image, the light-receiving angle is determined, and according to the light-receiving angle, the brightness adjustment amount is determined. By the above method, the light-receiving angle can be determined in real time, so as to correct the environmental light intensity felt by the human eye in real time, achieve adaptive adjustment, and enable the display brightness to be adjusted to a suitable level for the user in different light source environments.
[0077] In an embodiment of the present application, after determining the brightness adjustment amount according to the light-receiving angle, adjusting the brightness of the display screen according to the brightness adjustment amount includes:
[0078] Obtaining the first ambient light intensity through a detection unit, where the detection unit is located on the electronic device, and the detection unit is used to detect the ambient light intensity on the side of the display screen;
[0079] Adjusting the first ambient light intensity according to the brightness adjustment amount to obtain the second ambient light intensity;
[0080] Adjusting the brightness of the display screen according to the second ambient light intensity.
[0081] Specifically, the detection unit can be embedded in the display screen or arranged on the side of the display screen. The detection unit is used to detect the ambient light intensity on the side of the display screen. After obtaining the first ambient light intensity, adjust the first ambient light intensity according to the brightness adjustment amount. For example, as Figure 1c shown, when the light-receiving angle in the figure is 40°, the relative intensity of the light field of the target light source is reduced to 60%. In order to compensate for the relative intensity of the light field, 40% needs to be compensated. Therefore, 40% of the ambient light intensity can be compensated on the basis of the first ambient light intensity to obtain the second ambient light intensity, and the brightness of the display screen is adjusted according to the second ambient light intensity.
[0082] As described above, the brightness adjustment amount can correct the brightness imbalance generated when the human eye is in different light fields of the target light source. By adjusting the brightness of the display screen based on the brightness adjustment amount, the electronic device can adjust the display brightness to a suitable level for the user in different light source environments.
[0083] In one embodiment of the present application, determining the target position relationship according to the human eye image includes:
[0084] Obtaining an observation point in the human eye image, where the observation point is the midpoint between the two eyes in the human eye image;
[0085] Determining the position relationship between the observer's eyes and the display screen according to the observation point.
[0086] Specifically, a face image is captured by a camera, and the face is imaged on the image sensor through the lens. As Figure 4a shown, according to the camera imaging principle, when the viewing direction is in the normal direction of the screen, the face is at the center of the camera frame. When the viewing direction deviates to one side, the position of the corresponding face image in the camera frame will also shift. By analyzing the shift amount of the face in the camera frame, the observation angle b can be calculated.
[0087] Generally, the midpoint between the two eyes in the human eye image can be taken as the observation point, and the position relationship between the observer's eyes and the display screen is determined based on the observation point. For example, the position relationship between the observer and the display screen is determined according to the position of the observation point deviating from the central axis of the camera. In addition, since the distance between the display screen and the camera is relatively close, the position relationship between the observer and the camera can be regarded as the position relationship between the observer and the display screen.
[0088] As described above, determining the position relationship between the observer's eyes and the display screen according to the observation point includes:
[0089] Determining the position relationship between the observation point and the central axis of the camera as the position relationship between the observer's eyes and the display screen;
[0090] Correspondingly, determining the brightness adjustment amount of the display screen according to the target position relationship includes:
[0091] Determining an observation angle according to the position of the observation point relative to the central axis of the camera, where the observation angle is the angle at which the observer observes the display screen;
[0092] Determining the brightness adjustment amount according to the observation angle.
[0093] Specifically, as Figure 4a 、Figure 4c As shown, label 55 is the position where the central axis of the camera is located, label 66 is the center point between the two eyes in the human eye image, the X-axis offset of 66 relative to the central axis of the camera is X2, the Y-axis offset is Y2, and the focal length of the camera is L2. Its geometric relationship can be simplified as Figure 4d As shown, the calculation expression for the viewing angle b is:
[0094]
[0095] The change in brightness caused by the change in the viewing angle can be directly measured through experiments. For example Figure 4b As shown, the relationship curve between the viewing angle (which can also be called the observation angle) and the observation brightness attenuation rate. According to this relationship curve, the correction coefficient K2 corresponding to the viewing angle of b can be calculated. The correction coefficient K2 can be used to correct the screen brightness distortion caused by the viewing angle.
[0096] In this embodiment, the position relationship between the observer and the display screen is obtained in real time through the human eye image captured by the camera to determine the viewing angle, so as to correct the screen light intensity felt by the human eye in real time, realize the adaptability of the viewing angle, and enable the user to obtain a suitable display brightness when observing the screen at different angles.
[0097] Further, after determining the brightness adjustment amount according to the viewing angle, the display brightness of the display screen can be adjusted based on the brightness adjustment amount, that is, the brightness is corrected using the brightness adjustment amount on the basis of the display brightness of the display screen. For example Figure 4b As shown, when the viewing angle is 30°, the observation brightness attenuation rate is 32%, and the brightness attenuation rate needs to be corrected. The correction coefficient is (100% - 32%). This correction coefficient is the brightness adjustment amount.
[0098] In the display screen brightness adjustment method provided by the embodiments of the present application, the execution subject can be a display screen brightness adjustment device. In the embodiments of the present application, taking the display screen brightness adjustment device executing the display screen brightness adjustment method as an example, the display screen brightness adjustment device provided by the embodiments of the present application is described.
[0099] For example Figure 5 As shown, the display screen brightness adjustment device 500 includes:
[0100] An acquisition module 501, configured to acquire a human eye image through a camera. The human eye image is an eye image of an observer observing the display screen, and the camera and the display screen are located on the same side of the electronic device;
[0101] The first determination module 502 is configured to determine a target position relationship according to the human eye image, where the target position relationship is the position relationship between the eyes of the observer and a target light source, or the position relationship between the eyes of the observer and the display screen, and the target light source is a light source in the environment where the display screen is located;
[0102] The second determination module 503 is configured to determine a brightness adjustment amount of the display screen according to the target position relationship;
[0103] The adjustment module 504 is configured to adjust the brightness of the display screen according to the brightness adjustment amount.
[0104] Furthermore, the first determination module 502 includes:
[0105] The first acquisition sub-module is configured to acquire a bright spot in the human eye image, where the bright spot is a highlight formed by the target light source in the human eye image;
[0106] The first determination sub-module is configured to determine the position relationship between the eyes of the observer and the target light source according to the bright spot.
[0107] Furthermore, the first determination sub-module is specifically configured to:
[0108] Determine the position relationship between the bright spot and the center point of the human eye in the human eye image as the position relationship between the eyes of the observer and the target light source;
[0109] The second determination module 503 includes:
[0110] The second determination sub-module is configured to determine a light collection angle according to the position of the bright spot relative to the center point of the human eye in the human eye image, where the light collection angle is the angle at which the eyes of the observer receive light;
[0111] The third determination sub-module is configured to determine the brightness adjustment amount according to the light collection angle.
[0112] Furthermore, the adjustment module 504 includes:
[0113] The second acquisition sub-module is configured to acquire a first ambient light intensity through a detection unit, where the detection unit is located on the electronic device, and the detection unit is configured to detect the ambient light intensity on the side of the display screen;
[0114] The third acquisition sub-module is configured to adjust the first ambient light intensity according to the brightness adjustment amount to obtain a second ambient light intensity;
[0115] The adjustment sub-module is configured to adjust the brightness of the display screen according to the second ambient light intensity.
[0116] Further, the first determination module 502 includes:
[0117] A fourth acquisition sub-module, configured to acquire an observation point in the human eye image, where the observation point is the midpoint between the two eyes in the human eye image;
[0118] A fourth determination sub-module, configured to determine the positional relationship between the observer's eyes and the display screen according to the observation point.
[0119] Further, the fourth determination sub-module specifically includes:
[0120] Determine the positional relationship between the observation point and the central axis of the camera as the positional relationship between the observer's eyes and the display screen;
[0121] The second determination module 503 includes:
[0122] A fifth determination sub-module, configured to determine an observation angle according to the position of the observation point relative to the central axis of the camera, where the observation angle is the angle at which the observer observes the display screen;
[0123] A sixth determination sub-module, configured to determine the brightness adjustment amount according to the observation angle.
[0124] The display screen brightness adjustment device 500 provided in the embodiments of the present application can implement each process implemented in the foregoing method embodiments. To avoid repetition, details are not described herein again.
[0125] The display screen brightness adjustment device 500 in the embodiments of the present application may be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than a terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It may also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.
[0126] The display brightness adjustment device 500 in the embodiments of the present application can be a device with an operating system. The operating system can be the Android operating system, the iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
[0127] Optionally, as Figure 6 shown, the embodiments of the present application further provide an electronic device 600, including a processor 601 and a memory 602. A program or instruction that can run on the processor 601 is stored on the memory 602. When the program or instruction is executed by the processor 601, each step of the above-mentioned display brightness adjustment method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be elaborated here.
[0128] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0129] Figure 7 A hardware structure diagram of an electronic device for implementing the embodiments of the present application.
[0130] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710, etc.
[0131] Those skilled in the art can understand that the electronic device 700 may further include a power source (such as a battery) for supplying power to each component. The power source can be logically connected to the processor 710 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. Figure 7 The structure of the electronic device shown in
[0132] does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0133] Obtain a human eye image through a camera, where the human eye image is an eye image of an observer observing the display screen, and the camera and the display screen are located on the same side of the electronic device;
[0134] Determine a target position relationship according to the human eye image, where the target position relationship is the position relationship between the observer's eyes and a target light source, or the position relationship between the observer's eyes and the display screen, and the target light source is a light source in the environment where the display screen is located;
[0135] Determine the brightness adjustment amount of the display screen according to the target position relationship;
[0136] Adjust the brightness of the display screen according to the brightness adjustment amount.
[0137] Furthermore, the processor 710 is further configured to obtain the bright spot in the human eye image, and the bright spot is the highlight formed by the target light source in the human eye image;
[0138] Determine the position relationship between the observer's eyes and the target light source according to the bright spot.
[0139] Furthermore, the processor 710 is further configured to determine the position relationship between the bright spot and the center point of the human eye in the human eye image as the position relationship between the observer's eyes and the target light source;
[0140] Determine the light collection angle according to the position of the bright spot relative to the center point of the human eye in the human eye image, and the light collection angle is the angle at which the observer's eyes receive light;
[0141] Determine the brightness adjustment amount according to the light collection angle.
[0142] Furthermore, the processor 710 is further configured to obtain the first ambient light intensity through the detection unit, the detection unit is located on the electronic device, and the detection unit is used to detect the ambient light intensity on the side of the display screen;
[0143] Adjust the first ambient light intensity according to the brightness adjustment amount to obtain the second ambient light intensity;
[0144] Adjust the brightness of the display screen according to the second ambient light intensity.
[0145] Furthermore, the processor 710 is further configured to obtain the observation point in the human eye image, and the observation point is the midpoint between the two eyes in the human eye image;
[0146] Determine the position relationship between the observer's eyes and the display screen according to the observation point.
[0147] Furthermore, the processor 710 is further configured to determine the position relationship between the observation point and the central axis of the camera as the position relationship between the observer's eyes and the display screen;
[0148] Determine the observation angle according to the position of the observation point relative to the central axis of the camera, and the observation angle is the angle at which the observer observes the display screen;
[0149] Determine the brightness adjustment amount according to the observed angle.
[0150] The electronic device provided by the embodiment of the present application can implement each process implemented by the foregoing method embodiment. To avoid repetition, it will not be described herein again.
[0151] It should be understood that in the embodiment of the present application, the input unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042. The graphics processor 7041 processes the image data of the static pictures or videos obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. The other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be described herein again.
[0152] The memory 709 can be used to store software programs and various data. The memory 709 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 709 may include volatile memory or non-volatile memory, or the memory 709 may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static RAM (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a double data rate SDRAM (DDR SDRAM), an enhanced SDRAM (ESDRAM), a synch link DRAM (SLDRAM), and a direct rambus RAM (DRRAM). The memory 709 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
[0153] The processor 710 may include one or more processing units; optionally, the processor 710 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 710.
[0154] The embodiments of the present application also provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the embodiment of the above display screen brightness adjustment method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0155] Among them, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media such as computer read-only memory ROM, random access memory RAM, magnetic disks, or optical discs.
[0156] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above embodiment of the display screen brightness adjustment method, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0157] It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip.
[0158] The embodiments of the present application provide a computer program product. The program product is stored in a storage medium and is executed by at least one processor to implement each process of the above embodiment of the display screen brightness adjustment method, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0159] It should be noted that in this article, the term "including", "comprising", or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article, or device. Without more limitations, the element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article, or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the described method may be executed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.
[0160] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to enable a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
[0161] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific implementation manners. The above specific implementation manners are merely illustrative rather than restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.
Claims
1. A method for adjusting the brightness of a display screen, characterized in that, Comprising: Obtain a human eye image through a camera, where the human eye image is an eye image of an observer observing a display screen, and the camera and the display screen are on the same side of an electronic device; Obtain the bright spot in the human eye image, where the bright spot is a high-light spot formed by a target light source in the human eye image, and the target light source is a light source in the environment where the display screen is located; Determine the positional relationship between the bright spot and the center point of the human eye in the human eye image as the positional relationship between the observer's eye and the target light source; Determine the light-receiving angle according to the position of the bright spot relative to the center point of the human eye in the human eye image, where the light-receiving angle is the angle at which the observer's eye receives light; Determine the relative light field intensity corresponding to the light-receiving angle according to the light-receiving angle and the relationship curve between the light-receiving angle and the relative light field intensity; Determine the brightness adjustment amount of the display screen according to the relative light field intensity corresponding to the light-receiving angle; Adjust the brightness of the display screen according to the brightness adjustment amount.
2. The method according to claim 1, characterized in that, The adjusting the brightness of the display screen according to the brightness adjustment amount includes: Obtain the first ambient light intensity through a detection unit, where the detection unit is located on the electronic device and is used to detect the ambient light intensity on the side of the display screen; Adjust the first ambient light intensity according to the brightness adjustment amount to obtain the second ambient light intensity; Adjust the brightness of the display screen according to the second ambient light intensity.
3. A display screen brightness adjustment device, characterized in that, Comprising: An acquisition module for obtaining a human eye image through a camera, where the human eye image is an eye image of an observer observing a display screen, and the camera and the display screen are on the same side of an electronic device; A first acquisition sub-module for obtaining the bright spot in the human eye image, where the bright spot is a high-light spot formed by a target light source in the human eye image, and the target light source is a light source in the environment where the display screen is located; A first determination sub-module for determining the positional relationship between the bright spot and the center point of the human eye in the human eye image as the positional relationship between the observer's eye and the target light source; A second determination sub-module for determining the light-receiving angle according to the position of the bright spot relative to the center point of the human eye in the human eye image, where the light-receiving angle is the angle at which the observer's eye receives light; A third determination sub-module for determining the relative light field intensity corresponding to the light-receiving angle according to the light-receiving angle and the relationship curve between the light-receiving angle and the relative light field intensity; The third determination sub-module is further configured to determine the brightness adjustment amount of the display screen according to the relative light field intensity corresponding to the light-receiving angle; An adjustment module for adjusting the brightness of the display screen according to the brightness adjustment amount.
4. The device according to claim 3, characterized in that The adjustment module includes: A second acquisition sub-module for obtaining the first ambient light intensity through a detection unit, where the detection unit is located on the electronic device and is used to detect the ambient light intensity on the side of the display screen; A third acquisition sub-module for adjusting the first ambient light intensity according to the brightness adjustment amount to obtain the second ambient light intensity; An adjustment sub-module for adjusting the brightness of the display screen according to the second ambient light intensity.
5. An electronic device, characterized in that, It includes a processor and a memory, and the memory stores programs or instructions that can run on the processor. When the programs or instructions are executed by the processor, the steps of the display screen brightness adjustment method described in any one of claims 1 to 2 are implemented.
Citation Information
Patent Citations
Terminal screen control device based on eye detection and method thereof
CN106325519A
Display device and display parameter regulation method thereof
CN108417171A
Lighting device and control method thereof
CN112839414A