Ambience light control method, device, vehicle and readable storage medium
By detecting the driver's gaze position and facial expressions, and using wearable devices and in-vehicle cameras to collect information, the ambient lighting's working mode is automatically controlled. This solves the problem of ambient lighting's inability to be automatically controlled, enabling ambient lighting displays that respond to emotional cues, thus improving user experience and driving safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD
- Filing Date
- 2023-08-04
- Publication Date
- 2026-06-12
AI Technical Summary
In existing technologies, ambient lighting control cannot be automated, and it cannot meet the needs of automated response and adjustment of user emotions.
By detecting the driver's gaze position and facial expressions, the system identifies the driver's state and emotions. Using wearable devices and in-vehicle cameras to collect information, it automatically controls the working mode of the ambient lighting to present corresponding display effects, including linking seat vibration and alarm sounds.
It achieves automated control of ambient lighting, adjusting the display effect of ambient lighting according to the driver's mood, thereby improving user experience and driving safety.
Smart Images

Figure CN116923243B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle control technology, and in particular to a method, device, vehicle, and readable storage medium for controlling ambient lighting. Background Technology
[0002] In this technology, the ambient lighting is manually activated by the vehicle's occupants, displaying a predetermined pattern to create an ambiance. However, this manual activation method cannot meet the need for automated ambient lighting control. Summary of the Invention
[0003] This application provides a control method, device, vehicle, and readable storage medium for ambient lighting, meeting the needs of automated control of ambient lighting.
[0004] This application provides a method for controlling ambient lighting, including:
[0005] Detect the driver's gaze position inside the vehicle;
[0006] The driver's state is obtained based on the gaze position;
[0007] Recognize the facial expressions of the driver inside the vehicle to obtain the driver's emotions.
[0008] In response to the driver's state and the user's emotion, the ambient lighting inside the vehicle is controlled to operate in a mode corresponding to the user's emotion.
[0009] Furthermore, the detection of the driver's gaze position inside the vehicle includes:
[0010] Acquire the driver's eye movement information captured by the binocular camera on the wearable glasses;
[0011] Based on the eye movement information, eye tracking is performed on the driver's eyes to obtain the driver's gaze position inside the vehicle;
[0012] The process of recognizing the facial expressions of the driver inside the vehicle to obtain the driver's user emotions includes:
[0013] The driver's facial information inside the vehicle is acquired by the driver monitoring system (OMS) camera on the wearable glasses; the OMS camera is positioned directly opposite the binocular camera.
[0014] The facial expressions of the driver inside the vehicle are identified by recognizing the facial information.
[0015] Furthermore, the driver's state is fatigued; the user's emotion is fatigued.
[0016] The step of controlling the ambient lighting in the vehicle to operate in a mode corresponding to the user's mood in response to the driver's state and the user's emotion includes:
[0017] In response to fatigue state and fatigued mood, a first working mode for displaying warning colors is determined based on the preset correspondence between user emotions and in-vehicle ambient lighting.
[0018] Control the ambient lighting inside the vehicle to the first working mode.
[0019] Furthermore, the method also includes:
[0020] The system triggers seat vibrations and generates an alarm sound.
[0021] Furthermore, the driver's state is a normal state; the user's emotion is a positive emotion.
[0022] The step of controlling the ambient lighting in the vehicle to operate in a mode corresponding to the user's mood in response to the driver's state and the user's emotion includes:
[0023] In response to normal conditions and positive user emotions, a second working mode for presenting a soothing color is determined from the preset correspondence between user emotions and the working mode of the ambient lighting in the vehicle.
[0024] Control the ambient lighting inside the vehicle to the second operating mode.
[0025] Furthermore, the driver's state is a normal state; the user's emotion is a negative emotion.
[0026] The step of controlling the ambient lighting in the vehicle to operate in a mode corresponding to the user's mood in response to the driver's state and the user's emotion includes:
[0027] In response to normal conditions and negative user emotions, a third working mode is determined from the preset correspondence between user emotions and the working mode of the in-vehicle ambient lighting to present a color that evokes the emotion, corresponding to the user's positive emotions.
[0028] Control the ambient lighting inside the vehicle to the third operating mode.
[0029] Furthermore, obtaining the driver's state based on the gaze position includes:
[0030] Acquire the driver's eye information captured by the in-vehicle OMS camera;
[0031] Based on the eye information, determine the degree of eye opening / closing;
[0032] When the eye opening reaches a predetermined fatigue opening and the gaze position deviates from the vehicle exterior by a preset threshold, the driver's state is determined to be fatigued.
[0033] If the eye opening does not reach the fatigue-predetermined opening or the gaze position is outside the vehicle, the driver's state is determined to be normal.
[0034] This application provides a control device for an ambient light, comprising:
[0035] A gaze position detection module is used to detect the driver's gaze position inside the vehicle;
[0036] The driver status acquisition module is used to acquire the driver status based on the gaze position;
[0037] The user emotion recognition module is used to recognize the facial expressions of the driver inside the vehicle and obtain the user emotion of the driver inside the vehicle.
[0038] The response control module is used to respond to the driver's state and the user's emotion, and control the ambient lighting in the vehicle to be in a working mode corresponding to the user's emotion.
[0039] This application provides a vehicle including one or more processors for implementing the method described in any of the preceding claims.
[0040] This application provides a computer-readable storage medium having a program stored thereon that, when executed by a processor, implements the method described in any of the preceding claims.
[0041] In some embodiments, the ambient lighting control method of this application detects the driver's gaze position inside the vehicle; obtains the driver's state based on the gaze position; recognizes the driver's facial expressions to obtain the driver's user emotion; and controls the ambient lighting in the vehicle to operate in a mode corresponding to the user's emotion in response to the driver's state and user emotion. Thus, by controlling the ambient lighting to operate in a mode corresponding to the user's emotion, a display effect that adjusts the driver's mood is achieved. In this way, by responding to the driver's emotions, the ambient lighting is automatically controlled, thereby meeting the need for automated ambient lighting control. Attached Figure Description
[0042] Figure 1 The diagram shown is a flowchart illustrating the ambient light control method provided in an embodiment of this application.
[0043] Figure 2 As shown Figure 1 The flowchart of steps 110 and 130 in the ambient light control method shown;
[0044] Figure 3 The diagram shown is a structural schematic of the ambient light control device provided in an embodiment of this application;
[0045] Figure 4 The diagram shown is a block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0046] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with one or more embodiments of this specification. Rather, they are merely examples of apparatuses and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.
[0047] It should be noted that the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification in other embodiments. In some other embodiments, the methods may include more or fewer steps than described in this specification. Furthermore, a single step described in this specification may be broken down into multiple steps in other embodiments; and multiple steps described in this specification may be combined into a single step in other embodiments.
[0048] To address the technical problem that manual control of ambient lighting cannot meet the needs of automated control, this application provides an ambient lighting control method, including detecting the driver's gaze position inside the vehicle; obtaining the driver's state based on the gaze position; recognizing the driver's facial expressions to obtain the driver's user emotion; and controlling the ambient lighting in the vehicle to operate in a mode corresponding to the user's emotion in response to the driver's state and user emotion.
[0049] In this embodiment, the ambient lighting inside the vehicle is controlled to present a display effect that adjusts the driver's mood based on the user's emotions. Thus, by responding to the driver's emotions, the ambient lighting is automatically controlled, thereby meeting the needs of automated ambient lighting control and improving the user experience.
[0050] The ambient lighting control method of this application embodiment is applied to a vehicle. The vehicle includes one or more of wearable devices, electronic devices, and image acquisition devices.
[0051] The electronic devices include processors or controllers. The processor can be used to control the entire vehicle. For example, the controller can be, but is not limited to, a center console.
[0052] Image acquisition devices are used to collect images containing user-related information. These devices may include, but are not limited to, OMS (Driver Monitoring System) cameras. For example, image acquisition devices may include, but are not limited to, cameras installed in a vehicle and / or cameras in wearable devices.
[0053] In some embodiments, the wearable device is, for example, glasses and does not include a processor. The processor is an in-vehicle processor. The in-vehicle processor is connected to the wearable device and is used to acquire signals transmitted by the wearable device and transmit data to the wearable device. While the user is wearing the wearable device, the wearable device converts the acquired data into electrical signals and transmits them to the processor. The processor then transmits the resulting control signals to the wearable device, and the user can observe the content generated by the control signals by wearing the wearable device. Thus, by combining the wearable device and the in-vehicle processor, the ambient light control method of this application embodiment is realized.
[0054] In other embodiments, the wearable device is, for example, eyeglasses. The eyeglasses include a processor and a camera. The camera includes a binocular camera and an OMS camera, and the processor can execute the ambient light control method of this application. The processor can be embedded inside the eyeglasses, providing a degree of portability. Thus, one or more processors of this application are used to implement the ambient light control method of the embodiments of this application.
[0055] Figure 1 The diagram shown is a flowchart illustrating the ambient light control method provided in an embodiment of this application.
[0056] like Figure 1 As shown, the control method for this ambient light includes the following steps 110 to 140:
[0057] Step 110: Detect the driver's gaze position inside the vehicle.
[0058] Gaze position is used to determine whether the driver is looking at the ground outside the vehicle or at the road conditions ahead, thus assessing the driver's condition. When the driver is looking at the ground outside the vehicle or at the road conditions ahead, it indicates that the driver's driving condition is likely normal. When the driver is not looking at the ground outside the vehicle or at the road conditions ahead, such as by looking down, squinting, or closing their eyes, it indicates that the driver's driving condition may be abnormal.
[0059] Step 120: Obtain the driver's status based on the gaze position.
[0060] Driver status is used to reflect whether the driver's driving condition is normal. Driving status is divided into normal driving status and abnormal driving status. Abnormal driving status is such as fatigued driving status. Fatigued driving status refers to a driver's state where they are not paying attention to the ground outside the vehicle or the road conditions ahead, and the opening and closing of their eyes reaches a preset threshold for fatigue. This can accurately determine the driver's status.
[0061] Step 120 above can be implemented through the following various embodiments:
[0062] In some embodiments of step 120 above, (1) the driver's eye information is acquired from the in-vehicle OMS camera. (2) The eye opening degree is determined based on the eye information. (3) If the eye opening degree reaches the fatigue predetermined opening degree and the gaze position deviates from the outside of the vehicle by a preset threshold, the driver's state is determined to be fatigued. (4) If the eye opening degree does not reach the fatigue predetermined opening degree or the gaze position is outside the vehicle, the driver's state is determined to be normal. The above-mentioned normal state is also used to reflect the driver's non-fatigue driving state.
[0063] The aforementioned fatigue state is used to reflect fatigued driving. The predetermined eye opening degree during fatigue is less than a predetermined percentage of the initial eye opening degree. This can improve the accuracy of driver condition assessment.
[0064] A preset threshold is used to reflect the driver's current continuous state. The preset threshold can be, but is not limited to, a preset duration and / or a preset frequency. The preset duration can be set according to user needs. For example, the preset threshold may be less than 3 seconds. For instance, the preset threshold could be 1 second, 2 seconds, or 3 seconds. The preset frequency can be set according to user needs. For example, the preset frequency may be greater than 3 times per unit time. For instance, the preset frequency could be 3 times, 4 seconds, or 5 seconds per minute, or even more positive integer seconds.
[0065] In this embodiment of the application, the driver's state is not misjudged as fatigued due to brief blinks or brief visual deviations, thus improving the accuracy of driver state determination.
[0066] In some embodiments of step 120 above, the driver's fatigue state is determined solely by the degree of eye opening or solely by observing the road conditions ahead of the vehicle from the perspective of the gaze position. Examples will not be provided here.
[0067] Step 130: Recognize the facial expressions of the driver inside the vehicle to obtain the driver's emotions.
[0068] Step 140: In response to the driver's state and the user's emotions, control the ambient lighting inside the vehicle to a working mode corresponding to the user's emotions. This working mode displays effects designed to adjust the driver's mood.
[0069] In this embodiment, the ambient lighting inside the vehicle is controlled to display an effect that adjusts the driver's mood based on the user's emotions. Thus, the ambient lighting is automatically controlled to respond to the driver's emotions, thereby improving the user experience. Furthermore, by visually displaying the driver's emotions when other passengers are present, other passengers can also perceive the driver's emotions and choose appropriate actions.
[0070] Figure 2 As shown Figure 1 The flowchart illustrates steps 110 and 130 of the ambient light control method shown. Step 110 may further include steps 111 and 112; step 130 may further include steps 131 and 132.
[0071] Combination Figure 1 ,like Figure 2 As shown, in step 111, the driver's eye movement information is acquired by the binocular camera on the wearable glasses.
[0072] The aforementioned eye movement information parameters include one or more of the following: average pupil diameter, pupil dilation velocity, first fixation time, fixation duration, and total number of fixations. These data are proportional to the fixation position, allowing for eye tracking of the driver's eyes to determine their fixation position within the vehicle.
[0073] Step 111 uses wearable glasses to track the eyeballs, thereby determining eye movement information.
[0074] Step 112: Based on eye movement information, perform eye tracking on the driver's eyes to obtain the driver's gaze position inside the vehicle.
[0075] Step 131: Obtain the facial information of the driver inside the vehicle captured by the OMS camera on the wearable glasses; the OMS camera and the binocular camera are set facing each other.
[0076] Step 132: Recognize facial expressions to obtain the driver's emotions inside the vehicle.
[0077] In this embodiment, the OMS camera of the wearable glasses can work in conjunction with the binocular camera of the wearable glasses for eye tracking. Eye tracking detects the driver's gaze position, while the OMS camera detects the driver's driving state and facial expressions. Analyzing the driver's gaze position and driving state helps determine their facial emotions. Since both the OMS camera and the binocular camera of the wearable glasses move with the head, they can promptly capture the user's emotions, improving the timeliness of ambient lighting control.
[0078] continue Figure 1 and Figure 2 As shown, the driver is in a fatigued state; the user's emotion is fatigued. Step 140 above has several embodiments:
[0079] In one embodiment of step 140 above, in response to fatigue state and fatigued mood, a first operating mode for displaying a warning color corresponding to the fatigued mood is determined from a preset correspondence between the user's mood and the ambient lighting in the vehicle. The ambient lighting is then controlled to be in the first operating mode. Thus, the driver and other people are alerted by the first operating mode displaying the warning color. In other embodiments, in response to fatigue state and fatigued mood, a first operating mode for displaying a warning color corresponding to the fatigued state and fatigued mood is determined from a preset correspondence between the user's mood and the ambient lighting in the vehicle. The ambient lighting is then controlled to be in the first operating mode. By pre-establishing a preset correspondence between fatigue state and fatigued mood and the operating mode of the ambient lighting in the vehicle, the timeliness of subsequent ambient lighting control can be improved.
[0080] The warning color is used to provide a warning. The warning color can be, but is not limited to, red. Of course, red can be one or more of bright red and watermelon red.
[0081] The preset correspondence between user emotions and in-car ambient lighting is used to reflect the corresponding colors of the ambient lighting, so as to match the driver's emotions.
[0082] The above methods also include: linking seat vibrations to generate an alarm sound. This allows for more timely alerts to the driver through seat vibration and an alarm sound.
[0083] The first embodiment of step 140 above and the embodiment of linking the seat vibration and controlling the generation of an alarm sound above can be implemented in combination or separately, and will not be described in detail here.
[0084] The following are examples of applications of the embodiments of this application:
[0085] When the driver is determined to be fatigued, the ambient lighting inside the vehicle will turn red. Bright red ambient lighting is a driver fatigue warning light.
[0086] In the second embodiment of step 140 above, the driver's state is normal; the user's emotion is positive. In response to the normal state and the user's positive emotion, a second operating mode corresponding to the user's positive emotion and displaying a soothing color is determined from a preset correspondence between the user's emotion and the operating mode of the ambient lighting. The ambient lighting is then controlled to operate in the second operating mode. This allows the driver and other passengers to be alerted by displaying a soothing color in the second operating mode. By establishing a preset correspondence between the user's positive emotion and the operating mode of the ambient lighting, the timeliness of subsequent ambient lighting control can be improved.
[0087] Soothing colors are used to achieve a calming effect. Examples of soothing colors include blue, green, purple, and / or pink.
[0088] The above-mentioned positive user emotions are used to indicate that the user is in a good mood. Positive user emotions can include, but are not limited to, one or more of the following: enthusiasm, pleasure, excitement, entertainment, inspiration, activity, focus, happiness, relaxation, joy, and reassurance.
[0089] The second and third working modes mentioned above can also present a breathing rhythm effect.
[0090] The following are examples of applications of the embodiments of this application:
[0091] The system detects that the user is fully focused on driving, and eye tracking indicates that the user's eyes are fixed on the ground outside the vehicle. Furthermore, the user's positive emotion is a pleasant mood, so the ambient lighting inside the vehicle changes to a flowing green light to soothe the user's emotions.
[0092] In the third embodiment of step 140 above, the driver's state is normal; the user's emotion is negative; in response to the normal state and the user's negative emotion, a third working mode corresponding to the user's positive emotion and used to display an emotion-evoking color is determined from a preset correspondence between the user's emotion and the working mode of the ambient lighting. The ambient lighting is then controlled to be in the third working mode. By establishing a preset correspondence between the user's negative emotion and the working mode of the ambient lighting, the timeliness of subsequent ambient lighting control can be improved.
[0093] The established pre-defined correspondences include a direct correspondence between user emotions and the operating modes of the ambient lighting in the vehicle. This direct correspondence includes one or more of the following: a pre-defined correspondence between negative user emotions and the operating modes of the ambient lighting; a pre-defined correspondence between positive user emotions and the operating modes of the ambient lighting; a pre-defined correspondence between fatigue and the operating modes of the ambient lighting. In this way, the required pre-defined correspondences are obtained by iterating through all user emotions.
[0094] Of course, the established pre-defined correspondences include pre-classified user emotions into negative, positive, and fatigued emotions, and each of these pre-classified emotions corresponds to a pre-defined working mode of the in-car ambient lighting. In this way, the required pre-defined correspondences can be quickly obtained from each of the pre-classified user emotions.
[0095] Among them, emotionally evocative colors are used to evoke emotions. For example, an emotionally evocative color is orange.
[0096] The above negative user emotions are used to indicate that the user is in a poor emotional state. Negative user emotions may include, but are not limited to, one or more of the following: irritability, sadness, sorrow, anxiety, fear, anger, pain, tension, and hatred.
[0097] The following are examples of applications of the embodiments of this application:
[0098] The system detected that the user was in a bad mood, and eye tracking showed that the user did not look at the road outside the car for 3 seconds within one minute. The ambient light turned orange and flowed in order to evoke the user's emotions.
[0099] In the fourth embodiment of step 140 above, ① in response to the driver's state and the user's emotions, it is determined that the user's emotions have changed from the previous moment; ② based on the preset switching relationship between the ambient lighting modes corresponding to the user's negative emotions and the ambient lighting modes corresponding to the user's positive emotions, a switching mode associated with the user's current emotion switching is determined. After the ambient lighting is in the second working mode, the method further includes ③ recognizing the driver's facial expression as a dissatisfied expression, and switching the default color of the second working mode to the next preset color of the default color. In this way, the ambient lighting can be automatically adjusted by combining the driver's facial expression feedback to the current ambient lighting, thereby improving the autonomy of ambient lighting adjustment.
[0100] Figure 3 The diagram shown is a structural schematic of the ambient light control device provided in an embodiment of this application.
[0101] like Figure 3 As shown, the control device for this ambient light includes the following modules:
[0102] The gaze position detection module 31 is used to detect the gaze position of the driver inside the vehicle.
[0103] The driver status acquisition module 32 is used to acquire the driver status based on the gaze position;
[0104] The user emotion recognition module 33 is used to recognize the facial expressions of the driver inside the vehicle and obtain the user emotions of the driver inside the vehicle.
[0105] The response control module 34 is used to respond to the driver's state and the user's emotions, and control the ambient lighting in the vehicle to be in a working mode corresponding to the user's emotions; the working mode presents a display effect to adjust the driver's emotions.
[0106] The specific implementation process of the functions and roles of each module / submodule / unit in the above device can be found in the implementation process of the corresponding steps in the above method, which can achieve the same technical effect, and will not be repeated here.
[0107] Figure 4 The diagram shown is a block diagram of the electronic device 40 provided in an embodiment of this application.
[0108] like Figure 4 As shown, the electronic device 40 includes one or more processors 41 for implementing the ambient light control method described above.
[0109] In some embodiments, the electronic device 40 may include a computer-readable storage medium 49, which may store a program that can be invoked by a processor 41, and may include a non-volatile storage medium. In some embodiments, the electronic device 40 may include memory 48 and an interface 47. In some embodiments, the electronic device 40 may also include other hardware depending on the specific application.
[0110] The computer-readable storage medium 49 of this application embodiment stores a program that, when executed by the processor 41, is used to implement the ambient light control method described above.
[0111] This application may take the form of a computer program product implemented on one or more computer-readable storage media 49 (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing program code. The computer-readable storage media 49 includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented using any method or technology. The information may be computer-readable instructions, data structures, program modules, or other data. Examples of computer-readable storage media 49 include, but are not limited to: phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0112] The above description is merely a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.
[0113] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Without further limitation, an element qualified by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
Claims
1. A method for controlling ambient lighting, characterized in that, include: Detect the driver's gaze position inside the vehicle; The driver's state is obtained based on the gaze position; Recognize the facial expressions of the driver inside the vehicle to obtain the driver's emotions. In response to the driver's state and the user's emotion, the ambient lighting inside the vehicle is controlled to be in a working mode corresponding to the user's emotion. The driver's state is described as normal; the user's emotion is described as positive. The step of controlling the ambient lighting in the vehicle to operate in a mode corresponding to the user's mood in response to the driver's state and the user's emotion includes: In response to normal conditions and positive user emotions, a second working mode is determined from the preset correspondence between user emotions and the working mode of the ambient lighting in the vehicle, which corresponds to the positive user emotions and is used to present a soothing color; the soothing color is blue, green, purple and / or pink. Control the ambient lighting inside the vehicle to the second operating mode.
2. The ambient lighting control method as described in claim 1, characterized in that, The detection of the driver's gaze position inside the vehicle includes: Acquire the driver's eye movement information captured by the binocular camera on the wearable glasses; Based on the eye movement information, eye tracking is performed on the driver's eyes to obtain the driver's gaze position inside the vehicle; The process of recognizing the facial expressions of the driver inside the vehicle to obtain the driver's user emotions includes: The driver's facial information inside the vehicle is acquired by the driver monitoring system (OMS) camera on the wearable glasses; the OMS camera is positioned directly opposite the binocular camera. The facial expressions of the driver inside the vehicle are identified by recognizing the facial information.
3. The ambient lighting control method as described in claim 1, characterized in that, The driver's state is fatigued; the user's emotion is fatigued. The step of controlling the ambient lighting in the vehicle to operate in a mode corresponding to the user's mood in response to the driver's state and the user's emotion includes: In response to fatigue state and fatigued mood, a first working mode for displaying warning colors is determined based on the preset correspondence between user emotions and in-vehicle ambient lighting. Control the ambient lighting inside the vehicle to the first working mode.
4. The ambient lighting control method as described in claim 3, characterized in that, The method further includes: The system triggers seat vibrations and generates an alarm sound.
5. The ambient lighting control method as described in claim 1, characterized in that, The driver's status is normal; the user's emotion is negative. The step of controlling the ambient lighting in the vehicle to operate in a mode corresponding to the user's mood in response to the driver's state and the user's emotion includes: In response to normal conditions and negative user emotions, a third working mode is determined from the preset correspondence between user emotions and the working mode of the ambient lighting in the vehicle, which corresponds to the user's positive emotions and is used to present colors that evoke emotions. Control the ambient lighting inside the vehicle to the third operating mode.
6. The method for controlling ambient lighting as described in any one of claims 1 to 5, characterized in that, The step of obtaining the driver's state based on the gaze position includes: Acquire the driver's eye information captured by the in-vehicle OMS camera; Based on the eye information, determine the degree of eye opening / closing; When the eye opening reaches a predetermined fatigue opening and the gaze position deviates from the vehicle exterior by a preset threshold, the driver's state is determined to be fatigued. If the eye opening does not reach the fatigue-predetermined opening or the gaze position is outside the vehicle, the driver's state is determined to be normal.
7. A control device for an ambient light, characterized in that, include: A gaze position detection module is used to detect the driver's gaze position inside the vehicle; The driver status acquisition module is used to acquire the driver status based on the gaze position; The driver's status is normal; The user emotion recognition module is used to recognize the facial expressions of the driver inside the vehicle and obtain the user emotion of the driver inside the vehicle. The user's emotions are positive emotions. A response control module is used to respond to the driver's state and the user's emotion, and control the interior ambient lighting to be in a working mode corresponding to the user's emotion. This includes: responding to a normal state and a positive user emotion, determining a second working mode for presenting a soothing color from a preset correspondence between the user's emotion and the working modes of the interior ambient lighting; the soothing color is blue, green, purple, and / or pink; and controlling the interior ambient lighting to be in the second working mode.
8. A vehicle, characterized in that, It includes one or more processors for implementing the ambient light control method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, It stores a program that, when executed by a processor, implements the ambient light control method as described in any one of claims 1-6.