Vehicle-mounted atmosphere lamp control method, device, equipment and medium

By identifying and detecting the human posture of the personnel in the car and automatically adjusting the lighting effect of the ambient light, the problem of low intelligence in the ambient light control in the existing technology is solved, and a personalized in-car environment is achieved.

CN119815645APending Publication Date: 2025-04-11BEI DOU ZHI LIAN KE JI YOU XIAN GONG SI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510141427.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-08
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The existing in-car ambient light control method is low in intelligence and difficult to meet the personalized needs of different users.

Method used

The human posture of the person in the car is identified through image data, and the preset ambient light control strategy is used to detect whether the human posture meets specific conditions, determine the detection results of multiple conditions, determine the target scenario mode and adjust the lighting effect of the ambient light.

Benefits of technology

It improves the intelligence of the ambient light control system, and can automatically adjust the lighting effect according to the human posture, create a comfortable interior environment, and meet users' personalized needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119815645A_ABST
    Figure CN119815645A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle-mounted atmosphere lamp control method, device and equipment and a medium, and the method comprises the steps: recognizing the human body posture of a person in a vehicle according to image data, and obtaining target human body posture information; wherein the target human body posture information comprises at least one target human body posture; detecting each target human body posture according to a preset atmosphere lamp control strategy to obtain a detection result whether the target human body posture meets a corresponding atmosphere lamp control condition; judging whether a plurality of detection results meeting atmosphere lamp control conditions exist or not to obtain detection judgment information; if the detection judgment information is yes, determining a target contextual model according to a detection result and a preset scene priority; and controlling the light effect of the atmosphere lamp according to the target atmosphere lamp control parameter corresponding to the target scene mode. According to the embodiment of the invention, the intelligence of the atmosphere lamp control system can be improved, a comfortable in-vehicle environment is created, and the personalized requirements of users are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle-mounted atmosphere light control method, device, equipment and medium. Background Art

[0002] As users' requirements for driving experience improve, people have higher and higher requirements for personalized and intelligent in-car environment. As a vital part of vehicle styling and overall appearance, in-car ambient lighting is adopted by more and more car manufacturers. Traditional in-car ambient lighting systems are mainly operated by manual adjustment or according to the mode preset by the car manufacturer, which is difficult to meet the personalized needs of different users.

[0003] Therefore, the existing atmosphere light control method has the problem of low intelligence. Summary of the invention

[0004] The embodiments of the present invention provide a vehicle-mounted ambient light control method, device, equipment and medium, aiming to solve the problem of low intelligence in the existing ambient light control method.

[0005] In a first aspect, an embodiment of the present invention provides a method for controlling a vehicle ambient light, the method comprising:

[0006] Recognize the human body posture of the person in the vehicle according to the image data to obtain target human body posture information; wherein the target human body posture information includes at least one target human body posture;

[0007] According to the preset atmosphere light control strategy, each of the target human body postures is detected respectively to obtain a detection result of whether the target human body posture meets the corresponding atmosphere light control condition;

[0008] Determine whether there are multiple detection results that meet the atmosphere light control condition, and obtain detection judgment information;

[0009] If the detection judgment information is yes, determining the target scene mode according to the detection result and the preset scene priority;

[0010] The lighting effect of the atmosphere light is controlled according to the target atmosphere light control parameters corresponding to the target scene mode.

[0011] In a second aspect, an embodiment of the present invention further provides a vehicle-mounted ambient light control device, the device comprising:

[0012] A recognition unit, used to recognize the human body posture of the person in the vehicle according to the image data, and obtain target human body posture information; wherein the target human body posture information includes at least one target human body posture;

[0013] A detection unit, used to detect each of the target human body postures according to a preset atmosphere light control strategy, and obtain a detection result of whether the target human body posture meets the corresponding atmosphere light control condition;

[0014] A judgment unit, used to judge whether there are multiple detection results that meet the atmosphere light control condition, and obtain detection judgment information;

[0015] a determination unit, configured to determine a target scenario mode according to the detection result and a preset scenario priority if the detection judgment information is yes;

[0016] The control unit is used to control the lighting effect of the atmosphere light according to the target atmosphere light control parameters corresponding to the target scene mode.

[0017] In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method described in the first aspect is implemented.

[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and wherein the program instructions, when executed by a processor, can implement the method described in the first aspect above.

[0019] The present invention provides a method, device, equipment and medium for controlling an in-vehicle atmosphere light, the method comprising: identifying the human body posture of a person in the vehicle according to image data to obtain target human body posture information; wherein the target human body posture information includes at least one target human body posture; detecting each of the target human body postures according to a preset atmosphere light control strategy to obtain a detection result of whether the target human body posture satisfies the corresponding atmosphere light control condition; judging whether there are multiple detection results that satisfy the atmosphere light control condition to obtain detection judgment information; if the detection judgment information is yes, determining a target scene mode according to the detection result and a preset scene priority; controlling the lighting effect of the atmosphere light according to the target atmosphere light control parameter corresponding to the target scene mode. The embodiment of the present invention can identify the human body posture of a person in the vehicle according to image data, and can also automatically adjust the lighting effect of the atmosphere light according to the human body posture, which can improve the intelligence of the atmosphere light control system, create a comfortable in-vehicle environment, and meet the personalized requirements of users. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0021] Figure 1 A schematic diagram of a flow chart of a method for controlling a vehicle ambient light provided by an embodiment of the present invention;

