Method and device for identifying distraction behavior of driver, vehicle and storage medium

By detecting facial image blur and reflection in the vehicle, identifying the eye area that is not blurry and non-reflective, and judging the driver's distracted behavior based on the eye state, the problem of low accuracy in the existing technology is solved and the driving efficiency is improved. driver distraction detection accuracy and driving safety.

CN118658146APending Publication Date: 2024-09-17GREAT WALL MOTOR CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410834753.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The accuracy of identifying the driver's distracted behavior in the existing technology is low, and it is difficult to effectively judge whether the driver is distracted driving, especially when the lighting in the vehicle is poor, jitter and camera focus problems occur, resulting in blurred and reflective facial images, affecting the eyes. accuracy of local area detection.

Method used

By acquiring the driver's face image while the vehicle is driving, performing blur detection and reflection detection to determine the target eye area that is not blurry and non-reflective, identify the driver's distracting behavior based on the eye state of this area, and adjust the vehicle Internal lighting and camera settings to optimize image quality and ensure accurate judgment.

Benefits of technology

It improves the accuracy of judging whether the driver is distracted, reduces traffic accidents caused by judgment errors, and enhances driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658146A
    Figure CN118658146A
Patent Text Reader

Abstract

The invention provides a method and device for identifying distraction behaviors of drivers, a vehicle and a storage medium, and relates to the field of vehicles. In the driving process of a vehicle, due to the problems of light in the vehicle, vehicle shaking, focusing of a vehicle-mounted camera and the like, a face image, obtained by the vehicle, of a driver is likely to be blurred and / or reflect light, and then eye areas in the face image are caused to be blurred and / or reflect light. In the method, a vehicle performs fuzzy detection and light reflection detection on an eye region in a face image to obtain a target eye region of which the fuzzy degree and the light reflection degree meet a preset condition, so that a non-fuzzy and non-light-reflection target eye region can be obtained. Furthermore, the vehicle recognizes the distraction behavior of the driver in the driving state based on the eye state in the target eye region, so that the accurate eye state of the driver can be recognized to the maximum extent, and the accuracy of judging whether the driver is distraction driving or not is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a method, a device, a vehicle and a storage medium for identifying driver distraction behavior in the field of vehicles. Background Art

[0002] With the development of vehicle technology, more and more vehicles are entering people's lives. However, there are also more and more vehicle-related problems, including the problem of vehicle driving safety.

[0003] In order to solve traffic accidents caused by distracted driving, distraction detection algorithms in the prior art are mainly divided into two types, namely subjective type and objective type. The subjective type mainly judges the driver's driving status by the driver's own feeling or observation by others, but due to individual physical differences and the degree of careful observation, this process cannot guarantee the accuracy of detection. The objective type can judge whether the driver is distracted by driving by monitoring the driving characteristics of the vehicle, such as speed, steering speed, braking speed, etc. Although the above methods can achieve a certain judgment effect, the judgment effect needs to be improved.

[0004] Therefore, there is an urgent need for a method for identifying driver distraction behavior to improve the accuracy of judging whether the driver is distracted driving. Summary of the invention

[0005] The present application provides a method, device, vehicle and storage medium for identifying driver distraction behavior. The method can maximize the identification of the driver's accurate eye state and improve the accuracy of judging whether the driver is distracted driving.

[0006] In a first aspect, a method for identifying driver distraction behavior is provided, the method comprising: obtaining a facial image of the driver when a vehicle is in a driving state; performing blur detection and reflection detection on an eye area in the facial image to obtain a target eye area, wherein the target eye area is an eye area whose blur and reflection levels meet preset conditions; and identifying the driver's distraction behavior while in a driving state based on the eye state in the target eye area.

[0007] In the above technical solution, during the driving process of the vehicle, due to the problem of light inside the vehicle, vehicle shaking and the focusing problem of the on-board camera, etc., the facial image of the driver obtained by the vehicle may be blurred and / or reflective, which in turn causes the eye area in the facial image to be blurred and / or reflective. In this method, the vehicle performs blur detection and reflection detection on the eye area in the facial image to obtain a target eye area whose blur and reflection levels meet preset conditions, which can obtain a target eye area that is not blurred and not reflective. Furthermore, based on the eye state in the target eye area, the vehicle identifies the distracted behavior of the driver while driving, which can maximize the identification of the driver's accurate eye state and improve the accuracy of judging whether the driver is distracted driving.

[0008] In combination with the first aspect, in some possible implementations, the preset condition includes a blur degree less than a first intensity threshold and a reflection degree less than a second intensity threshold, and blur detection and reflection detection are performed on the eye area in the facial image to obtain a target eye area, including: performing blur detection on the eye area to obtain a blur degree of the eye area; performing reflection detection on the eye area to obtain a reflection degree of the eye area; and determining the target eye area from a left eye area and a right eye area included in the eye area based on the blur degree, the reflection degree and the preset condition.

[0009] In the above technical solution, in the method, the vehicle performs blur detection and reflection detection on the eye area respectively to obtain the blur degree and reflection degree of the eye area. The image quality of the left eye area and the right eye area in the eye area is measured based on the blur degree and the reflection degree, so as to determine the target eye area with good image quality from the left eye area and the right eye area included in the eye area, so as to help accurately judge whether the driver is driving fatigued.

[0010] In combination with the first aspect and the above-mentioned implementation manner, in some possible implementation manners, based on the blur degree, the reflection degree and the preset condition, the target eye area is determined from the left eye area and the right eye area included in the eye area, including: when the blur degree and the reflection degree of the left eye area meet the preset condition and the blur degree and the reflection degree of the right eye area do not meet the preset condition, the left eye area is determined as the target eye area; when the blur degree and the reflection degree of the left eye area do not meet the preset condition and the blur degree and the reflection degree of the right eye area meet the preset condition, the right eye area is determined as the target eye area; when the blur degree and the reflection degree of the left eye area and the blur degree and the reflection degree of the right eye area both do not meet the preset condition, the reason for not meeting the preset condition is determined; when the reason matches the preset reason, the target vehicle component is adjusted based on the preset reason to re-acquire the target eye area whose blur degree and the reflection degree meet the preset condition, and the target vehicle component is a vehicle component that can overcome the problem corresponding to the preset reason.

[0011] In the above technical solution, the vehicle determines an eye area (left eye area or right eye area) whose blur and reflection levels both meet the preset conditions as the target eye area, which can simplify the judgment process when judging whether the driver is driving fatigued based on one eye area. In addition, when the blur and reflection levels of the left eye area, and the blur and reflection levels of the right eye area do not meet the preset conditions, the vehicle analyzes the reasons for not meeting the preset conditions, which allows the vehicle to solve the problem of the eye area not meeting the preset conditions based on the reasons. Specifically, when the reason matches the preset reason, the vehicle adjusts the target vehicle components based on the preset reason to help the vehicle re-acquire the target eye area whose blur and reflection levels meet the preset conditions. This can minimize the number of times it is impossible to judge whether the driver is driving fatigued.

[0012] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, determining the reason why the preset condition is not met includes: detecting the light intensity of the target space area in the vehicle, the target space area corresponding to the shooting angle when the vehicle-mounted camera captures the facial image; when the light intensity is less than or equal to a first preset intensity, determining that the reason includes weak light intensity; when the light intensity is greater than or equal to a second preset intensity, determining that the reason includes strong light intensity; when the light intensity is greater than the first preset intensity and less than the second preset intensity, detecting whether the vehicle-mounted camera is focused on the eye area, and when the vehicle-mounted camera is not focused on the eye area, determining that the reason includes a focus deviation of the vehicle-mounted camera.

[0013] In the above technical solution, it should be understood that during the driving process of the vehicle, factors affecting the image shooting quality include the light inside the vehicle, whether the vehicle is shaking, and whether the on-board camera is focused on the object being shot. Therefore, in this method, the vehicle gradually analyzes the above-mentioned influencing factors to determine the specific content of the reasons for not meeting the preset conditions, that is, when shooting a facial image, the light intensity in the target space area corresponding to the shooting angle is weak or the light intensity is strong, or the on-board camera does not focus on the eye area. After accurately determining the reason why the eye area does not meet the preset conditions, this method can help the vehicle solve the problem of the eye area not meeting the preset conditions.

[0014] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the target vehicle component is adjusted based on the preset reason, including: when the preset reason includes weak light intensity at the left eye and the right eye, controlling the headlights to remain on and turning up the headlights to a preset brightness; or, when the preset reason includes strong light intensity at the left eye and the right eye, adjusting the shooting angle of the vehicle-mounted camera; or, when the preset reason includes focus deviation of the vehicle-mounted camera, adjusting the focal length of the vehicle-mounted camera.

