Vehicle light adjusting method and device and vehicle
By obtaining environmental information and driver's pupil status in real time, and judging and adjusting car lights, the problems of low intelligence and insufficient driving safety in the existing technology are solved, and higher lighting adjustment accuracy and safety are achieved.
Patent Information
- Application Number
- CN202510478474.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2025-06-24
AI Technical Summary
The existing automotive lighting adjustment technology is low in intelligence and cannot accurately adjust it based on the driver's pupil status and environmental information in real time, resulting in low driving safety.
By obtaining the environmental information of the current target position of the vehicle and the driver's pupil focus status in real time, we can determine whether the target condition for turning on the vehicle light is met, and adjust the light according to the target position and environmental information.
It improves the accuracy of light turn-on control, takes into account objects in the surrounding environment, reduces the impact on the line of sight of opposing vehicles or pedestrians, enhances driving safety, and improves the timeliness and intelligence of light adjustments.
Smart Images

Figure CN120191282A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of vehicles, and in particular, to a method and device for adjusting vehicle lights and a vehicle. Background Art
[0002] Automobile light adjustment technology has begun to be used in vehicles. Currently, most of this technology adjusts the lights according to the intensity of the ambient light, and cannot be separated from the driver's manual adjustment of the lights. The degree of intelligence is low, the light adjustment is inaccurate, and the driving safety is relatively low. Summary of the Invention
[0003] In order to solve the above technical problems, the present disclosure provides a method and device for adjusting vehicle lights and a vehicle.
[0004] According to one aspect of the present disclosure, there is provided a method for adjusting vehicle lights, including:
[0005] Obtaining in real time the environmental information at the current target position where the vehicle is located and the focusing state of the driver's pupils;
[0006] Determining whether the focusing state of the pupils meets the target condition for turning on the vehicle lights;
[0007] If it is satisfied, determining to turn on the vehicle lights;
[0008] When turning on the lights, adjusting the vehicle lights according to the target position, the weather information, and the environmental information.
[0009] According to another aspect of the present disclosure, there is also provided a device for adjusting vehicle lights, including:
[0010] An information acquisition module, configured to obtain in real time the environmental information at the current target position where the vehicle is located and the focusing state of the driver's pupils;
[0011] A condition judgment module, configured to determine whether the focusing state of the pupils meets the target condition for turning on the vehicle lights;
[0012] A light turning-on module, configured to determine to turn on the vehicle lights when the focusing state of the pupils meets the target condition for turning on the vehicle lights;
[0013] A light adjustment module, configured to adjust the vehicle lights according to the target position and the environmental information when turning on the lights.
[0014] According to another aspect of the present disclosure, there is also provided an electronic device, where the electronic device includes:
[0015] A processor;
[0016] A memory for storing the executable instructions of the processor;
[0017] The processor is configured to read the executable instructions from the memory and execute the instructions to implement the above method.
[0018] According to another aspect of the present disclosure, there is also provided a computer-readable storage medium storing a computer program for executing the above method.
[0019] The technical solution provided by the embodiments of the present disclosure has the following advantages compared with the prior art:
[0020] The technical solution provided by the embodiments of the present disclosure includes: obtaining in real time the environmental information at the current target position of the vehicle and the focusing state of the driver's pupils; determining whether the focusing state of the pupils meets the target condition for turning on the vehicle's lights; if so, determining to turn on the vehicle's lights; when turning on the lights, adjusting the vehicle's lights according to the target position and environmental information.
[0021] Compared with the prior art of indirectly turning on the lights according to sunrise and sunset times and the surrounding light dimming, this solution determines to turn on the vehicle's lights based on the focusing state of the driver's pupils, which can directly associate the eyes with the light control and improve the accuracy of light turning-on control. Adjusting the vehicle's lights according to the target position and environmental information can take into account the objects in the surrounding environment, reduce the impact of the vehicle's line of sight on oncoming vehicles or pedestrians, clearly distinguish and discover obstacles, and avoid accidents caused by poor visibility in a dimly lit or unfamiliar environment. Moreover, during the above process of headlight adjustment, the data such as the target position and environmental information relied on are updated in real time, so that the light adjustment can effectively improve the timeliness and intelligence of the light adjustment. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure and, together with the specification, are used to explain the principles of the present disclosure.
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.
[0024] Figure 1 It is a flowchart of the method for adjusting the vehicle lights according to the embodiments of the present disclosure;
[0025] Figure 2 It is a schematic diagram of the adjustment process of the vehicle lights according to the embodiments of the present disclosure;
[0026] Figure 3 is a structural block diagram of the vehicle lighting adjustment device according to an embodiment of the present disclosure;
[0027] Figure 4 is a schematic structural diagram of the electronic device according to an embodiment of the present disclosure. Detailed implementation manners
[0028] In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, without conflict, the embodiments of the present disclosure and the features in the embodiments may be combined with each other.
[0029] Many specific details are set forth in the following description in order to fully understand the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, rather than all the embodiments.
[0030] In order to improve the intelligence and accuracy of vehicle lighting adjustment, an embodiment of the present disclosure provides a vehicle lighting adjustment method, device and vehicle.
[0031] Figure 1 is a flowchart of a vehicle lighting adjustment method provided by an embodiment of the present disclosure. This vehicle lighting adjustment method can be executed by a vehicle lighting adjustment device configured in a vehicle. The device can be implemented by software and / or hardware. Specifically, for example, an electronic device such as a body processor, an in-vehicle host, a tablet computer, a desktop computer, a laptop computer, and a smart phone in the vehicle that has communication functions and data processing capabilities. In this embodiment, taking the body processor in the vehicle as the execution subject as an example, the vehicle lighting adjustment method is described.
[0032] Referring to Figure 1 , the vehicle lighting adjustment method provided in this embodiment may include the following steps.
[0033] S102, obtain the environmental information at the current target position of the vehicle and the focusing state of the driver's pupils in real time. Among them, the environmental information includes, but is not limited to: weather information, ambient light, geographical environment information, and objects in the surrounding environment.
[0034] For the weather information, in this embodiment, when obtaining the weather information at the current target position of the vehicle in real time, in combination with Figure 2 as shown, the body processor can first send a positioning request instruction to the network service module in real time, and the network service module obtains the current target position of the vehicle according to the positioning request instruction; then obtains the weather information at the target position through the weather system, as shown below.
[0035] Obtain the reference positions collected by multiple positioning terminals for the vehicle in real time. Exemplarily, the positioning terminals may include: in-vehicle positioning devices of the vehicle itself, terminals with positioning functions such as mobile phones, tablets, and wearable devices (such as smart watches) used by the vehicle driver, and cloud servers that can provide positioning services, etc. By respectively positioning the vehicle in real time through the above multiple positioning terminals, the reference positions collected by each positioning device are obtained. The reference position is a position represented by longitude and latitude, with higher accuracy.
[0036] There may be differences between the reference positions collected by different positioning devices. Based on this, in order to improve the accuracy of positioning, this embodiment can determine a target position with higher accuracy based on multiple reference positions. The implementation methods are, for example:
[0037] Determine the average position among multiple reference positions as the target position where the vehicle is currently located; or, based on the position update frequency of each positioning terminal, determine the reference position corresponding to the highest position update frequency as the target position.
[0038] Specifically, use longitude and latitude to represent the reference positions, take the average value of the longitudes and latitudes corresponding to multiple reference positions, and determine the position represented by the average value of longitudes and latitudes as the target position where the vehicle is currently located. By averaging the reference positions, the accuracy of the target position can be improved.
[0039] It can be understood that the position update frequencies of different positioning devices are different, and the vehicle is moving in real time. Based on this, the higher the position update frequency, the closer it is to the current real-time position of the vehicle. Therefore, this embodiment can determine the reference position corresponding to the highest position update frequency as the target position where the vehicle is currently located, and the target position determined in this way has higher accuracy.
[0040] Next, the weather information at the target position can be obtained through the weather system. The weather obtained by the existing solutions is generally the weather of a certain area. However, the weather may vary greatly at different positions in the same area. For example, at the same time, the eastern area of a certain urban area is sunny, while the western area is rainy. At the same time, a vehicle in driving will cover a large spatial distance in a short time. Therefore, the weather of the currently larger-granularity area is not accurate in the vehicle driving scenario.
[0041] In contrast, the target position in this embodiment is a longitude and latitude position. Therefore, when obtaining weather information, the longitude and latitude position can be called to obtain the weather information of the longitude and latitude position with higher fineness; at the same time, the target position is updated in real time as the vehicle moves, and the weather information is closely related to the target position. Therefore, the weather information will also be updated in real time as the vehicle moves. Therefore, by obtaining the weather information at the target position represented by longitude and latitude in this embodiment, the accuracy and precision of the weather information can be improved.
[0042] As Figure 2 shown, in this embodiment, an environment collection instruction can be sent to environment collection devices such as a radar and a camera through an information collection module; the environment collection devices such as the radar and the camera collect the environment information around the vehicle in real time according to the environment collection instruction; the environment information can include, for example: environmental light, geographical environment information, and objects in the surrounding environment. Among them, the geographical environment information can represent the geographical environment related to the driving scene, such as tunnels, viaducts, highways, underground parking lots, urban roads, and rural paths. Different geographical environment information has different requirements for headlight adjustment. The objects in the surrounding environment can include all visible objects around the vehicle such as movable objects and immovable objects, such as obstacles, other vehicles, pedestrians, trees, road signs, and buildings.
[0043] It can be understood that the above process of obtaining the weather information at the current target position where the vehicle is located and the environment information around the vehicle in real time is a process that is continuously updated as the vehicle moves, so as to ensure the real-time and accuracy of the obtained data.
[0044] In this embodiment, it includes: obtaining the focusing state of the driver's pupils in the vehicle. For example, the focusing state of the driver's pupils can be determined through image recognition. Among them, the focusing state includes, for example: the number of focus times, the focusing duration, and the focusing area, etc.
[0045] Determining the focusing state of the driver's pupils through image recognition in this embodiment can include: collecting multiple eye images of the driver; tracking the pupils in the multiple eye images through image recognition, and recording the number of focus times, the focusing duration, and the pupil area of the pupils.
[0046] In specific implementation, a camera device is used to collect multiple eye images of the driver, track the pupil positions in the multiple eye images to obtain a pupil movement trajectory. Analyze the pupil movement trajectory to determine the focusing position of the pupil. Record the number of focus times and the focusing duration of the pupil at the focusing position to obtain the focusing state of the driver's pupils. And, identify the pupil edge curve in the eye image; determine the pupil area according to the average value of the areas surrounded by the pupil edge curves in each eye image.
[0047] S104, determine whether the focusing state of the pupil meets the target condition for turning on the vehicle's lights.
[0048] The pupil is the passage for light to enter the eye. The dilation and constriction of the pupil can control the amount of light entering the pupil. That is to say, the brightness or darkness of the driving environment can be accurately represented by the pupil state. Based on this, this embodiment can determine whether the target condition for performing the action of turning on the vehicle lights is met according to the number of focus times, the focusing duration, and / or the focusing area.
[0049] In one embodiment, the target conditions include, for example: satisfying at least one of the following: the number of focus times is greater than a preset number threshold, the focus duration is greater than a preset duration threshold, and the pupil area is greater than a preset area threshold. Correspondingly, step S104 may include:
[0050] Determine whether at least one of the following is satisfied: the number of focus times is greater than a preset number threshold, the focus duration is greater than a preset duration threshold, and the pupil area is greater than a preset area threshold.
[0051] If so, determine that the target condition for executing the vehicle's lighting is satisfied; in this case, perform the subsequent step S106 to turn on the vehicle's lighting.
[0052] If not, determine that the target condition for executing the vehicle's lighting is not satisfied. It can be understood that when the target condition for executing the vehicle's lighting is not satisfied, it will return to step S102 to continue to obtain the environmental information at the current target position of the vehicle and the focusing state of the driver's pupils in real time.
[0053] Exemplarily, if the number of focus times is greater than a preset number threshold, the focus duration is greater than a preset duration threshold, and / or the pupil area is greater than a preset area threshold, it means that in the current environment, it is difficult for the driver's eyes to quickly focus on and recognize objects; the reason may be that the ambient light is dim or the frequent changes in light and darkness caused by a complex environment. In this case, it can be determined that the target condition for turning on the vehicle's lighting is satisfied, and the vehicle's lighting is determined to be turned on. On the contrary, if the number of focus times is not greater than a preset number threshold, the focus duration is not greater than a preset duration threshold, and the pupil area is not greater than a preset area threshold, it means that in the current environment, the driver's eyes can quickly focus on and recognize objects, and there is no need to control the headlights to turn on at this time.
[0054] In the prior art, factors such as ambient light and surrounding objects are used as factors for lighting control, and its essence is to meet the visual needs of the driver's eyes. However, the above factors for lighting control are all indirect and can only reflect the visual needs of the driver's eyes to a certain extent. Based on this, in this embodiment, the eyes are directly associated with lighting control, that is, directly determine whether to turn on the vehicle's lighting according to the focusing state of the driver's eyes; this method can improve the accuracy of lighting turn-on control. In addition, this embodiment changes the existing function of simply turning on the lighting automatically according to sunrise and sunset times and the surrounding light getting darker. By using the pupil state, the lighting is not turned on when the eyes can still recognize, and the lighting is only turned on when the eyes cannot recognize. This method of using the pupil state to determine whether to turn on the lighting can adapt to general environments with dim light and complex environments with rapid changes in light and darkness, and improve the accuracy of controlling the headlights to turn on.
[0055] S106, turn on the vehicle's lights. In this embodiment, when it is determined that the focusing state of the pupil meets the target condition for turning on the vehicle's lights, the vehicle's lights are controlled to turn on.
[0056] S108, when the lights are turned on, adjust the vehicle's lights according to the target position and environmental information.
[0057] Considering that the environmental information will change greatly as the vehicle moves rapidly, in order to ensure the timeliness of the environmental information, in this embodiment, the environmental information can be screened according to preset conditions first; among them, the preset conditions include: the data delay time is less than a preset time threshold; specifically, from the initial environmental information, the environmental information with a data delay time less than the time threshold (such as 25 ms) is screened as valid and real data. Then, the vehicle's lights are adjusted according to the target position and the screened environmental information.
[0058] In one embodiment, adjusting the vehicle's lights according to the target position and environmental information may include:
[0059] (1) Determine the irradiation distance and irradiation angle of the lights according to the target position, geographical environment information, and objects in the surrounding environment.
[0060] In the embodiment, combined with Figure 2 , the vehicle body processor calculates and comprehensively judges based on the vehicle's target position, geographical environment information, and the positions of objects in the surrounding environment, and can also combine information such as the vehicle's speed and the speed of movable objects, to establish in real time the relative position between the vehicle and the objects in the surrounding environment and the angle of the vehicle under the geographical environment information, so as to determine the irradiation distance and irradiation angle of the lights according to the relative position between the vehicle and the objects and the angle of the vehicle.
[0061] In a specific example, the geographical environment information is, for example, the slope of the road, and the objects in the surrounding environment are, for example, oncoming vehicles (referred to as oncoming vehicles). In this case, after the oncoming vehicle is acquired, the position of the oncoming vehicle and the height at a specified position on the oncoming vehicle can be acquired through methods such as network, radar recognition, and / or image recognition. The height of the specified position generally refers to the height at which the lights will not affect the driver's eyes, such as the height of the lower edge of the front windshield.
[0062] Determine the geographical distance between the two vehicles according to the position of the oncoming vehicle and the target position of the vehicle itself; based on the geographical distance, adjust the geographical distance according to the slope of the road and the height at the specified position of the oncoming vehicle to obtain the irradiation distance from the target position of the vehicle to the specified position of the oncoming vehicle.
[0063] Subsequently, according to the irradiation distance and the height of the vehicle's own headlights, the irradiation angle of the light is determined. Among them, the headlights on the vehicle are usually connected to a motor, and the motor controls the rotation of the headlights through a rotating shaft to adjust the irradiation angle.
[0064] (2) Determine the light intensity of the light according to the irradiation distance, weather information, and ambient light.
[0065] In this embodiment, the vehicle body processor performs calculation processing and comprehensive judgment based on the weather information and ambient light to determine the initial light intensity of the light; then adjusts the initial light intensity according to the distance of the irradiation distance, obtaining the final light intensity; for example, if the irradiation distance is greater than the preset reference distance, the intensity of the initial light intensity is increased; if the irradiation distance is less than the preset reference distance, the intensity of the initial light intensity is decreased. When determining the illumination intensity in this embodiment, by considering the weather information and ambient light, the light intensity can be made suitable for the current external comprehensive light, and by considering the distance of the irradiation distance, the consistency of the light intensity at different irradiation distances can be ensured, avoiding the problem that the farther the irradiation distance, the weaker the light.
[0066] (3) Adjust the vehicle's lights according to the irradiation distance, irradiation angle, and light intensity.
[0067] Specifically, the vehicle body processor can send the light irradiation distance, irradiation angle, and light intensity as light control parameters to the light control module, and the light control module adjusts the vehicle's lights according to the above light control parameters.
[0068] In the above embodiment, adjusting the irradiation distance and irradiation angle of the light according to the target position, geographical environment information, and objects in the surrounding environment can take into account the objects in the surrounding environment and reduce the impact on the line of sight of oncoming vehicles or pedestrians. Adjusting the light intensity of the light according to the weather information and ambient light can better achieve precise control of the light brightness, clearly distinguish and discover obstacles, and avoid accidents caused by unclear road conditions in a dark and unfamiliar environment. During the above process of adjusting the vehicle lights, the data such as the target position, weather information, and environmental information relied on are all updated in real time. Therefore, adjusting the lights can effectively avoid untimely adjustment of vehicle lights and improve the intelligence and timeliness of light adjustment. Moreover, by adjusting the irradiation distance, irradiation angle, and light intensity of the light, the light can be flexibly adjusted according to different heights, different angles, and different brightness levels, better restoring and realizing the driving line-of-sight texture during the day.
[0069] On the basis of the above embodiments, after adjusting the vehicle's lights according to the target position, weather information, and environmental information, this embodiment can further correct the above light adjustment result. Based on this, the method provided in this embodiment can also include the following content.
[0070] Determine the pupil characteristics of the driver through image recognition; wherein, the pupil characteristics include: pupil area and the focusing position of the pupil.
[0071] The method for recognizing the pupil area in this embodiment may be the same as that in the foregoing embodiment, or alternatively, the following embodiment may be adopted to determine the pupil area and the focusing position of the pupil of the driver.
[0072] Exemplarily, the left eye image and the right eye image of the driver may be collected; the left pupil edge curve may be recognized from the left eye image; the right pupil edge curve may be recognized from the right eye image; the pupil area may be determined according to the left pupil edge curve and the right pupil edge curve; the pupil area is, for example, the average value of the area enclosed by the left pupil edge curve and the area enclosed by the right pupil edge curve. The focusing position of the pupil is determined according to the central position of the left pupil edge curve and the central position of the right pupil edge curve.
[0073] Modify the illumination intensity after light adjustment according to the pupil area.
[0074] Specifically, if the pupil area is smaller than a preset first area threshold, it indicates that the illumination intensity of the current environment is relatively large, and the illumination intensity may be appropriately reduced. Thus, the current illumination intensity is reduced according to a preset intensity correction value. If the pupil area is larger than a preset second area threshold, it indicates that the illumination intensity of the current environment is relatively small, and the illumination intensity may be appropriately increased. Thus, the current illumination intensity is increased according to a preset intensity correction value.
[0075] Analyze the direction of the driver's line of sight indicated by the focusing position; modify the irradiation angle after light adjustment according to the direction of the line of sight.
[0076] Specifically, it may be compared whether the deviation between the direction of the line of sight and the irradiation angle after light adjustment is within a preset deviation range; if not, the irradiation angle after the initial light adjustment is modified based on the direction of the line of sight, so that the new irradiation angle after modification is close to the direction of the line of sight.
[0077] Finally, adjust the vehicle's lights based on the modified illumination intensity and the modified irradiation angle.
[0078] Based on the preliminary adjustment of the vehicle's lights according to the target position, weather information, and environmental information, this embodiment further considers the pupil characteristics of the driver to correct the lights, which can improve the accuracy of light control.
[0079] Currently, many vehicles on the market are new energy vehicles. For new energy vehicles, their battery power is very important for vehicle operation. Based on this, this embodiment may provide the following method.
[0080] Obtain the remaining battery power of the vehicle and the lighting energy consumption generated by the vehicle's headlights; adjust the vehicle's headlights according to the remaining battery power and the lighting energy consumption.
[0081] In a specific embodiment, if the remaining battery power is greater than the first power value, and the lighting energy consumption generated by the headlights is less than the preset first energy consumption value, it means that the battery has enough power for use, and the headlights do not need to use the energy-saving mode. Therefore, the headlights of the vehicle are adjusted to increase energy consumption. Specifically, for example, the lighting intensity of a single light bead in the headlights is increased, and / or more light beads in the headlights are turned on for lighting.
[0082] If the remaining battery power is less than the second power value, and the lighting energy consumption generated by the headlights is greater than the preset second energy consumption value, it means that the battery power is low. To ensure the normal use of other more important functions, the headlights need to enter the energy-saving mode to reduce energy consumption. Therefore, the headlights of the vehicle are adjusted to reduce energy consumption. Specifically, for example, the lighting intensity of a single light bead in the headlights is reduced, and / or some light beads in the headlights are turned off.
[0083] This embodiment adjusts the vehicle's headlights according to the remaining battery power and the lighting energy consumption, which can make the lighting adjustment more adaptable to the running state of the vehicle and improve the intelligence of the lighting adjustment.
[0084] Based on the above embodiments, in order to achieve lighting adjustment faster in practical applications, this embodiment can also perform self-learning of lighting adjustment. Based on this, this embodiment provides a self-learning method for lighting adjustment, including:
[0085] Obtain historical parameters and historical lighting adjustment results; among them, historical parameters: historical position and historical environmental information; historical parameters are used as input values for self-learning, and historical lighting adjustment results are used as self-learning values for self-learning.
[0086] Based on the historical parameters and historical lighting adjustment results, perform self-learning on the lighting adjustment.
[0087] In a specific implementation manner, a self-learning model for lighting adjustment can be obtained. The historical parameters are used as input values of the self-learning model, and the historical lighting adjustment results are used as self-learning values (also called labels) of the self-learning model.
[0088] The self-learning model performs self-learning according to the input value to obtain the current self-learning value representing the lighting adjustment result; determine the deviation value between the current self-learning value and the self-learning value representing the historical lighting adjustment result; train the self-learning model according to the deviation value so that the self-learning model performs self-learning of lighting adjustment.
[0089] This embodiment does not require manual and vehicle to perform lighting adjustment each time. It uses a large amount of historical data (i.e., historical parameters and historical lighting adjustment results) for self-learning of lighting adjustment, enabling the vehicle's lights to directly determine the surrounding environment and adjust parameters such as brightness, angle, and height, and automatically execute lighting adjustment, effectively improving the lighting adjustment efficiency.
[0090] In summary, the method for adjusting vehicle lights provided by the embodiments of the present disclosure includes: obtaining in real time the environmental information at the target position where the vehicle is currently located and the focusing state of the driver's pupils; determining whether the focusing state of the pupils meets the target condition for turning on the vehicle's lights; if it meets, determining to turn on the vehicle's lights; when turning on the lights, adjusting the vehicle's lights according to the target position and environmental information.
[0091] Compared with the existing indirect method of turning on the lights according to sunrise and sunset times and the surrounding light dimming, this solution determines to turn on the vehicle's lights according to the focusing state of the driver's pupils, which can directly associate the eyes with the lighting control and improve the accuracy of lighting turn-on control. Adjusting the vehicle's lights according to the target position and environmental information can take into account the objects in the surrounding environment, reduce the impact of the vehicle's line of sight on oncoming vehicles or pedestrians, clearly distinguish and discover obstacles, and avoid accidents caused by dim lights and unclear road conditions in unfamiliar environments. Moreover, during the above process of vehicle headlight adjustment, the data such as the target position and environmental information relied on are updated in real time, so lighting adjustment can effectively improve the timeliness and intelligence of lighting adjustment.
[0092] Figure 3 It is a schematic structural diagram of an adjustment device for vehicle lights provided by the embodiments of the present disclosure. This adjustment device for vehicle lights can be used to execute the method for adjusting vehicle lights. Refer to Figure 3 , the adjustment device for vehicle lights includes the following modules.
[0093] An information acquisition module 210, configured to obtain in real time the environmental information at the target position where the vehicle is currently located and the focusing state of the driver's pupils;
[0094] A condition judgment module 220, configured to determine whether the focusing state of the pupils meets the target condition for turning on the vehicle's lights;
[0095] A lighting turn-on module 230, configured to determine to turn on the vehicle's lights when the focusing state of the pupils meets the target condition for turning on the vehicle's lights;
[0096] A lighting adjustment module 240, configured to adjust the vehicle's lights according to the target position and the environmental information when turning on the lights.
[0097] The device provided in this embodiment has the same implementation principle and technical effects as those in the foregoing method embodiment. For the sake of brief description, for the parts not mentioned in the device embodiment, reference may be made to the corresponding content in the foregoing method embodiment.
[0098] An embodiment of the present disclosure provides a vehicle, which includes the adjusting device for vehicle lights as described in the above embodiments.
[0099] Figure 4 It is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. As Figure 4 shown, the electronic device 300 includes one or more processors 301 and a memory 302.
[0100] The processor 301 may be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 300 to perform desired functions.
[0101] The memory 302 may include one or more computer program products, and the computer program products may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory, etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 301 may run the program instructions to implement the method for adjusting vehicle lights in the embodiments of the present disclosure described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.
[0102] In one example, the electronic device 300 may further include: an input device 303 and an output device 304, and these components are interconnected through a bus system and / or other forms of connection mechanisms (not shown).
[0103] In addition, the input device 303 may further include, for example, a keyboard, a mouse, and so on.
[0104] The output device 304 may output various information to the outside, including the determined distance information, direction information, etc. The output device 304 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, and so on.
[0105] Of course, for simplicity, Figure 4Only some of the components of the electronic device 300 related to the present disclosure are shown, and components such as buses, input / output interfaces, etc. are omitted. In addition, according to specific application scenarios, the electronic device 300 may further include any other appropriate components.
[0106] Furthermore, the present embodiment also provides a computer-readable storage medium storing a computer program for executing the above vehicle lighting adjustment method.
[0107] A computer program product of a vehicle lighting adjustment method, device, electronic device, and medium provided by an embodiment of the present disclosure includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the method described in the foregoing method embodiments. For specific implementation, reference can be made to the method embodiments, which will not be elaborated herein.
[0108] It should be noted that in this document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an 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 said element.
[0109] The above are only specific embodiments of the present disclosure, enabling those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments described herein, but will conform to the broadest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for adjusting vehicle lighting, characterized in that: include: Real-time acquisition of the environmental information of the vehicle's current target location and the focusing state of the driver's pupils; Determining whether the focusing state of the pupil satisfies a target condition for turning on the lights of the vehicle; If satisfied, turning on the lights of the vehicle; When the light is turned on, the light of the vehicle is adjusted according to the target position and the environmental information.
2. The method according to claim 1, characterized in that The process of determining the target position includes: Obtain the reference position of the vehicle collected by multiple positioning terminals in real time; The average position of the multiple reference positions is determined as the target position where the vehicle is currently located; or, based on the position update frequency of each positioning terminal, the reference position corresponding to the highest position update frequency is used to determine the target position.
3. The method according to claim 1, characterized in that The adjusting the lighting of the vehicle according to the target position and the environmental information includes: The environmental information is screened according to preset conditions; wherein the preset conditions include: the data delay time is less than a preset time threshold; The lighting of the vehicle is adjusted according to the target position and the filtered environmental information.
4. The method according to claim 1 or 3, characterized in that: The environmental information at least includes: weather information, ambient light, geographical environment information and objects in the surrounding environment; the adjusting the vehicle lighting according to the target location and the environmental information includes: Determine the illumination distance and illumination angle of the light according to the target location, geographical environment information and objects in the surrounding environment; Determine the illumination intensity of the light according to the illumination distance, the weather information and the ambient light; The light of the vehicle is adjusted according to the illumination distance, the illumination angle and the illumination intensity.
5. The method according to claim 1, characterized in that The focusing state includes: focusing times, focusing duration and pupil area; the real-time acquisition of the focusing state of the pupil of the driver in the vehicle includes: Collect multiple eye images of the driver; The pupils in the plurality of eye images are tracked by image recognition, and the number of focusing times, focusing duration and pupil area of the pupil are recorded.
6. The method according to claim 5, characterized in that The determining whether the focusing state of the pupil satisfies the target condition for turning on the lights of the vehicle includes: Determine whether at least one of the following is satisfied: the number of focusing times is greater than a preset number threshold, the focusing duration is greater than a preset duration threshold, and the pupil area is greater than a preset area threshold; If yes, determining that the target condition for turning on the lights of the vehicle is satisfied; If not, it is determined that the target condition for executing turning on the lights of the vehicle is not satisfied.
7. The method according to claim 1 or 5, characterized in that: The method further comprises: Determining the driver's pupil features through image recognition; wherein the pupil features include: pupil area and pupil focal position; Correcting the light intensity after light adjustment according to the pupil area; Analyzing the driver's sight direction indicated by the focus position; Correcting the illumination angle of the light after adjustment according to the sight line focus direction; The vehicle light is adjusted based on the corrected light intensity and the corrected illumination angle.
8. The method according to claim 1, characterized in that The method further comprises: Obtain historical parameters and historical lighting adjustment results; wherein the historical parameters include historical location and historical environment information; the historical parameters are used as input values for self-learning, and the historical lighting adjustment results are used as self-learning values for self-learning; Based on the historical parameters and the historical lighting adjustment results, self-learning of lighting adjustment is performed.
9. A vehicle light adjustment device, characterized in that: include: An information acquisition module, used to acquire the environmental information of the current target position of the vehicle and the focusing state of the driver's pupil in real time; A condition judgment module, used to judge whether the focusing state of the pupil meets the target condition for turning on the lights of the vehicle; A light turning-on module, configured to determine to turn on the light of the vehicle when the focusing state of the pupil satisfies the target condition for turning on the light of the vehicle; The light adjustment module is used to adjust the light of the vehicle according to the target position and the environmental information when the light is turned on.
10. A vehicle, characterized in that: The vehicle comprises: the vehicle light adjustment device as described in claim 9 above.