[0022] Figure 2 A schematic block diagram of a vehicle-mounted ambient light control device provided by an embodiment of the present invention;

[0023] Figure 3 A schematic block diagram of an electronic device provided by an embodiment of the present invention;

[0024] Figure 4 A schematic diagram of an application scenario provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0027] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0028] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0029] Figure 4Schematic diagram of application scenarios provided by embodiments of the present invention. The present invention provides a method, device, equipment and medium for controlling vehicle-mounted ambient light, wherein the method is applied to a control module 51 of an ambient light control system 50, wherein the ambient light control system 50 further comprises an image pickup module 52, a processing module 53, a storage module 54, a UI interface 55 and an ambient light 56; wherein the image pickup module 52 is used to capture images in the vehicle and send them to the processing module 53; the processing module 53 receives image data from the image pickup module 52, and recognizes and analyzes the human body posture in the image data according to a preset human body posture recognition algorithm, and obtains target human body posture information that can be understood and processed by the control module 51; the control module 51 controls the lighting effect of the ambient light 56 ​​according to the target human body posture information from the processing module 53; the vehicle occupants can interact with the ambient light control system 50 through the UI interface 55, and the UI interface 55 is also used to display the status of the ambient light control system 50; the storage module 54 is used to save historical data, user-defined information and other related information, so that the ambient light control system 50 can quickly load the user's preference settings when it is started next time.

[0030] Figure 1 The following is a flow chart of a method for controlling a vehicle ambient light provided by an embodiment of the present invention. Figure 1 As shown, the method includes steps S110-S150.

[0031] S110. Recognize the body posture of the person in the vehicle according to the image data to obtain target body posture information; wherein the target body posture information includes at least one target body posture.

[0032] In this embodiment, image data collected by the image pickup module is obtained at a regular interval to identify the body posture of the occupant of the vehicle based on the image data to obtain target body posture information; wherein, the image pickup module includes at least one camera; the process of identifying the body posture of the occupant of the vehicle based on the image data can be encapsulated and implemented as a processing module in the ambient light control system; the target body posture information includes at least one target body posture.

[0033] Specifically, the body posture of the person in the car is identified according to the image data to determine whether the body posture of the person in the car is the target body posture to obtain the target body posture information; wherein, the target body posture can be a sleeping posture or a reading posture or a searching posture or a gesture posture, and the body posture of the person in the car can be a sleeping posture and / or a reading posture and / or a searching posture and / or a gesture posture.

[0034] In one embodiment, the human body posture of the person in the vehicle is identified based on the image data to obtain the target human body posture information, including: regularly acquiring image data collected by an image pickup module; inputting the image data into a preset human body posture recognition model to obtain the target human body posture information.

[0035] In this embodiment, image data collected by the image pickup module can be obtained every 1 second; the image data is input into a preset human posture recognition model to obtain the target human posture information; wherein, the human posture recognition model can accurately identify various postures of the human body by analyzing feature points in the image; the target human posture information includes at least one target human posture, and the target human posture can be a sleeping posture, a reading posture, a searching posture, or a gesture posture; specifically, when the user's eyes are closed, the user is determined to be in a sleeping posture; when the user holds a paper book or a reading device, the user is determined to be in a reading posture; when the user bends over, the user is determined to be in a searching posture; when the user makes a specific gesture, the user is determined to be in a gesture posture; if the target human posture information is a sleeping posture and a reading posture, the user is determined to be in a sleeping posture and a reading posture at the same time.

[0036] Before inputting the image data into a preset human posture recognition model, the method also includes: inputting historical image data into a pre-built human posture recognition model for model training until the model converges; specifically, the human posture recognition model performs artificial intelligence learning through a machine learning algorithm and historical image data and automatically generates a human posture recognition algorithm, and then applies the human posture recognition algorithm to human posture recognition, and the obtained target human posture information is sent to the user. Through continuous confirmation and debugging by the user, the trained human posture recognition model is finally obtained.

[0037] S120 , detecting each of the target human body postures according to a preset atmosphere light control strategy, and obtaining a detection result of whether the target human body posture satisfies a corresponding atmosphere light control condition.