[0015] In the above technical solution, when the preset reasons include weak light intensity at the left eye and the right eye, it indicates that the light around the driver's eyes in the car is relatively dark, which can be overcome by adjusting the brightness of the lights in the car. When the preset reasons include strong light intensity at the left eye and the right eye, it indicates that the light around the driver's eyes is relatively bright, which can be overcome by adjusting the shooting angle of the vehicle camera. When the preset reasons include focus deviation of the vehicle camera, it indicates that the vehicle camera may focus on other photographed objects, which can be overcome by adjusting the focal length of the vehicle camera. In this method, for different reasons that cause the eye area to fail to meet the preset conditions, the vehicle can better overcome them through corresponding solutions, thereby helping the vehicle to regain the target eye area whose blur and reflection levels meet the preset conditions. This can minimize the number of times it is impossible to judge whether the driver is driving fatigued.

[0016] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, based on the eye state in the target eye area, the distracted behavior of the driver while driving is identified, including: performing state detection on the mouth area in the facial image to determine the mouth state of the driver; based on the eye state and the mouth state in the target eye area, identifying the fatigue driving behavior of the driver while driving, so as to identify the distracted behavior of the driver while driving.

[0017] In the above technical solution, the state of the mouth area in the facial image is detected to determine the driver's mouth state. Further, the driver's fatigue driving behavior during driving is identified by combining the two influencing factors of the driver's mouth state and eye state, which can more accurately determine whether the driver is distracted while driving.

[0018] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, based on the eye state and the mouth state in the target eye area, the driver's fatigue driving behavior while driving is identified, including: when the mouth state is open and the eye state is closed, determining that the driver has fatigue driving behavior while driving; when the mouth state is open and the eye state is open, based on whether the eye state is in a congestion state and the degree of opening, the driver's fatigue driving behavior while driving is identified.

[0019] In the above technical solution, in this method, the vehicle makes a comprehensive judgment on whether the driver has fatigue driving behavior based on the state of the eyes and the state of the mouth. When the mouth state is open, the driver may be yawning or surprised; when the eye state is closed, the driver may be resting or blinking. Yawning is often accompanied by automatic closing of the eyes, which is a spontaneous physiological reaction. Therefore, when the mouth state is open and the eye state is closed, the vehicle determines that the driver has fatigue driving behavior. When the mouth state is open and the eye state is open, the driver may be surprised or a little sleepy (yawning and eyelids are twitching), so the vehicle also discusses whether the eye state is in a congested state and the degree of opening, which can accurately identify the driver's fatigue driving behavior while driving.

[0020] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when the mouth state is open and the eye state is open, the driver's fatigue driving behavior while driving is identified based on whether the eye state is in a congestion state and the degree of opening, including: when the mouth state is open, the eye state is open, the degree of opening is less than the first preset degree and the eye state is in a congestion state and there are tears in the eyes in the target eye area, it is determined that the driver has fatigue driving behavior while driving.

[0021] In the above technical solution, when the mouth is in an open state, it indicates that the driver may be yawning or surprised; when the eyes are in an open state, the driver may be surprised or a little sleepy (yawning and eyelids are twitching). In addition, the degree of eye opening is less than the first preset degree, indicating that the driver may be a little sleepy or the driver's eyes are originally small; the eye state is in a congested state, indicating that the driver may lack rest or have eye disease (pink eye); the presence of tears in the eyes indicates that the driver may shed tears due to sleepiness or tears due to sadness. This method combines a variety of influencing factors to identify the driver's fatigue driving behavior in the driving state. When the mouth state is open, the eyes are open and the degree of opening is less than the first preset degree, the eyes are in a congested state, and there are tears in the eyes, it indicates that the driver is fatigued driving behavior.

[0022] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when the mouth state is an open state and the eye state is a closed eye state, determining that the driver has fatigue driving behavior while driving includes: when the mouth state is an open state and the eye state is a closed eye state, determining whether the driver has fatigue driving behavior at each of multiple moments after a first moment, the first moment being the moment when the facial image is acquired; taking the first moment as a reference, determining the number of consecutive moments in which the driver has fatigue driving behavior in the results corresponding to the multiple moments, and determining the duration of the driver's fatigue driving behavior while driving based on the number and the time interval between adjacent moments; when the duration is greater than a first preset duration, determining that the driver has fatigue driving behavior while driving.

[0023] In the above technical solution, the method continues to discuss whether the driver has fatigue driving behavior at multiple moments after the first moment, and combines the results of whether the driver has fatigue driving behavior at multiple moments thereafter to increase the accuracy of judging whether the driver has fatigue driving behavior. Specifically, based on the first moment as a reference, the number of moments in which the driver has fatigue driving behavior in the results corresponding to multiple moments is determined, and based on the number and the time interval between adjacent moments, the duration of the driver's fatigue driving behavior is determined. Furthermore, when the duration is long, the vehicle determines that the driver has fatigue driving behavior while driving. This can avoid misjudgment of the driver's fatigue driving due to the randomness of a single facial image, which can further improve the accuracy of judging whether the driver is currently driving in a fatigued state.

[0024] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, after determining the duration of the driver's fatigue driving behavior while driving, the method also includes: when the duration is less than or equal to the first preset duration, determining that the driver does not have fatigue driving behavior while driving; and correcting the result of the driver's fatigue driving behavior corresponding to the first moment in the driving state to the driver does not have fatigue driving behavior.

[0025] In the above technical solution, when the duration is less than or equal to the first preset duration, it may indicate that the driver's behavior is influenced by the passengers in the car, rather than the actual fatigue driving behavior, and the vehicle determines that the driver does not have fatigue driving behavior. At this time, the vehicle corrects the result of the driver's non-fatigue driving behavior determined by the single facial image at the first moment, which can improve the accuracy of judging whether the driver has fatigue driving behavior.

[0026] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when the duration is greater than a first preset duration, it is determined that the driver has exhibited fatigue driving behavior while driving, including: when the duration is greater than the first preset duration and less than a second preset duration, it is determined that the driver has exhibited mild fatigue driving behavior while driving; when the duration is greater than or equal to the second preset duration and less than a third preset duration, it is determined that the driver has exhibited moderate fatigue driving behavior while driving; when the duration is greater than or equal to the third preset duration, it is determined that the driver has exhibited severe fatigue driving behavior while driving.

[0027] In the above technical solution, when the driver has fatigue driving behavior, the vehicle in the method can further determine the driver's fatigue degree based on the duration of the driver's fatigue driving. This allows the vehicle to take corresponding measures to remind the driver at different fatigue levels. If necessary, the vehicle can be forced to pull over to allow the driver to take a timely rest, which can increase the driver's driving safety during driving.

[0028] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, based on the eye state in the target eye area, the driver's distracted behavior while driving is identified, including: determining whether the eye state indicates that the driver is looking directly ahead; if the eye state indicates that the driver is not looking directly ahead, determining that the driver has distracted behavior while driving.

[0029] In the above technical solution, the driver's eye sight is detected while driving to determine whether the driver's eye state indicates that the driver is looking straight ahead. When the eye state indicates that the driver is not looking straight ahead, the method determines that the driver is distracted while driving. This enables the vehicle to promptly remind the driver when the driver's eyes are not looking straight ahead, which can reduce the number of traffic accidents.

[0030] In a second aspect, a device for identifying driver distraction behavior is provided, the device comprising: an acquisition module, used to acquire a facial image of the driver when the vehicle is in a driving state; a determination module, used to: perform blur detection and reflection detection on the eye area in the facial image to obtain a target eye area, the target eye area is an eye area whose blur and reflection levels meet preset conditions; perform state detection on the mouth area in the facial image to determine the state of the driver's mouth; and a recognition module, used to recognize the driver's distraction behavior in the driving state based on the eye state in the target eye area.

[0031] In combination with the second aspect, in some possible implementations, the preset conditions include a blur degree less than a first intensity threshold and a reflection degree less than a second intensity threshold, and the determination module is specifically used to: perform blur detection on the eye area to obtain the blur degree of the eye area; perform reflection detection on the eye area to obtain the reflection degree of the eye area; and determine the target eye area from the left eye area and the right eye area included in the eye area based on the blur degree, the reflection degree and the preset conditions.

[0032] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination module is specifically used to: determine the left eye area as the target eye area when the blurriness and reflection degree of the left eye area meet the preset condition and the blurriness and reflection degree of the right eye area do not meet the preset condition; determine the right eye area as the target eye area when the blurriness and reflection degree of the left eye area do not meet the preset condition and the blurriness and reflection degree of the right eye area meet the preset condition; determine the reason for not meeting the preset condition when the blurriness and reflection degree of the left eye area and the blurriness and reflection degree of the right eye area both do not meet the preset condition; the device also includes: an adjustment module, which is used to adjust the target vehicle component based on the preset cause when the cause matches the preset cause, so as to re-acquire the target eye area whose blurriness and reflection degree meet the preset condition, and the target vehicle component is a vehicle component that can overcome the problem corresponding to the preset cause.

[0033] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes: a detection module, used to detect the light intensity of the target space area in the vehicle, and the target space area corresponds to the shooting angle when the vehicle-mounted camera collects the facial image; the determination module is specifically used to: when the light intensity is less than or equal to a first preset intensity, determine that the cause includes weak light intensity; when the light intensity is greater than or equal to a second preset intensity, determine that the cause includes strong light intensity; when the light intensity is greater than the first preset intensity and less than the second preset intensity, detect whether the vehicle-mounted camera is focused on the eye area, and when the vehicle-mounted camera is not focused on the eye area, determine that the cause includes a focus deviation of the vehicle-mounted camera.

[0034] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the adjustment module is specifically used to: when the preset reason includes weak light intensity at the left eye and the right eye, control the vehicle lights to remain on and adjust the vehicle lights to a preset brightness; or, when the preset reason includes strong light intensity at the left eye and the right eye, adjust the shooting angle of the vehicle camera; or, when the preset reason includes the presence of focus deviation in the vehicle camera, adjust the focal length of the vehicle camera.

[0035] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the recognition module is specifically used to: perform state detection on the mouth area in the facial image to determine the mouth state of the driver; based on the eye state and the mouth state in the target eye area, identify the driver's fatigue driving behavior while driving to identify the driver's distracted behavior while driving.

[0036] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the recognition module is further specifically used to: determine that the driver has fatigue driving behavior while driving when the mouth state is open and the eye state is closed; and identify the driver's fatigue driving behavior while driving when the mouth state is open and the eye state is open based on whether the eye state is in a congestion state and the degree of opening.

[0037] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the recognition module is specifically used to: determine that the driver is fatigued driving when driving when the mouth is in an open state, the eyes are in an open state, the degree of opening is less than the first preset degree, the eyes are in a congested state, and there are tears in the eyes in the target eye area.

[0038] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination module is specifically used to: when the mouth state is an open state and the eye state is a closed eye state, determine whether the driver has fatigue driving behavior at each of multiple moments after a first moment, and the first moment is the moment when the facial image is acquired; based on the first moment, determine the number of consecutive moments in which the driver has fatigue driving behavior in the results corresponding to the multiple moments, and determine the duration of the driver's fatigue driving behavior while driving based on the number and the time interval between adjacent moments; when the duration is greater than the first preset duration, determine that the driver has fatigue driving behavior while driving.

[0039] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, after determining the duration of the driver's fatigue driving behavior while driving, the determination module is also used to determine that the driver does not have fatigue driving behavior while driving when the duration is less than or equal to the first preset duration; the device also includes: a correction module, which is used to correct the result of the driver's fatigue driving behavior while driving corresponding to the first moment to the driver not having fatigue driving behavior.

[0040] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination module is specifically used to: determine that the driver has mild fatigue driving behavior while driving when the duration is greater than the first preset time and less than the second preset time; determine that the driver has moderate fatigue driving behavior while driving when the duration is greater than or equal to the second preset time and less than the third preset time; determine that the driver has severe fatigue driving behavior while driving when the duration is greater than or equal to the third preset time.

[0041] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the recognition module is further specifically used to: determine whether the eye state indicates that the driver is looking directly ahead; if the eye state indicates that the driver is not looking directly ahead, determine that the driver is distracted while driving.

[0042] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.

[0043] In a fourth aspect, a computer-readable storage medium is provided, which stores an executable program code. When the executable program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a schematic diagram of a scenario of using a vehicle provided in an embodiment of the present application;

[0045] Figure 2 is a schematic flow chart of a method for identifying driver distraction behavior provided by an embodiment of the present application;

[0046] Figure 3 This is a schematic diagram of determining the duration of a driver's fatigue driving behavior provided by an embodiment of the present application;

[0047] Figure 4 This is a flow chart of determining whether a driver has fatigue driving behavior provided by an embodiment of the present application;

[0048] Figure 5 is a schematic diagram of the structure of a device for identifying driver distraction behavior provided by an embodiment of the present application;

[0049] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0051] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0052] Figure 1 It is a schematic diagram of a scenario of using a vehicle provided in an embodiment of the present application.

[0053] For example, Figure 1As shown, the driver can drive vehicle A to travel to reach the destination. During the driving process, the driver needs to concentrate highly to deal with complex road conditions, which will consume a lot of the driver's energy and easily make the driver feel tired, which will distract the driver during driving and easily lead to traffic accidents.

[0054] In order to solve traffic accidents caused by distracted driving, distraction detection algorithms in the prior art are mainly divided into two types, namely subjective type and objective type. The subjective type mainly judges the driver's driving status by the driver's own feeling or observation by others, but due to individual physical differences and the degree of careful observation, this process cannot guarantee the accuracy of detection. The objective type can judge whether the driver is distracted by driving by monitoring the driving characteristics of the vehicle, such as speed, steering speed, braking speed, etc. Although the above methods can achieve a certain judgment effect, the judgment effect needs to be improved.

[0055] Therefore, this application proposes a method for identifying driver distraction behavior to improve the accuracy of judging whether the driver is distracted driving. The specific implementation steps are as follows: Figure 2 shown.

[0056] Figure 2 It is a schematic flowchart of a method for identifying driver distraction behavior provided in an embodiment of the present application.

[0057] It should be understood that the method for identifying driver distraction behavior provided by the present application is applied to Figure 1 The vehicle A (hereinafter referred to as the vehicle) is shown, or the method for identifying driver distraction behavior can also be applied to the vehicle controller in the vehicle.

[0058] For example, Figure 2 As shown, the method 200 includes:

[0059] Step 201: When the vehicle is in driving state, the vehicle obtains a facial image of the driver.

[0060] It should be understood that "the vehicle is in a driving state" in the above step 201 means that the vehicle has power output and displacement changes.

[0061] In some embodiments, the vehicle in step 201 obtains the facial image of the driver, including: the vehicle collects the facial image of the driver through a vehicle-mounted camera in front of the driver.

[0062] It should be understood that in order to make the facial image include the eye area, the method has requirements for the location and shooting angle of the vehicle camera. In some embodiments, the vehicle camera is installed in front of the main driver's seat in the car, close to the windshield, and the shooting angle of the vehicle camera is greater than a°, which is related to the distance between the driver's eyes.

[0063] In step 202, the vehicle performs blur detection and reflection detection on the eye region in the facial image to obtain a target eye region, where the target eye region is an eye region whose blur and reflection levels meet preset conditions.

[0064] It should be understood that in the above step 202, the blur degree of the eye area is used to quantify the lack of clarity of the eye area in the facial image, reflecting the loss of details on the facial area, and the reflective degree of the eye area is used to quantify the gloss characteristics of the surface of the eye area in the facial image. The "eye area" in the above step 202 includes the left eye area and the right eye area, and the "target eye area" in the above step 202 is the left eye area or the right eye area.

[0065] In some embodiments, the preset condition is that the blur level is less than a first intensity threshold and the reflection level is less than a second intensity threshold.

[0066] In some embodiments, the first intensity threshold is 0.33 and the second intensity threshold is 0.28.

[0067] In some embodiments, the method for determining the eye area in the facial image in step 202 includes: the vehicle determines the first key point on the face of the person in the facial image, and the first key point includes the left corner of the eye, the right corner of the eye, the center of the upper part of the eye and the center of the lower part of the eye; the vehicle determines the boundary of the eye based on the first key point; the vehicle crops out the image area surrounded by the boundary of the eye in the facial image, and determines the image area as the eye area.

[0068] In some embodiments, the vehicle determines a first key point on the face in the facial image, including: the vehicle aligns the facial image to adjust the facial image to a target size and a target orientation; the vehicle extracts features from the aligned facial image to obtain a first facial feature, which is used to describe an eye feature on the face; and the vehicle locates the first key point in the aligned facial image based on the eye feature.

[0069] It should be understood that the vehicle can obtain the driver's eye features by performing feature extraction on the aligned facial image. The eye features may include the positions of the left corner of the eye, the right corner of the eye, the center of the upper part of the eye, and the center of the lower part of the eye on the facial image, respectively. Therefore, the vehicle can locate the first key point in the aligned facial image based on the eye features.

[0070] In a possible implementation, the preset condition includes a blur degree less than a first intensity threshold and a reflection degree less than a second intensity threshold. The vehicle in step 202 performs blur detection and reflection detection on the eye area in the facial image to obtain a target eye area, including: the vehicle performs blur detection on the eye area to obtain a blur degree of the eye area; the vehicle performs reflection detection on the eye area to obtain a reflection degree of the eye area; the vehicle determines the target eye area from a left eye area and a right eye area included in the eye area based on the blur degree, the reflection degree and the preset condition.