[0038] In this embodiment, the atmosphere light control strategy includes at least one atmosphere light control condition, and the atmosphere light control condition corresponds to the target body posture one by one; specifically, the atmosphere light control strategy includes a first atmosphere light control condition corresponding to the sleeping posture, a second atmosphere light control condition corresponding to the reading posture, a third atmosphere light control condition corresponding to the picking up posture, and a fourth atmosphere light control condition corresponding to the hand gesture posture; according to the preset atmosphere light control strategy, each of the target body postures is detected respectively to obtain a detection result of whether the target body posture satisfies the corresponding atmosphere light control condition; for example, when the target body posture is the sleeping posture, it is determined whether the sleeping posture satisfies the first atmosphere light control condition to obtain the corresponding detection result.

[0039] Furthermore, the target human body posture can be a sleeping posture, a reading posture, a searching posture, or a gesture posture; wherein the sleeping posture corresponds to a sleeping detection function, the reading posture corresponds to a reading detection function, the searching posture corresponds to a searching detection function, and the gesture posture corresponds to a gesture detection function, and the user can turn on or off these four detection functions on the UI interface; if the detection function corresponding to the target human body posture is not turned on, there is no need to detect the target human body posture.

[0040] In one embodiment, step S120 includes: if the target human body posture is a sleeping posture, determining whether the duration of the sleeping posture is not less than the first preset duration in the first atmosphere light control condition in the atmosphere light control strategy; if the duration of the sleeping posture is not less than the first preset duration, obtaining a detection result that the sleeping posture satisfies the corresponding atmosphere light control condition.