[0071] In the above technical solution, in the method, the vehicle performs blur detection and reflection detection on the eye area respectively to obtain the blur degree and reflection degree of the eye area. The image quality of the left eye area and the right eye area in the eye area is measured based on the blur degree and the reflection degree, so as to determine the target eye area with good image quality from the left eye area and the right eye area included in the eye area, so as to help accurately judge whether the driver is driving fatigued.

[0072] In some embodiments, the vehicle performs blur detection on the eye area to obtain a blur degree of the eye area, including: the vehicle converts the eye area into a grayscale image, and filters the grayscale image using a Laplace operator to obtain a histogram; the vehicle normalizes the histogram, and determines the normalized grayscale mean as the blur degree.

[0073] It should be understood that the "Laplacian operator" in the above solution can perform a second-order derivative operation on the grayscale image to obtain an image that emphasizes the edges. Since the image after Laplace processing is itself in grayscale form, it can be directly used to calculate the histogram.

[0074] In the above technical solution, when blur detection is performed on the eye area, the color information of the image is unnecessary, so the method converts the eye area into a grayscale image. Furthermore, a histogram is constructed by filtering the grayscale image with the Laplace operator and normalized, because the grayscale mean of the normalized histogram can reflect the average intensity of the edges and details in the image. If the image is blurred, there are fewer strong edges in the image after Laplace filtering, and the peak of the histogram will tend to low gradient values, resulting in a lower grayscale mean; on the contrary, a clear image will have more high gradient values ​​and a higher grayscale mean. Through the above steps, the method can cleverly quantify the degree of blur, providing a basis for subsequent image quality evaluation.

[0075] In some embodiments, the vehicle performs reflection detection on the eye area to obtain the degree of reflection of the eye area, including: the vehicle obtains the brightness value of each pixel in the eye area; the vehicle determines the proportion of pixels with brightness values ​​greater than a preset brightness in the eye area as the degree of reflection.

[0076] It should be understood that the brightness value of a pixel in an image can reflect the brightness of the location of the pixel, and the gloss characteristics of the surface of the eye area are related to the brightness of each pixel. Therefore, the degree of reflectivity of the eye area can be determined by the proportion of pixels with brightness values ​​greater than the preset brightness in the eye area.

[0077] In a possible implementation, the vehicle determines the target eye area from the left eye area and the right eye area included in the eye area based on the blur degree, the reflectivity and the preset condition, including: when the blur degree and the reflectivity of the left eye area meet the preset condition and the blur degree and the reflectivity of the right eye area do not meet the preset condition, the vehicle determines the left eye area as the target eye area; when the blur degree and the reflectivity of the left eye area do not meet the preset condition and the blur degree and the reflectivity of the right eye area meet the preset condition, the vehicle determines the right eye area as the target eye area; when the blur degree and the reflectivity of the left eye area and the blur degree and the reflectivity of the right eye area both do not meet the preset condition, the vehicle determines the reason for not meeting the preset condition; when the reason matches the preset reason, the vehicle adjusts the target vehicle component based on the preset reason to re-acquire the target eye area whose blur degree and the reflectivity meet the preset condition, and the target vehicle component is a vehicle component that can overcome the problem corresponding to the preset reason.

[0078] It should be understood that in the above solution, the problem corresponding to the preset reason can be overcome by the vehicle in a timely manner by adjusting the target vehicle component. That is, when the reason matches the preset reason, the target vehicle component can be adjusted to re-acquire a facial image that is not blurred and not reflective (the blurriness is less than the first intensity threshold and the reflectivity is less than the second intensity threshold), and then obtain a non-blurred and non-reflective eye area from the facial image.

[0079] In the above technical solution, the vehicle determines an eye area (left eye area or right eye area) whose blur and reflection levels both meet the preset conditions as the target eye area, which can simplify the judgment process when judging whether the driver is driving fatigued based on one eye area. In addition, when the blur and reflection levels of the left eye area, and the blur and reflection levels of the right eye area do not meet the preset conditions, the vehicle analyzes the reasons for not meeting the preset conditions, which allows the vehicle to solve the problem of the eye area not meeting the preset conditions based on the reasons. Specifically, when the reason matches the preset reason, the vehicle adjusts the target vehicle components based on the preset reason to help the vehicle re-acquire the target eye area whose blur and reflection levels meet the preset conditions. This can minimize the number of times it is impossible to judge whether the driver is driving fatigued.

[0080] It should be understood that when the reason does not match the preset reason, the problem corresponding to the reason may require the help of the people in the car, or go to the repair shop for the help of professionals.

[0081] In some embodiments, when the cause includes stains on the lens of the vehicle-mounted camera, the vehicle outputs a first reminder message, and the first reminder message is used to remind the person in the vehicle to clean the lens to re-acquire the target eye area whose blur and reflection levels meet the preset conditions. The person in the vehicle does not include the driver.

[0082] In some embodiments, when the cause includes that the lens of the vehicle-mounted camera is damaged, the vehicle outputs a second reminder message, and the second reminder message is used to remind the driver to go to a repair shop to repair the lens, and monitor the driver's mouth state for a long time; when the mouth state is open and the duration of the open state is greater than or equal to a fourth preset time length, the vehicle determines that the driver is driving fatigued; when the mouth state is open and the duration of the open state is less than the fourth preset time length, the vehicle determines that the driver is not driving fatigued; or, the vehicle outputs a third reminder message, and the third reminder message is used to remind the people in the vehicle to monitor the driver's fatigue state.

[0083] In some embodiments, the vehicle determines the target eye area based on the blur level and the reflective level, including: when the blur level and the reflective level of the left eye area in the eye area meet the preset condition and the blur level and the reflective level of the right eye area in the eye area meet the preset condition, the vehicle determines a first product between the blur level of the left eye area and the first coefficient, determines a second product between the reflective level of the left eye area and the second coefficient, and determines the sum of the first product and the second product as a first value; the vehicle determines a third product between the blur level of the right eye area and the first coefficient, determines a fourth product between the reflective level of the right eye area and the second coefficient, and determines the sum of the third product and the fourth product as a second value; the vehicle determines whether the first value is the same as the second value; when the first value is different from the second value, the vehicle selects the eye area corresponding to the smaller value from the first value and the second value as the target eye area; when the first value is the same as the second value, the vehicle determines the eye area corresponding to the eye closer to the vehicle-mounted camera as the target eye area.

[0084] It should be understood that in the above solution, the sum of the first coefficient and the second coefficient is 1, and the first coefficient and the second coefficient can be determined based on the degree of influence of the blur and reflection degree of the face area on the image quality when the face area is evaluated for quality. In some embodiments, the first coefficient is 0.4 and the second coefficient is 0.6, indicating that the blur degree has a small influence on the image quality.

[0085] It should also be understood that the "target eye area" in the above scheme is the left eye area or the right eye area. The above scheme describes: discussing the blur and reflection levels of the left eye area and the right eye area respectively. Eye areas whose blur and reflection levels are both lower than the intensity threshold are preferentially selected. When the blur and reflection levels of the left eye area and the right eye area are both lower than the intensity threshold, the eye area corresponding to the eye closer to the vehicle-mounted camera can be selected as the target eye area.

[0086] In one possible implementation, the vehicle determines the reason why the preset condition is not met, including: the vehicle detects the light intensity of a target space area within the vehicle, and the target space area corresponds to the shooting angle of the vehicle-mounted camera when capturing the facial image; when the light intensity is less than or equal to a first preset intensity, the vehicle determines that the reason includes weak light intensity; when the light intensity is greater than or equal to a second preset intensity, the vehicle determines that the reason includes strong light intensity; when the light intensity is greater than the first preset intensity and less than the second preset intensity, the vehicle detects whether the vehicle-mounted camera is focused on the eye area, and when the vehicle-mounted camera is not focused on the eye area, the vehicle determines that the reason includes a focus deviation of the vehicle-mounted camera.

[0087] It should be understood that in the above solution, the vehicle can detect the light intensity of the target space area in the vehicle through the sunlight sensor in the vehicle. It should also be understood that the "on-board camera focusing on the eye area" in the above solution means that the on-board camera focuses light on the human eye through its optical system to clearly capture the image of the eye.

[0088] In the above technical solution, it should be understood that during the driving process of the vehicle, factors affecting the image shooting quality include the light inside the vehicle, whether the vehicle is shaking, and whether the on-board camera is focused on the object being shot. Therefore, in this method, the vehicle gradually analyzes the above-mentioned influencing factors to determine the specific content of the reasons for not meeting the preset conditions, that is, when shooting a facial image, the light intensity in the target space area corresponding to the shooting angle is weak or the light intensity is strong, or the on-board camera does not focus on the eye area. After accurately determining the reason why the eye area does not meet the preset conditions, this method can help the vehicle solve the problem of the eye area not meeting the preset conditions.

[0089] In some embodiments, a vehicle detects the light intensity of a target space area within the vehicle, including: the vehicle detects whether the lens of an on-board camera is free of stains; in a case where the lens is smudged, the vehicle determines that the reason why the preset condition is not satisfied includes the lens being smudged; in a case where the lens is not smudged, the vehicle detects whether the lens of the on-board camera is damaged; in a case where the lens is damaged, the vehicle determines that the reason why the preset condition is not satisfied includes the lens being damaged; in a case where the lens is not damaged, the vehicle detects the light intensity of the target space area within the vehicle.

[0090] In one possible implementation, the vehicle adjusts the target vehicle component based on the preset reason, including: when the preset reason includes weak light intensity at the left eye and the right eye, the vehicle controls the headlights to remain on and turns up the headlights to a preset brightness; or, when the preset reason includes strong light intensity at the left eye and the right eye, the vehicle adjusts the shooting angle of the on-board camera; or, when the preset reason includes focus deviation of the on-board camera, the vehicle adjusts the focal length of the on-board camera.

[0091] It should be understood that the "headlights" in the above solution refer to the lighting lamps in the vehicle cabin.

[0092] It should also be understood that when the light intensity inside the car is weak, regardless of whether the headlights are turned on or not, the headlights can be kept on and turned up to a preset brightness to increase the light intensity inside the car. When the light intensity inside the car is strong, the shooting angle of the on-board camera can be adjusted to avoid the influence of strong light (i.e., light in the target space area) on the imaging effect at the current shooting angle, and of course the brightness of the headlights can also be reduced.

[0093] In the above technical solution, when the preset reasons include weak light intensity at the left eye and the right eye, it indicates that the light around the driver's eyes in the car is relatively dark, which can be overcome by adjusting the brightness of the lights in the car. When the preset reasons include strong light intensity at the left eye and the right eye, it indicates that the light around the driver's eyes is relatively bright, which can be overcome by adjusting the shooting angle of the vehicle camera. When the preset reasons include the focus deviation of the vehicle camera, it indicates that the vehicle camera may focus on other photographed objects, which can be overcome by adjusting the focal length of the vehicle camera. In this method, for different reasons that cause the eye area to fail to meet the preset conditions, the vehicle can better overcome them through corresponding solutions, thereby helping the vehicle to regain the target eye area whose blur and reflection levels meet the preset conditions. This can minimize the number of times it is impossible to judge whether the driver is driving fatigued.

[0094] In some embodiments, the vehicle adjusts the focal length of the vehicle-mounted camera, including: the vehicle determines the current focus position of the lens of the vehicle-mounted camera, and determines the target position on which the lens will focus, and the target position corresponds to the eye area; the vehicle determines the target focal length to which the lens will be adjusted based on the deviation between the position and the target position, and the current focal length of the lens; the vehicle adjusts the current focal length of the vehicle-mounted camera to the target focal length by rotating the focal ring on the lens of the vehicle-mounted camera.

[0095] Step 203: The vehicle identifies the driver's distraction behavior while driving based on the eye state in the target eye area.

[0096] It should be understood that the driver's distracted behavior while driving may be caused by fatigue driving, or manifested as the driver's line of sight being shifted. Therefore, it can be determined that the driver is distracted while driving based on the driver's fatigue driving behavior or the driver's line of sight not facing directly ahead.

[0097] In a possible implementation, step 203 includes: the vehicle performs state detection on the mouth area in the facial image to determine the mouth state of the driver; the vehicle identifies the driver's fatigue driving behavior while driving based on the eye state and the mouth state in the target eye area to identify the driver's distracted behavior while driving.

[0098] It should be understood that the "mouth state" in the above solution includes an open state or a closed mouth state. The "eye state" in the above solution includes an open eye state or a closed eye state.

[0099] In the above technical solution, the state of the mouth area in the facial image is detected to determine the driver's mouth state. Further, the driver's fatigue driving behavior during driving is identified by combining the two influencing factors of the driver's mouth state and eye state, which can more accurately determine whether the driver is distracted while driving.

[0100] In some embodiments, the method for determining the mouth area in the facial image includes: the vehicle determines second key points on the face of the person in the facial image, the second key points including the left corner of the mouth, the right corner of the mouth, the center of the upper lip and the center of the lower lip; the vehicle determines the boundary of the mouth based on the second key points; the vehicle crops out the image area surrounded by the boundary of the mouth in the facial image, and determines the image area as the mouth area.

[0101] In some embodiments, the vehicle determines a second key point on the face in the facial image, including: the vehicle aligns the facial image to adjust the facial image to a target size and a target orientation; the vehicle extracts features from the aligned facial image to obtain a second facial feature, which is used to describe a mouth feature on the face; and the vehicle locates the second key point in the aligned facial image based on the mouth feature.

[0102] It should be understood that the vehicle can obtain the driver's mouth features by performing feature extraction on the aligned facial image. The mouth features may include the positions of the left corner of the mouth, the right corner of the mouth, the center of the upper lip, and the center of the lower lip on the facial image, respectively. Therefore, the vehicle can locate the second key point in the aligned facial image based on the mouth features.

[0103] In some embodiments, the vehicle performs state detection on the mouth area in the facial image to determine the driver's mouth state, including: the vehicle identifies the center of the upper lip and the center of the lower lip in the mouth area; the vehicle determines a first distance between the center of the upper lip and the center of the lower lip; when the first distance is greater than or equal to a first preset distance, the vehicle determines that the mouth state is an open state; when the first distance is less than the first preset distance, the vehicle determines that the mouth state is a closed state.

[0104] It should be understood that the first preset distance is usually smaller. In some embodiments, the first preset distance is 0.3 cm.

[0105] It should be understood that when the mouth is open, the driver may be yawning. When the eyes are closed, the driver may be resting. However, when the mouth is open, the driver may be surprised, and when the eyes are closed, the driver may be blinking. Therefore, in this method, based on the eye state and the mouth state, it is determined whether the driver has fatigue driving behavior.

[0106] In some embodiments, the method for determining the eye state includes: the vehicle identifies the center of the upper eye and the center of the lower eye in the target eye area; the vehicle determines a second distance between the center of the upper eye and the center of the lower eye; when the second distance is greater than or equal to a second preset distance, the vehicle determines that the eye state is an open eye state; when the second distance is less than the second preset distance, the vehicle determines that the eye state is a closed eye state.

[0107] It should be understood that the second preset distance is usually smaller. In some embodiments, the second preset distance is 0.2 cm.

[0108] It should also be understood that the eye state can also be determined by the human eye attribute module, and the human eye attribute module can classify the eye state including the open eye state or the closed eye state or the uncertain state, and the uncertain state means that the human eye attribute module cannot determine whether the eye state is the open eye state or the closed eye state. When the difference in the category probability between the first two states is greater than 0.3, the driver's eye state at this time is determined as the category corresponding to the maximum probability of the first two states (open eye state or closed eye state). When the difference in the category probability between the first two states is less than 0.3, the method no longer further discusses whether the driver is driving fatigued. Among them, the human eye attribute module is a classification module, which is used to detect the eye state of the face.

[0109] In one possible implementation, the vehicle identifies the driver's fatigue driving behavior while driving based on the eye state and the mouth state in the target eye area, including: when the mouth state is open and the eye state is closed, the vehicle determines that the driver has fatigue driving behavior while driving; when the mouth state is open and the eye state is open, the vehicle identifies the driver's fatigue driving behavior while driving based on whether the eye state is in a congestion state and the degree of opening.

[0110] It should be understood that the "degree of opening" in the above scheme can be determined by the distance between the center of the upper part of the eye and the center of the lower part of the eye.

[0111] It should also be understood that yawning is often accompanied by automatic eye closure, which is a spontaneous physiological reaction. Specifically, when yawning, the muscles of the face, jaw, and throat are all moving, and this muscle activity involves the muscles of the eyelids, causing the eyes to close naturally. When the eyes are in a closed state, the driver may be resting or blinking. Therefore, when the mouth is open and the eyes are closed, the vehicle determines that the driver is fatigued while driving.

[0112] It should also be understood that when the mouth is in an open state and the eyes are in an open state, it may be that the driver's eyes are originally small and the driver is surprised, and the driver is not driving fatigued; however, it may also be that the driver is yawning and the eyelids are twitching, and the driver is driving fatigued. Therefore, when the mouth is in an open state and the eyes are in an open state, it is impossible to determine whether the driver is driving fatigued. Therefore, the method also determines whether the driver has driving fatigue behavior while driving based on whether the eyes are in a congested state and the degree of opening.