[0041] In this embodiment, if the target human body posture is a sleeping posture, it is determined whether the duration of the sleeping posture is not less than the first preset duration in the first atmosphere light control condition in the atmosphere light control strategy (that is, the duration of the user's eyes being closed is not less than the first preset duration); wherein, the first preset duration can be customized according to actual application; if the duration of the sleeping posture is not less than the first preset duration, a detection result is obtained that the sleeping posture satisfies the corresponding atmosphere light control condition.

[0042] In one embodiment, after determining whether the duration of the sleeping posture is not less than the first preset duration in the first atmosphere light control condition in the atmosphere light control strategy, it also includes: if the duration of the sleeping posture is less than the first preset duration, determining whether the current scene mode is the sleeping mode; if the current scene mode is the sleeping mode, switching the current scene mode to the default scene mode to control the lighting effect of the atmosphere light according to the atmosphere light control parameters corresponding to the default scene mode.

[0043] In this embodiment, if the duration of the sleeping posture is less than the first preset duration, it is determined whether the current scene mode is the sleeping mode; if the current scene mode is the sleeping mode, the current scene mode is switched to the default scene mode to control the lighting effect of the atmosphere light according to the atmosphere light control parameters corresponding to the default scene mode; further, the user can customize the atmosphere light control parameters corresponding to each scene mode in the UI interface to meet the user's personalized requirements; if the current scene mode is not the sleeping mode, the current lighting state of the atmosphere light is maintained.

[0044] Furthermore, switching the current scene mode to the default scene mode includes: slowly switching the current scene mode to the default scene mode within a preset switching time to avoid discomfort to the user caused by sudden lighting changes.

[0045] In one embodiment, step S120 includes: if the target human body posture is a reading posture, determining whether the duration of the reading posture is not less than the second preset duration in the second atmosphere light control condition in the atmosphere light control strategy; if the duration of the reading posture is not less than the second preset duration, obtaining a detection result that the reading posture satisfies the corresponding atmosphere light control condition.

[0046] In this embodiment, if the target human body posture is a reading posture, it is determined whether the duration of the reading posture is not less than the second preset duration in the second atmosphere light control condition in the atmosphere light control strategy; wherein, the second preset duration can be customized according to actual application; if the duration of the reading posture is not less than the second preset duration (that is, the duration that the user holds a paper book or a reading device is not less than the second preset duration), a detection result is obtained that the reading posture satisfies the corresponding atmosphere light control condition.

[0047] Further, if the duration of the reading posture is less than the second preset duration, it is determined whether the current scene mode is the reading mode; if the current scene mode is the reading mode, the current scene mode is switched to the default scene mode to control the lighting effect of the atmosphere light according to the atmosphere light control parameters corresponding to the default scene mode; if the current scene mode is not the reading mode, the current lighting state of the atmosphere light is maintained. Further, the switching of the current scene mode to the default scene mode includes: slowly switching the current scene mode to the default scene mode within the preset switching time to avoid discomfort to the user caused by sudden lighting changes.

[0048] In one embodiment, step S120 includes: if the target human body posture is a picking up posture, determining whether the difference of the picking up posture is not less than a difference threshold in a third atmosphere light control condition in the atmosphere light control strategy; wherein the difference is a difference between an initial center position and a real-time center position of the human body posture; if the difference of the picking up posture is not less than the difference threshold, obtaining a detection result that the picking up posture satisfies the corresponding atmosphere light control condition.

[0049] In this embodiment, if the target human body posture is a picking up posture, it is determined whether the difference of the picking up posture is not less than the difference threshold in the third atmosphere light control condition in the atmosphere light control strategy; wherein, the difference is the difference between the initial human body center position and the real-time human body center position; the difference threshold can be set according to actual application; if the difference of the picking up posture is not less than the difference threshold, then the detection result that the picking up posture satisfies the corresponding atmosphere light control condition is obtained.

[0050] Further, if the difference of the picking-up gesture is less than the difference threshold, it is determined whether the current scene mode is the picking-up mode; if the current scene mode is the picking-up mode, the current scene mode is switched to the default scene mode to control the lighting effect of the atmosphere light according to the atmosphere light control parameter corresponding to the default scene mode; if the current scene mode is not the picking-up mode, the current lighting state of the atmosphere light is maintained. Further, the switching of the current scene mode to the default scene mode includes: slowly switching the current scene mode to the default scene mode within a preset switching time to avoid discomfort to the user caused by sudden lighting changes.

[0051] In one embodiment, step S120 includes: if the target human body posture is a hand gesture, determining whether the hand gesture matches the gesture in a preset gesture database; if it matches, determining whether the hand movement speed of the hand gesture is within the speed range of the fourth atmosphere light control condition in the atmosphere light control strategy; if the hand movement speed of the hand gesture is within the speed range, obtaining a detection result that the hand gesture satisfies the corresponding atmosphere light control condition.

[0052] In this embodiment, if the target human body posture is a hand gesture, it is determined whether the hand gesture matches the gesture in a preset gesture database; wherein, the preset gesture database pre-stores multiple gestures, and the ambient light control parameters corresponding to each gesture are different; if they match, it is determined whether the hand movement speed of the hand gesture is within the speed range of the fourth ambient light control condition in the ambient light control strategy; wherein, the speed range can be set according to actual application; if the hand movement speed of the hand gesture is within the speed range, a detection result is obtained that the hand gesture satisfies the corresponding ambient light control condition.

[0053] Furthermore, if the gesture posture does not match the gesture in the preset gesture database, a detection result is obtained that the gesture posture does not satisfy the corresponding atmosphere light control condition; if the hand movement speed of the gesture posture is not within the speed range, a detection result is obtained that the gesture posture does not satisfy the corresponding atmosphere light control condition; if a detection result is obtained that the gesture posture does not satisfy the corresponding atmosphere light control condition, the current lighting state of the atmosphere light is maintained.

[0054] S130, determining whether there are multiple detection results that meet the atmosphere light control condition, and obtaining detection determination information.

[0055] In this embodiment, it is determined whether there are multiple detection results that meet the atmosphere light control conditions to obtain detection judgment information; if the detection judgment information is yes, step S140 is executed; if the detection judgment information is no, the target scene mode is determined according to the detection results; specifically, the target scene mode is determined according to the detection results that meet the atmosphere light control conditions.

[0056] If the detection result is that the sleeping posture satisfies the corresponding atmosphere light control condition, the current scene mode is switched to the sleeping mode corresponding to the sleeping posture, and the lighting effect of the atmosphere light is controlled according to the atmosphere light control parameters corresponding to the sleeping mode; if the detection result is that the reading posture satisfies the corresponding atmosphere light control condition, the current scene mode is switched to the reading mode corresponding to the reading posture, and the lighting effect of the atmosphere light is controlled according to the atmosphere light control parameters corresponding to the reading mode; if the detection result is that the picking up posture satisfies the corresponding atmosphere light control condition, the current scene mode is switched to the picking up mode corresponding to the picking up posture, and the lighting effect of the atmosphere light is controlled according to the atmosphere light control parameters corresponding to the picking up mode; if the detection result is that the gesture posture satisfies the corresponding atmosphere light control condition, the current scene mode is switched to the gesture mode corresponding to the gesture posture, and the lighting effect of the atmosphere light is controlled according to the atmosphere light control parameters corresponding to the gesture posture.

[0057] S140: If the detection judgment information is yes, determine the target scenario mode according to the detection result and the preset scenario priority.

[0058] In this embodiment, if the detection judgment information is yes, the target scene mode is determined according to the detection result that meets the atmosphere light control condition and the preset scene priority; specifically, the scene priority can be set to: sleep mode>reading mode>picking up mode>gesture mode; for example, if there are two detection results that meet the atmosphere light control condition, the first detection result is that the sleeping posture meets the corresponding atmosphere light control condition, and the second detection result is that the reading posture meets the corresponding atmosphere light control condition; wherein, the scene mode corresponding to the sleeping posture is the sleeping mode, and the scene mode corresponding to the reading posture is the reading mode. Since the priority of the sleeping mode is greater than the priority of the reading mode, the sleeping mode is used as the target scene mode.

[0059] S150: Control the lighting effect of the atmosphere light according to the target atmosphere light control parameters corresponding to the target scene mode.

[0060] In this embodiment, the lighting effect of the atmosphere light is controlled according to the target atmosphere light control parameters corresponding to the target scene mode; for example, if the target scene mode is the sleep mode, the lighting effect of the atmosphere light is controlled according to the atmosphere light control parameters corresponding to the sleep mode.

[0061] The embodiment of the present invention can periodically acquire image data to ensure that the ambient light can respond to changes in human body posture in a timely manner. It can also dynamically adjust the lighting effects of the ambient light based on preset scene priorities and user preferences to meet user personalized requirements and improve the intelligence of the ambient light control system.

[0062] To sum up, the embodiments of the present invention can identify the body posture of people in the car based on image data, and can also automatically adjust the lighting effect of the ambient light according to the body posture, which can improve the intelligence of the ambient light control system, create a comfortable in-car environment, and meet the personalized requirements of users.

[0063] Figure 2 Schematic block diagram of a vehicle-mounted ambient light control device provided by an embodiment of the present invention. Figure 2As shown, corresponding to the above vehicle-mounted atmosphere light control method, the present invention also provides a vehicle-mounted atmosphere light control device, the device is configured in the control module of the atmosphere light control system, and the atmosphere light control system also includes an image pickup module, a processing module, a storage module, a UI interface and an atmosphere light; wherein the image pickup module is used to capture the image inside the vehicle and send it to the processing module; the processing module receives the image data from the image pickup module, and identifies and analyzes the human posture in the image data according to a preset human posture recognition algorithm, and obtains the target human posture information that can be understood and processed by the control module; the control module controls the lighting effect of the atmosphere light according to the target human posture information from the processing module; the people in the vehicle can interact with the atmosphere light control system through the UI interface, and the UI interface is also used to display the status of the atmosphere light control system; the storage module is used to save historical data, user-defined information and other related information, so that the atmosphere light control system can quickly load the user's preference settings when it is started next time. Specifically, please refer to Figure 2 The vehicle-mounted ambient light control device 700 includes:

[0064] The recognition unit 701 is used to recognize the human body posture of the person in the vehicle according to the image data to obtain target human body posture information; wherein the target human body posture information includes at least one target human body posture;

[0065] The detection unit 702 is used to detect each of the target human body postures according to a preset atmosphere light control strategy, and obtain a detection result of whether the target human body posture meets the corresponding atmosphere light control condition;

[0066] A judgment unit 703 is used to judge whether there are multiple detection results that meet the atmosphere light control condition, and obtain detection judgment information;

[0067] The determination unit 704 is configured to determine a target scenario mode according to the detection result and a preset scenario priority if the detection judgment information is yes;

[0068] The control unit 705 is used to control the lighting effect of the atmosphere light according to the target atmosphere light control parameters corresponding to the target scene mode.

[0069] In some embodiments, when the recognition unit 701 performs the step of recognizing the human body posture of the person in the vehicle according to the image data to obtain the target human body posture information, it is specifically used to:

[0070] Regularly acquiring image data collected by the image pickup module;

[0071] The image data is input into a preset human posture recognition model to obtain the target human posture information.

[0072] In some embodiments, when the detection unit 702 performs the step of detecting each of the target human body postures according to the preset atmosphere light control strategy to obtain the detection result of whether the target human body posture meets the corresponding atmosphere light control condition, it is specifically used to:

[0073] If the target human body posture is a sleeping posture, determining whether the duration of the sleeping posture is not less than a first preset duration in the first atmosphere light control condition in the atmosphere light control strategy;

[0074] If the duration of the sleeping posture is not less than the first preset duration, a detection result is obtained that the sleeping posture satisfies the corresponding atmosphere light control condition.

[0075] In some embodiments, after executing the step of determining whether the duration of the sleeping posture is not less than the first preset duration in the first atmosphere light control condition in the atmosphere light control strategy, the detection unit 702 is further configured to:

[0076] If the duration of the sleeping posture is less than the first preset duration, determining whether the current scene mode is the sleeping mode;

[0077] If the current scene mode is the sleep mode, the current scene mode is switched to the default scene mode to control the lighting effect of the atmosphere light according to the atmosphere light control parameters corresponding to the default scene mode.

[0078] In some embodiments, when the detection unit 702 performs the step of detecting each of the target human body postures according to the preset atmosphere light control strategy to obtain the detection result of whether the target human body posture meets the corresponding atmosphere light control condition, it is specifically used to:

[0079] If the target human body posture is a reading posture, determining whether the duration of the reading posture is not less than a second preset duration in the second atmosphere light control condition in the atmosphere light control strategy;

[0080] If the duration of the reading posture is not less than the second preset duration, a detection result is obtained that the reading posture satisfies the corresponding atmosphere light control condition.

[0081] In some embodiments, when the detection unit 702 performs the step of detecting each of the target human body postures according to the preset atmosphere light control strategy to obtain the detection result of whether the target human body posture meets the corresponding atmosphere light control condition, it is specifically used to:

[0082] If the target human body posture is a picking-up posture, determine whether the difference of the picking-up posture is not less than the difference threshold in the third ambient light control condition in the ambient light control strategy; wherein the difference is the difference between the initial center position and the real-time center position of the human body posture;

[0083] If the difference of the object picking posture is not less than the difference threshold, a detection result is obtained that the object picking posture satisfies the corresponding atmosphere light control condition.

[0084] In some embodiments, when the detection unit 702 performs the step of detecting each of the target human body postures according to the preset atmosphere light control strategy to obtain the detection result of whether the target human body posture meets the corresponding atmosphere light control condition, it is specifically used to:

[0085] If the target human body posture is a hand gesture, determining whether the hand gesture matches a gesture in a preset hand gesture database;

[0086] If they match, determining whether the hand movement speed of the gesture is within the speed range of the fourth ambient light control condition in the ambient light control strategy;

[0087] If the hand movement speed of the gesture is within the speed range, a detection result is obtained that the gesture satisfies the corresponding ambient light control condition.

[0088] It should be noted that technicians in the relevant field can clearly understand that the specific implementation process of the above-mentioned vehicle atmosphere light control device and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.

[0089] The above-mentioned vehicle-mounted ambient light control device can be implemented in the form of a computer program, which can be used in Figure 3 The electronic device shown is running.

[0090] See also Figure 3 , Figure 3 800 is a schematic block diagram of an electronic device provided by an embodiment of the present invention. The electronic device 800 may be a control module of an atmosphere light control system.

[0091] See also Figure 3 The electronic device 800 includes a processor 802 , a memory and a network interface 805 connected via a system bus 801 , wherein the memory may include a non-volatile storage medium 803 and an internal memory 804 .

[0092] The non-volatile storage medium 803 can store an operating system 8031 ​​and a computer program 8032. The computer program 8032 includes program instructions, and when the program instructions are executed, the processor 802 can execute a vehicle ambient light control method.

[0093] The processor 802 is used to provide computing and control capabilities to support the operation of the entire electronic device 800 .

[0094] The internal memory 804 provides an environment for the operation of the computer program 8032 in the non-volatile storage medium 803. When the computer program 8032 is executed by the processor 802, the processor 802 can execute a method for controlling a vehicle ambient light.

[0095] The network interface 805 is used to communicate with other devices over the network. Figure 3 The structure shown in the figure is merely a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the electronic device 800 to which the solution of the present invention is applied. The specific electronic device 800 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0096] The processor 802 is used to run the computer program 8032 stored in the memory to implement the following steps:

[0097] Recognize the human body posture of the person in the vehicle according to the image data to obtain target human body posture information; wherein the target human body posture information includes at least one target human body posture;

[0098] According to the preset atmosphere light control strategy, each of the target human body postures is detected respectively to obtain a detection result of whether the target human body posture meets the corresponding atmosphere light control condition;

[0099] Determine whether there are multiple detection results that meet the atmosphere light control condition, and obtain detection judgment information;

[0100] If the detection judgment information is yes, determining the target scene mode according to the detection result and the preset scene priority;

[0101] The lighting effect of the atmosphere light is controlled according to the target atmosphere light control parameters corresponding to the target scene mode.

[0102] In some embodiments, when the processor 802 implements the step of recognizing the human body posture of the person in the vehicle according to the image data to obtain the target human body posture information, it is specifically used to:

[0103] Regularly acquiring image data collected by the image pickup module;

[0104] The image data is input into a preset human posture recognition model to obtain the target human posture information.

[0105] In some embodiments, when the processor 802 detects each of the target human body postures according to the preset atmosphere light control strategy to obtain a detection result of whether the target human body posture meets the corresponding atmosphere light control condition, it is specifically used to:

[0106] If the target human body posture is a sleeping posture, determining whether the duration of the sleeping posture is not less than a first preset duration in the first atmosphere light control condition in the atmosphere light control strategy;