[0113] In the above technical solution, in this method, the vehicle makes a comprehensive judgment on whether the driver is driving fatigued based on the state of the eyes and the state of the mouth. When the mouth state is open, the driver may be yawning or surprised; when the eye state is closed, the driver may be resting or blinking. Yawning is often accompanied by automatic closing of the eyes, which is a spontaneous physiological reaction. Therefore, when the mouth state is open and the eye state is closed, the vehicle determines that the driver has fatigue driving behavior. When the mouth state is open and the eye state is open, the driver may be surprised or a little sleepy (yawning and eyelids are twitching), so the vehicle also discusses whether the eye state is in a congested state and the degree of opening, which can accurately determine whether the driver has fatigue driving behavior.

[0114] In some embodiments, when the mouth state is a closed state and the eye state is an open state, and the degree of opening is greater than or equal to a first preset degree, the vehicle determines that the driver does not have fatigue driving behavior while driving.

[0115] It should be understood that when the mouth state is closed and the eyes state is open, and the degree of opening is greater than or equal to the first preset degree, it indicates that the driver's eyes are wide open and the driver is concentrating on driving. Therefore, the vehicle determines that the driver does not have fatigue driving behavior while driving.

[0116] In one possible implementation, when the mouth is in an open state and the eyes are in an open state, the vehicle identifies the driver's fatigue driving behavior while driving based on whether the eyes are in a congested state and the degree of opening, including: when the mouth is in an open state, the eyes are in an open state, the degree of opening is less than the first preset degree and the eyes are in a congested state, and there are tears in the eyes in the target eye area, the vehicle determines that the driver has fatigue driving behavior while driving.

[0117] In the above technical solution, when the mouth is in an open state, it indicates that the driver may be yawning or surprised; when the eyes are in an open state, the driver may be surprised or a little sleepy (yawning and eyelids are twitching). In addition, the degree of eye opening is less than the first preset degree, indicating that the driver may be a little sleepy or the driver's eyes are originally small; the eye state is in a congested state, indicating that the driver may lack rest or have eye disease (pink eye); the presence of tears in the eyes indicates that the driver may shed tears due to sleepiness or tears due to sadness. This method combines a variety of influencing factors to identify the driver's fatigue driving behavior in the driving state. When the mouth state is open, the eyes are open and the degree of opening is less than the first preset degree, the eyes are in a congested state, and there are tears in the eyes, it indicates that the driver is fatigued driving behavior.

[0118] In some embodiments, when the mouth is in an open state, the eyes are in an open state, the degree of opening is less than the first preset degree, the eyes are not in a congested state, and there are no tears in the eyes in the target eye area, the vehicle determines that the driver does not have fatigue driving behavior while driving; when the mouth is in an open state, the eyes are in an open state and the degree of opening is greater than or equal to the first preset degree, and the eyes are not in a congested state, the vehicle determines that the driver does not have fatigue driving behavior while driving.

[0119] It should be understood that when the mouth is in an open state, the eyes are in an open state, the degree of opening is less than a first preset degree, the eyes are not in a congested state, and there are no tears in the eyes in the target eye area, it indicates that the driver is indeed not driving fatigued, and the driver does not have fatigue driving behavior while driving. When the mouth is in an open state, the eyes are in an open state, the degree of opening is greater than or equal to the first preset degree, and the eyes are not in a congested state, it indicates that the driver is concentrating on driving, and the driver does not have fatigue driving behavior while driving.

[0120] In one possible implementation, when the mouth is in an open state and the eyes are in a closed state, the vehicle determines that the driver has exhibited fatigue driving behavior while driving, including: when the mouth is in an open state and the eyes are in a closed state, the vehicle determines whether the driver has exhibited fatigue driving behavior at each of multiple moments after a first moment, the first moment being the moment when the facial image is acquired; the vehicle determines, based on the first moment, the number of consecutive moments in which the driver has exhibited fatigue driving behavior in the results corresponding to the multiple moments, and determines, based on the number and the time interval between adjacent moments, a duration of the driver's fatigue driving behavior while driving; when the duration is greater than a first preset duration, the vehicle determines that the driver has exhibited fatigue driving behavior while driving.

[0121] It should be understood that the result of whether the driver has fatigue driving behavior at the first moment in the above scheme includes the result of whether the driver has fatigue driving behavior at the first moment and the result of whether the driver does not have fatigue driving behavior at the first moment, wherein the result of whether the driver has fatigue driving behavior at the first moment is obtained by the following steps (based on the driver's mouth state and the eye state in the target eye area in step 203, the driver's fatigue driving behavior in the driving state is identified). The determination process of "the vehicle determines whether the driver has fatigue driving behavior at each of the multiple moments after the first moment" in the above scheme is the same as the determination process of "whether the driver is currently fatigue driving behavior at the first moment", which will not be repeated here.

[0122] It should also be understood that whether the driver has fatigue driving behavior at the first moment or at each of the multiple moments is determined by a single facial image, and the result of whether the driver has fatigue driving behavior may have judgment errors. In the above scheme, the duration of the driver's fatigue driving behavior is counted, and the vehicle determines that the driver really has fatigue driving behavior when the duration is long, which can improve the accuracy of judging the driver's fatigue driving.

[0123] In the above technical solution, the method continues to discuss whether the driver has fatigue driving behavior at multiple moments after the first moment, and combines the results of whether the driver has fatigue driving behavior at multiple moments thereafter to increase the accuracy of judging whether the driver has fatigue driving behavior. Specifically, based on the first moment as a reference, the number of moments in which the driver has fatigue driving behavior in the results corresponding to multiple moments is determined, and based on the number and the time interval between adjacent moments, the duration of the driver's fatigue driving behavior is determined. Furthermore, when the duration is long, the vehicle determines that the driver has fatigue driving behavior while driving. This can avoid misjudgment of the driver's fatigue driving due to the randomness of a single facial image, which can further improve the accuracy of judging whether the driver is currently driving in a fatigued state.

[0124] In some embodiments, the first preset duration is 3 seconds.

[0125] In some embodiments, the time interval is 0.8 s.

[0126] In some embodiments, the vehicle determines the duration of the driver's fatigue driving behavior while driving based on the number and the time interval between adjacent moments, including: the vehicle determines the product of the number and the time interval as the duration of the driver's fatigue driving behavior while driving.

[0127] Figure 3 It is a schematic diagram provided in an embodiment of the present application for determining the duration of a driver's fatigue driving behavior while driving.

[0128] There are multiple moments after the first moment, and the result of whether the driver has fatigue driving behavior at the first moment is the presence of fatigue driving behavior, and each moment in the multiple moments corresponds to a result of whether the driver has fatigue driving behavior. Figure 3 As shown, taking the results corresponding to each of the multiple moments as the presence of fatigue driving behavior, the presence of fatigue driving behavior, the presence of fatigue driving behavior, the presence of fatigue driving behavior, the absence of fatigue driving behavior, the presence of fatigue driving behavior and the absence of fatigue driving behavior, and the time interval between adjacent moments being 0.8s as an example, the process for determining the duration of the driver's fatigue driving behavior is described.

[0129] The vehicle takes the first moment as a reference and determines that the number of consecutive moments in which the driver has exhibited fatigue driving behavior in the results corresponding to the multiple moments is 4, and divides the number 4 by the time interval 0.8s to determine that the duration of the driver's fatigue driving behavior is 3.2s; the duration of 3.2s is greater than the first preset duration of 3s, and the vehicle determines that the driver has exhibited fatigue driving behavior while driving.

[0130] In one possible implementation, after the vehicle determines the duration of the driver's fatigue driving behavior while driving, the method 200 also includes: when the duration is less than or equal to the first preset duration, the vehicle determines that the driver does not have fatigue driving behavior while driving; the vehicle corrects the result of the driver's fatigue driving behavior in the driving state corresponding to the first moment to the driver does not have fatigue driving behavior.

[0131] It should be understood that in the above solution, when the duration is less than or equal to the first preset duration, the driver may open his mouth and close his eyes briefly, which may be caused by the sleepiness of other people in the car, rather than real fatigue driving behavior. Therefore, when the duration is less than or equal to the first preset duration, the vehicle needs to correct the result of the driver's fatigue driving behavior corresponding to the first moment to the driver's non-fatigue driving behavior.

[0132] In the above technical solution, when the duration is less than or equal to the first preset duration, it may indicate that the driver's behavior is influenced by the passengers in the car, rather than the actual fatigue driving behavior, and the vehicle determines that the driver does not have fatigue driving behavior. At this time, the vehicle corrects the result of the driver's non-fatigue driving behavior determined by the single facial image at the first moment, which can improve the accuracy of judging whether the driver has fatigue driving behavior.

[0133] In one possible implementation, when the duration is greater than a first preset duration, the vehicle determines that the driver has exhibited fatigue driving behavior while driving, including: when the duration is greater than the first preset duration and less than a second preset duration, the vehicle determines that the driver has exhibited mild fatigue driving behavior while driving; when the duration is greater than or equal to the second preset duration and less than a third preset duration, the vehicle determines that the driver has exhibited moderate fatigue driving behavior while driving; when the duration is greater than or equal to the third preset duration, the vehicle determines that the driver has exhibited severe fatigue driving behavior while driving.

[0134] In the above technical solution, when the driver has fatigue driving behavior, the vehicle in the method can further determine the driver's fatigue degree based on the duration of the driver's fatigue driving. This allows the vehicle to take corresponding measures to remind the driver at different fatigue levels. If necessary, the vehicle can be forced to pull over to allow the driver to take a timely rest, which can increase the driver's driving safety during driving.

[0135] In some embodiments, the second preset time length is 4 seconds, and the third preset time length is 5 seconds.

[0136] In some embodiments, after the vehicle determines that the driver has mild driving fatigue behavior while driving, the method 200 also includes: the vehicle outputs a fourth reminder message, and the fourth reminder message is used to remind the driver that he has mild driving fatigue and to take a rest; after the vehicle determines that the driver has moderate driving fatigue behavior while driving, the method 200 also includes: the vehicle controls the fragrance reminder device and the in-car humidification device in the vehicle to start, so as to refresh the mind by emitting fragrance and increasing humidity; after the vehicle determines that the driver has severe driving fatigue behavior while driving, the method 200 also includes: the vehicle controls the driving parameters of the vehicle to control the vehicle to pull over.

[0137] Figure 4 It is a flowchart of determining whether a driver has fatigue driving behavior provided in an embodiment of the present application.

[0138] For example, Figure 4 As shown, step 401, when the vehicle is in a driving state, the vehicle obtains a facial image of the driver. For the facial image, the vehicle can further analyze the facial image based on the following steps 402 and 403. In step 402, the vehicle crops the eye area from the facial image based on the first key point, and the vehicle performs blur detection and reflection detection on the eye area to obtain the target eye area. In step 403, the vehicle crops the mouth area from the facial image based on the second key point, and performs a state detection on the mouth area to determine the driver's mouth state. In step 404, the vehicle determines whether the driver has fatigue driving behavior while in a driving state based on the mouth state and the eye state in the target eye area.

[0139] Among them, the vehicle's processing process of the mouth area (based on the second key point, cropping the mouth area from the facial image, and performing state detection on the mouth area to determine the driver's mouth state) is implemented by using the mouth classification module, and the vehicle's processing process of the eye area (based on the first key point, cropping the eye area from the facial image, and performing blur detection and reflection detection on the eye area to obtain the target eye area) is implemented by using the human eye attribute module.

[0140] In some embodiments, the mouth classification module and the human eye attribute module are both convolutional neural networks, the convolutional neural network is MobileNetV2, and the architecture of the MobileNetV2 network is baseline.

[0141] In one possible implementation, step 203 includes: the vehicle identifies the driver's distracted behavior while driving based on the eye state in the target eye area, including: the vehicle determines whether the eye state indicates that the driver is looking directly ahead; if the eye state indicates that the driver is not looking directly ahead, the vehicle determines that the driver has distracted behavior while driving.

[0142] In the above technical solution, the driver's eye sight is detected while driving to determine whether the driver's eye state indicates that the driver is looking straight ahead. When the eye state indicates that the driver is not looking straight ahead, the method determines that the driver is distracted while driving. This enables the vehicle to promptly remind the driver when the driver's eyes are not looking straight ahead, which can reduce the number of traffic accidents.

[0143] In some embodiments, the vehicle determines whether the eye state indicates that the driver is looking straight ahead, including: the vehicle inputs the target eye area into a line of sight detection module, and the line of sight detection module determines whether the eye state indicates that the driver is looking straight ahead.

[0144] In some embodiments, the line of sight detection module determines whether the eye state indicates that the driver is looking straight ahead, including: the line of sight detection module detects the center position of the pupil in the eye in the target eye area; the line of sight detection module determines the center position of the eye based on feature points around the eye; the line of sight detection module determines the offset between the center position of the pupil and the center position of the eye; when the offset is greater than a preset offset, the line of sight detection module determines that the eye state indicates that the driver is looking straight ahead; when the offset is less than or equal to the preset offset, the line of sight detection module determines that the eye state indicates that the driver is not looking straight ahead.

[0145] In some embodiments, when the eye state indicates that the driver is looking straight ahead, the vehicle determines that the driver is not distracted while driving.

[0146] Figure 5 It is a structural schematic diagram of a device for identifying driver distraction behavior provided in an embodiment of the present application.

[0147] For example, Figure 5 As shown, the device 500 includes:

[0148] The acquisition module 501 is used to acquire the driver's facial image when the vehicle is in a driving state;

[0149] A determination module 502 is used to perform blur detection and reflection detection on the eye region in the facial image to obtain a target eye region, where the target eye region is an eye region whose blur and reflection levels meet preset conditions;

[0150] The identification module 503 is used to identify the distraction behavior of the driver while driving based on the eye state in the target eye area.

[0151] Optionally, the preset condition includes a blur degree being less than a first intensity threshold and a reflection degree being less than a second intensity threshold, and the determination module 502 is specifically used to: perform blur detection on the eye area to obtain the blur degree of the eye area; perform reflection detection on the eye area to obtain the reflection degree of the eye area; and determine the target eye area from the left eye area and the right eye area included in the eye area based on the blur degree, the reflection degree and the preset condition.

[0152] Optionally, the determination module 502 is further specifically used for: determining the left eye area as the target eye area when the blurriness and the degree of reflection of the left eye area meet the preset condition and the blurriness and the degree of reflection of the right eye area do not meet the preset condition; determining the right eye area as the target eye area when the blurriness and the degree of reflection of the left eye area do not meet the preset condition and the blurriness and the degree of reflection of the right eye area meet the preset condition; determining the reason for not meeting the preset condition when the blurriness and the degree of reflection of the left eye area and the blurriness and the degree of reflection of the right eye area both do not meet the preset condition; the device 500 also includes: an adjustment module, which is used for adjusting the target vehicle component based on the preset cause when the cause matches the preset cause, so as to re-acquire the target eye area whose blurriness and the degree of reflection meet the preset condition, and the target vehicle component is a vehicle component that can overcome the problem corresponding to the preset cause.

[0153] Optionally, the device 500 also includes: a detection module, used to detect the light intensity of a target space area in the vehicle, the target space area corresponding to the shooting angle of the vehicle-mounted camera when collecting the facial image; the determination module 502, specifically used to: when the light intensity is less than or equal to a first preset intensity, determine that the cause includes weak light intensity; when the light intensity is greater than or equal to a second preset intensity, determine that the cause includes strong light intensity; when the light intensity is greater than the first preset intensity and less than the second preset intensity, detect whether the vehicle-mounted camera is focused on the eye area, and when the vehicle-mounted camera is not focused on the eye area, determine that the cause includes a focus deviation of the vehicle-mounted camera.

[0154] Optionally, the adjustment module is specifically used to: when the preset reason includes weak light intensity at the left eye and the right eye, control the vehicle lights to remain on and adjust the vehicle lights to a preset brightness; or, when the preset reason includes strong light intensity at the left eye and the right eye, adjust the shooting angle of the vehicle camera; or, when the preset reason includes focus deviation of the vehicle camera, adjust the focal length of the vehicle camera.

[0155] Optionally, the recognition module 503 is specifically used to: perform state detection on the mouth area in the facial image to determine the mouth state of the driver; based on the eye state and the mouth state in the target eye area, identify the driver's fatigue driving behavior while driving to identify the driver's distracted behavior while driving.

[0156] Optionally, the recognition module 503 is further specifically used for: when the mouth state is open and the eyes state is closed, determining that the driver has fatigue driving behavior while driving; when the mouth state is open and the eyes state is open, identifying the driver's fatigue driving behavior while driving based on whether the eyes are in a congestion state and the degree of opening.

[0157] Optionally, the recognition module 503 is further specifically used to determine that the driver is fatigued while driving when the mouth is in an open state, the eyes are in an open state, the degree of opening is less than the first preset degree, the eyes are in a congested state, and there are tears in the eyes in the target eye area.

[0158] Optionally, the determination module 502 is further specifically used to: when the mouth state is an open state and the eye state is a closed eye state, determine whether the driver has fatigue driving behavior at each of multiple moments after a first moment, the first moment being the moment when the facial image is acquired; based on the first moment, determine the number of consecutive moments in which the driver has fatigue driving behavior in the results corresponding to the multiple moments, and determine the duration of the driver's fatigue driving behavior while driving based on the number and the time interval between adjacent moments; when the duration is greater than a first preset duration, determine that the driver has fatigue driving behavior while driving.

[0159] Optionally, after determining the duration of the driver's fatigue driving behavior while driving, the determination module 502 is also used to determine that the driver does not have fatigue driving behavior while driving when the duration is less than or equal to the first preset duration; the device 500 also includes: a correction module, which is used to correct the result of the driver's fatigue driving behavior while driving corresponding to the first moment to the driver not having fatigue driving behavior.