[0107] If the duration of the sleeping posture is not less than the first preset duration, a detection result is obtained that the sleeping posture satisfies the corresponding atmosphere light control condition.

[0108] In some embodiments, after implementing the step of determining whether the duration of the sleeping posture is not less than the first preset duration in the first atmosphere light control condition in the atmosphere light control strategy, the processor 802 is further configured to:

[0109] If the duration of the sleeping posture is less than the first preset duration, determining whether the current scene mode is the sleeping mode;

[0110] If the current scene mode is the sleep mode, the current scene mode is switched to the default scene mode to control the lighting effect of the atmosphere light according to the atmosphere light control parameters corresponding to the default scene mode.

[0111] In some embodiments, when the processor 802 detects each of the target human body postures according to the preset atmosphere light control strategy to obtain a detection result of whether the target human body posture meets the corresponding atmosphere light control condition, it is specifically used to:

[0112] If the target human body posture is a reading posture, determining whether the duration of the reading posture is not less than a second preset duration in the second atmosphere light control condition in the atmosphere light control strategy;

[0113] If the duration of the reading posture is not less than the second preset duration, a detection result is obtained that the reading posture satisfies the corresponding atmosphere light control condition.

[0114] In some embodiments, when the processor 802 detects each of the target human body postures according to the preset atmosphere light control strategy to obtain a detection result of whether the target human body posture meets the corresponding atmosphere light control condition, it is specifically used to:

[0115] If the target human body posture is a picking-up posture, determine whether the difference of the picking-up posture is not less than the difference threshold in the third ambient light control condition in the ambient light control strategy; wherein the difference is the difference between the initial center position and the real-time center position of the human body posture;

[0116] If the difference of the object picking posture is not less than the difference threshold, a detection result is obtained that the object picking posture satisfies the corresponding atmosphere light control condition.

[0117] In some embodiments, when the processor 802 detects each of the target human body postures according to the preset atmosphere light control strategy to obtain a detection result of whether the target human body posture meets the corresponding atmosphere light control condition, it is specifically used to:

[0118] If the target human body posture is a hand gesture, determining whether the hand gesture matches a gesture in a preset hand gesture database;

[0119] If they match, determining whether the hand movement speed of the gesture is within the speed range of the fourth ambient light control condition in the ambient light control strategy;

[0120] If the hand movement speed of the gesture is within the speed range, a detection result is obtained that the gesture satisfies the corresponding ambient light control condition.

[0121] It should be understood that in the embodiment of the present invention, the processor 802 may be a central processing unit (CPU), and the processor 802 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0122] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0123] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the following steps:

[0124] Recognize the human body posture of the person in the vehicle according to the image data to obtain target human body posture information; wherein the target human body posture information includes at least one target human body posture;

[0125] According to the preset atmosphere light control strategy, each of the target human body postures is detected respectively to obtain a detection result of whether the target human body posture meets the corresponding atmosphere light control condition;

[0126] Determine whether there are multiple detection results that meet the atmosphere light control condition, and obtain detection judgment information;

[0127] If the detection judgment information is yes, determining the target scene mode according to the detection result and the preset scene priority;

[0128] The lighting effect of the atmosphere light is controlled according to the target atmosphere light control parameters corresponding to the target scene mode.

[0129] In one embodiment, when the processor executes the program instructions to realize the step of recognizing the human body posture of the person in the vehicle according to the image data and obtaining the target human body posture information, it is specifically used to:

[0130] Regularly acquiring image data collected by the image pickup module;

[0131] The image data is input into a preset human posture recognition model to obtain the target human posture information.

[0132] In one embodiment, when the processor executes the program instructions to implement the step of detecting each of the target human body postures according to the preset atmosphere light control strategy and obtaining a detection result of whether the target human body posture satisfies the corresponding atmosphere light control condition, it is specifically used to:

[0133] If the target human body posture is a sleeping posture, determining whether the duration of the sleeping posture is not less than a first preset duration in the first atmosphere light control condition in the atmosphere light control strategy;

[0134] If the duration of the sleeping posture is not less than the first preset duration, a detection result is obtained that the sleeping posture satisfies the corresponding atmosphere light control condition.

[0135] In one embodiment, after executing the program instructions to implement the step of determining whether the duration of the sleeping posture is not less than the first preset duration in the first atmosphere light control condition in the atmosphere light control strategy, the processor is further configured to:

[0136] If the duration of the sleeping posture is less than the first preset duration, determining whether the current scene mode is the sleeping mode;

[0137] If the current scene mode is the sleep mode, the current scene mode is switched to the default scene mode to control the lighting effect of the atmosphere light according to the atmosphere light control parameters corresponding to the default scene mode.

[0138] In one embodiment, when the processor executes the program instructions to implement the step of detecting each of the target human body postures according to the preset atmosphere light control strategy and obtaining a detection result of whether the target human body posture satisfies the corresponding atmosphere light control condition, it is specifically used to:

[0139] If the target human body posture is a reading posture, determining whether the duration of the reading posture is not less than a second preset duration in the second atmosphere light control condition in the atmosphere light control strategy;

[0140] If the duration of the reading posture is not less than the second preset duration, a detection result is obtained that the reading posture satisfies the corresponding atmosphere light control condition.

[0141] In one embodiment, when the processor executes the program instructions to implement the step of detecting each of the target human body postures according to the preset atmosphere light control strategy and obtaining a detection result of whether the target human body posture satisfies the corresponding atmosphere light control condition, it is specifically used to:

[0142] If the target human body posture is a picking-up posture, determine whether the difference of the picking-up posture is not less than the difference threshold in the third ambient light control condition in the ambient light control strategy; wherein the difference is the difference between the initial center position and the real-time center position of the human body posture;

[0143] If the difference of the object picking posture is not less than the difference threshold, a detection result is obtained that the object picking posture satisfies the corresponding atmosphere light control condition.

[0144] In one embodiment, when the processor executes the program instructions to implement the step of detecting each of the target human body postures according to the preset atmosphere light control strategy and obtaining a detection result of whether the target human body posture satisfies the corresponding atmosphere light control condition, it is specifically used to:

[0145] If the target human body posture is a hand gesture, determining whether the hand gesture matches a gesture in a preset hand gesture database;

[0146] If they match, determining whether the hand movement speed of the gesture is within the speed range of the fourth ambient light control condition in the ambient light control strategy;

[0147] If the hand movement speed of the gesture is within the speed range, a detection result is obtained that the gesture satisfies the corresponding ambient light control condition.

[0148] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.

[0149] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0150] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0151] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0152] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling an electronic device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.

[0153] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for controlling a vehicle ambient light, characterized in that: The method comprises: Recognize the human body posture of the person in the vehicle according to the image data to obtain target human body posture information; wherein the target human body posture information includes at least one target human body posture; According to the preset atmosphere light control strategy, each of the target human body postures is detected respectively to obtain a detection result of whether the target human body posture meets the corresponding atmosphere light control condition; Determine whether there are multiple detection results that meet the atmosphere light control condition, and obtain detection judgment information; If the detection judgment information is yes, determining the target scene mode according to the detection result and the preset scene priority; The lighting effect of the atmosphere light is controlled according to the target atmosphere light control parameters corresponding to the target scene mode.

2. The vehicle-mounted ambient light control method according to claim 1, characterized in that: The method of recognizing the human body posture of the person in the vehicle according to the image data to obtain the target human body posture information includes: Regularly acquiring image data collected by the image pickup module; The image data is input into a preset human body posture recognition model to obtain the target human body posture information.

3. The vehicle-mounted ambient light control method according to claim 1, characterized in that: The detecting of each target human body posture according to the preset atmosphere light control strategy to obtain a detection result of whether the target human body posture satisfies the corresponding atmosphere light control condition includes: If the target human body posture is a sleeping posture, determining whether the duration of the sleeping posture is not less than a first preset duration in the first atmosphere light control condition in the atmosphere light control strategy; If the duration of the sleeping posture is not less than the first preset duration, a detection result is obtained that the sleeping posture satisfies the corresponding atmosphere light control condition.

4. The vehicle-mounted ambient light control method according to claim 3, characterized in that: After determining whether the duration of the sleeping posture is not less than the first preset duration in the first atmosphere light control condition in the atmosphere light control strategy, the method further includes: If the duration of the sleeping posture is less than the first preset duration, determining whether the current scene mode is the sleeping mode; If the current scene mode is the sleep mode, the current scene mode is switched to the default scene mode to control the lighting effect of the atmosphere light according to the atmosphere light control parameters corresponding to the default scene mode.

5. The vehicle-mounted ambient light control method according to claim 1, characterized in that: The detecting of each target human body posture according to the preset atmosphere light control strategy to obtain a detection result of whether the target human body posture satisfies the corresponding atmosphere light control condition includes: If the target human body posture is a reading posture, determining whether the duration of the reading posture is not less than a second preset duration in the second atmosphere light control condition in the atmosphere light control strategy; If the duration of the reading posture is not less than the second preset duration, a detection result is obtained that the reading posture satisfies the corresponding atmosphere light control condition.

6. The vehicle-mounted ambient light control method according to claim 1, characterized in that: The detecting of each target human body posture according to the preset atmosphere light control strategy to obtain a detection result of whether the target human body posture satisfies the corresponding atmosphere light control condition includes: If the target human body posture is a picking-up posture, determine whether the difference of the picking-up posture is not less than the difference threshold in the third ambient light control condition in the ambient light control strategy; wherein the difference is the difference between the initial center position and the real-time center position of the human body posture; If the difference of the object picking posture is not less than the difference threshold, a detection result is obtained that the object picking posture satisfies the corresponding atmosphere light control condition.

7. The vehicle-mounted ambient light control method according to claim 1, characterized in that: The detecting of each target human body posture according to the preset atmosphere light control strategy to obtain a detection result of whether the target human body posture satisfies the corresponding atmosphere light control condition includes: If the target human body posture is a hand gesture, determining whether the hand gesture matches a hand gesture in a preset hand gesture database; If they match, determining whether the hand movement speed of the gesture is within the speed range of the fourth ambient light control condition in the ambient light control strategy; If the hand movement speed of the gesture is within the speed range, a detection result is obtained that the gesture satisfies the corresponding ambient light control condition.

8. A vehicle-mounted ambient light control device, characterized in that: The device comprises: A recognition unit, used to recognize the human body posture of the person in the vehicle according to the image data, and obtain target human body posture information; wherein the target human body posture information includes at least one target human body posture; A detection unit, used to detect each of the target human body postures according to a preset atmosphere light control strategy, and obtain a detection result of whether the target human body posture meets the corresponding atmosphere light control condition; A judgment unit, used to judge whether there are multiple detection results that meet the atmosphere light control condition, and obtain detection judgment information; a determination unit, configured to determine a target scenario mode according to the detection result and a preset scenario priority if the detection judgment information is yes; The control unit is used to control the lighting effect of the atmosphere light according to the target atmosphere light control parameters corresponding to the target scene mode.

9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 7 can be implemented.