[0160] Optionally, the determination module 502 is further specifically used to: determine that the driver has mild fatigue driving behavior while driving when the duration is greater than the first preset duration and less than the second preset duration; determine that the driver has moderate fatigue driving behavior while driving when the duration is greater than or equal to the second preset duration and less than the third preset duration; determine that the driver has severe fatigue driving behavior while driving when the duration is greater than or equal to the third preset duration.

[0161] Optionally, the recognition module 503 is further specifically used to: determine whether the eye state indicates that the driver is looking directly ahead; if the eye state indicates that the driver is not looking directly ahead, determine that the driver is distracted while driving.

[0162] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0163] For example, Figure 6 As shown, the vehicle 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 603, and the processor 602 is used to call and execute the executable program code 603 to perform a method for identifying driver distraction behavior.

[0164] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a method for identifying driver distraction behavior provided by an embodiment of the present application.

[0165] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0166] In the case of dividing each functional module according to each function, the device may also include an acquisition module, a determination module, an adjustment module, a detection module, a correction module, etc. It should be noted that all relevant contents involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0167] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method for identifying driver distraction behavior, and thus can achieve the same effect as the above-mentioned implementation method.

[0168] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing related executable program codes, etc.

[0169] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0170] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for identifying driver distraction behavior provided in the above embodiment.

[0171] This embodiment also provides a computer-readable storage medium, in which executable program code is stored. When the executable program code is run on a computer, the computer executes the above-mentioned related method steps to implement a method for identifying driver distraction behavior provided in the above embodiment.

[0172] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a method for identifying driver distraction behavior provided by the above embodiment.

[0173] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0174] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0175] In the embodiments provided in the present application, 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 modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0176] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for identifying driver distraction behavior, characterized in that: The method comprises: When the vehicle is in a driving state, obtaining a facial image of the driver; Performing blur detection and reflection detection on the eye region in the facial image to obtain a target eye region, wherein the target eye region is an eye region whose blur degree and reflection degree meet preset conditions; Based on the eye state in the target eye area, the driver's distraction behavior during driving is identified.

2. The method according to claim 1, characterized in that The preset conditions include that the blur degree is less than a first intensity threshold and the reflection degree is less than a second intensity threshold, and the blur detection and reflection detection are performed on the eye area in the facial image to obtain the target eye area, including: Performing blur detection on the eye area to obtain a blur degree of the eye area; Performing a reflection detection on the eye area to obtain the reflection degree of the eye area; Based on the blur degree, the reflection degree and the preset condition, the target eye area is determined from the left eye area and the right eye area included in the eye area.

3. The method according to claim 2, characterized in that The determining the target eye area from the left eye area and the right eye area included in the eye area based on the blur degree, the reflection degree and the preset condition comprises: When the blur degree and the reflection degree of the left eye area meet the preset condition and the blur degree and the reflection degree of the right eye area do not meet the preset condition, determining the left eye area as the target eye area; When the blur degree and the reflection degree of the left eye area do not satisfy the preset condition and the blur degree and the reflection degree of the right eye area satisfy the preset condition, determining the right eye area as the target eye area; When the blur degree and the reflection degree of the left eye area, and the blur degree and the reflection degree of the right eye area do not satisfy the preset condition, determining the reason why the preset condition is not satisfied; In the case where the cause matches a preset cause, the target vehicle component is adjusted based on the preset cause to reacquire the target eye area whose blur and reflection levels meet the preset conditions. The target vehicle component is a vehicle component that can overcome the problem corresponding to the preset cause.

4. The method according to claim 3, characterized in that The reason for determining that the preset condition is not met includes: Detecting the light intensity of a target space area in the vehicle, where the target space area corresponds to a shooting angle when the vehicle-mounted camera captures the facial image; In a case where the light intensity is less than or equal to a first preset intensity, determining that the cause includes weak light intensity; In a case where the light intensity is greater than or equal to a second preset intensity, determining that the cause includes that the light intensity is strong; When the light intensity is greater than the first preset intensity and less than the second preset intensity, detect whether the vehicle-mounted camera is focused on the eye area, and when the vehicle-mounted camera is not focused on the eye area, determine that the cause includes a focus deviation of the vehicle-mounted camera.

5. The method according to claim 3, characterized in that: The adjusting the target vehicle component based on the preset reason includes: When the preset reason includes weak light intensity at the left eye and the right eye, controlling the vehicle lights to remain on and adjusting the vehicle lights to a preset brightness; or, When the preset reason includes that the light intensity at the left eye and the right eye is strong, adjusting the shooting angle of the vehicle-mounted camera; or, When the preset reason includes that the vehicle-mounted camera has a focus deviation, the focal length of the vehicle-mounted camera is adjusted.

6. The method according to claim 1, characterized in that The identifying the driver's distraction behavior while driving based on the eye state in the target eye area includes: Performing state detection on the mouth area in the facial image to determine the mouth state of the driver; Based on the eye state and the mouth state in the target eye area, the fatigue driving behavior of the driver in the driving state is identified to identify the distraction behavior of the driver in the driving state.

7. The method according to claim 6, characterized in that The identifying the driver's fatigue driving behavior in a driving state based on the eye state and the mouth state in the target eye area includes: When the mouth state is an open state and the eyes state is a closed state, determining that the driver has fatigue driving behavior while driving; When the mouth state is an open state and the eye state is an open eye state, the driver's fatigue driving behavior in the driving state is identified based on whether the eye state is in a congestion state and the degree of opening of the eye.

8. The method according to claim 7, characterized in that When the mouth state is in an open state and the eyes state is in an open state, based on whether the eyes are in a congested state and the degree of opening, identifying the fatigue driving behavior of the driver in a driving state includes: When the mouth is in an open state, the eyes are in an open state, the degree of opening is less than the first preset degree, the eyes are in a congested state, and there are tears in the eyes in the target eye area, it is determined that the driver is fatigued while driving.

9. The method according to claim 7, characterized in that: When the mouth state is an open state and the eyes state is a closed state, determining that the driver has fatigue driving behavior while driving includes: When the mouth is in an open state and the eyes are in a closed state, determining whether the driver has fatigue driving behavior at each of a plurality of moments after a first moment, the first moment being the moment when the facial image is acquired; Taking the first moment as a reference, determining the number of consecutive moments in which the driver has fatigue driving behavior in the results corresponding to the multiple moments, and determining the duration of the driver's fatigue driving behavior in the driving state based on the number and the time interval between adjacent moments; When the duration is greater than a first preset duration, it is determined that the driver has fatigue driving behavior while driving.

10. The method according to claim 9, characterized in that After determining the duration of the driver's fatigue driving behavior in the driving state, the method further includes: When the duration is less than or equal to the first preset duration, determining that the driver does not have fatigue driving behavior in the driving state; The result that the driver has fatigue driving behavior in the driving state corresponding to the first moment is corrected to that the driver does not have fatigue driving behavior.

11. The method according to claim 9, characterized in that When the duration is longer than a first preset duration, determining that the driver has fatigue driving behavior while driving includes: When the duration is greater than the first preset duration and less than the second preset duration, it is determined that the driver has mild fatigue driving behavior while driving; When the duration is greater than or equal to the second preset duration and less than the third preset duration, it is determined that the driver has moderate fatigue driving behavior while driving; When the duration is greater than or equal to the third preset duration, it is determined that the driver has severe fatigue driving behavior while driving.

12. The method according to claim 1, characterized in that The identifying the driver's distraction behavior while driving based on the eye state in the target eye area includes: determining whether the eye state indicates that the driver is looking straight ahead; When the eye state indicates that the driver is not looking straight ahead, it is determined that the driver has distracted behavior while driving.

13. A device for identifying driver distraction behavior, characterized in that: The device comprises: An acquisition module, used for acquiring a facial image of the driver when the vehicle is in a driving state; A determination module, configured to perform blur detection and reflection detection on the eye region in the facial image to obtain a target eye region, wherein the target eye region is an eye region whose blur degree and reflection degree meet preset conditions; A recognition module is used to recognize the distraction behavior of the driver in a driving state based on the eye state in the target eye area.

14. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an executable program code, and when the executable program code is executed, the method according to any one of claims 1 to 12 is implemented.

Citation Information

Patent Citations

  • Fatigue driving detection method based on eye and mouth states

    CN104809445A

  • Fatigue driving state detection method and device, computer equipment and storage medium

    CN108830240A

  • Driver fatigue state recognition method and system, electronic device and storage medium

    CN110826521A

  • Driving state detection method and device, driver monitoring system and vehicle

    CN111079475A

  • Fatigue detection and judgment method and device based on driver face information

    CN117475414A