Fatigue driving detection method, device and equipment and computer readable storage medium
By identifying the driver's gaze direction information and gaze hysteresis behavior, fatigue levels are generated, which solves the problem of low fatigue detection accuracy in the existing technology, enables early detection of driver inattention and distraction, and significantly improves detection efficiency. Accuracy.
Patent Information
- Application Number
- CN202411093917.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-10-15
AI Technical Summary
Existing fatigue driving detection methods have low accuracy in detecting driver fatigue and cannot detect symptoms of driver inattention and distraction in advance.
By obtaining the driver's gaze pointing information, identifying non-driving gaze information and gaze lag information, generating a fatigue level, using the matching of the gaze point and the preset driving-related area, and the relative distance between adjacent gaze landing points in time, the calculation The non-driving gaze score and the gaze lag score are combined to determine the fatigue level.
The accuracy of driver fatigue detection is improved, and inattention and distraction can be detected in advance before the driver develops symptoms of deep fatigue such as eye closure or high-frequency blinking, which significantly improves detection accuracy.
Smart Images

Figure CN118770236A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of fatigue detection, and in particular to a fatigue driving detection method, device, equipment and computer-readable storage medium. Background Art
[0002] With the development of automobile technology, people are paying more and more attention to safe driving. In order to reduce road safety accidents caused by driver fatigue driving, current vehicles are usually equipped with fatigue detection systems.
[0003] Existing fatigue driving detection methods usually use the frequency of the driver's eye opening and closing to identify the driver's fatigue level. However, in actual driving scenarios, the driver may already be in a fatigued state before his eyes are closed or he blinks frequently, so the existing fatigue driving detection methods have low accuracy in detecting driver fatigue. Summary of the invention
[0004] The main purpose of this application is to provide a fatigue driving detection method, aiming to solve the technical problem that the existing fatigue driving detection method has low accuracy in detecting driver fatigue.
[0005] To achieve the above objectives, in a first aspect, the present application provides a fatigue driving detection method, the fatigue driving detection method comprising the following steps:
[0006] Obtaining the driver's sight direction information;
[0007] identifying the non-driving gaze information and the gaze hysteresis information of the driver according to the gaze direction information;
[0008] The driver's fatigue level is generated according to the non-driving gaze information and the gaze hysteresis information.
[0009] According to the first aspect, the step of identifying the non-driving gaze information and the sight hysteresis information of the driver according to the sight direction information comprises:
[0010] According to the sight line direction information, identifying the sight line point of the driver;
[0011] Matching the sight point with a preset driving-related area to obtain the non-driving gaze information of the driver;
[0012] The driver's sight delay information is obtained according to the relative distances between the sight points that are adjacent in time sequence.
[0013] According to the first aspect, or any implementation of the first aspect above, the step of matching the sight point with a preset driving-related area to obtain the non-driving gaze information of the driver includes:
[0014] The sight point being outside the preset driving-related area is regarded as a non-driving gaze event, and a first maximum duration and a first occurrence frequency of the non-driving gaze event are determined;
[0015] The first maximum duration and the first occurrence frequency of the non-driving gaze event are used as the non-driving gaze information of the driver.
[0016] According to the first aspect, or any implementation of the first aspect above, the step of obtaining the driver's sight hysteresis information according to the relative distance between the time-sequentially adjacent sight points includes:
[0017] The relative distance between the time-series adjacent sight points that is less than the preset hysteresis distance is regarded as a sight hysteresis event, and the second maximum duration and the second occurrence frequency of the sight hysteresis event are determined;
[0018] The second maximum duration and the second occurrence frequency of the vision lag event are used as the vision lag information of the driver.
[0019] According to the first aspect, or any implementation of the first aspect above, the step of generating the driver's fatigue level according to the non-driving gaze information and the sight hysteresis information includes:
[0020] Calculating a non-driving gaze score according to a first maximum duration, a first occurrence frequency, and a first preset weight of the non-driving gaze event;
[0021] Calculating a sight hysteresis score according to the second maximum duration, the second occurrence frequency and the second preset weight of the sight hysteresis event;
[0022] A comprehensive fatigue score and its corresponding fatigue level are calculated according to the non-driving gaze score and the gaze hysteresis score.
[0023] According to the first aspect, or any implementation of the first aspect above, the step of obtaining the driver's line of sight information includes:
[0024] Acquiring a head image of the driver;
[0025] Recognizing the head image to obtain the driver's head posture and pupil position;
[0026] According to the head posture and the pupil position, the real-time sight line direction of the driver is constructed as the sight line direction information of the driver.
[0027] According to the first aspect, or any implementation of the first aspect above, after the step of generating the driver's fatigue level according to the non-driving gaze information and the sight hysteresis information, the method further includes:
[0028] Acquiring the driver's misoperation information, wherein the misoperation information at least includes a third occurrence frequency of a preset misoperation event;
[0029] The fatigue level is updated according to the third occurrence frequency to obtain a new fatigue level of the driver.
[0030] In a second aspect, the present application provides a fatigue driving detection device, the fatigue driving detection device comprising:
[0031] An acquisition module, used to acquire the driver's sight direction information;
[0032] an identification module, configured to identify the non-driving gaze information and the sight hysteresis information of the driver according to the sight direction information;
[0033] A generating module is used to generate the driver's fatigue level according to the non-driving gaze information and the sight hysteresis information.
[0034] According to the second aspect, the identification module is further configured to:
[0035] According to the sight line direction information, identifying the sight line point of the driver;
[0036] Matching the sight point with a preset driving-related area to obtain the non-driving gaze information of the driver;
[0037] The driver's sight delay information is obtained according to the relative distances between the sight points that are adjacent in time sequence.
[0038] According to the second aspect, or any implementation of the second aspect, the identification module is further used to:
[0039] The step of matching the sight point with a preset driving-related area to obtain the non-driving gaze information of the driver includes:
[0040] The sight point being outside the preset driving-related area is regarded as a non-driving gaze event, and a first maximum duration and a first occurrence frequency of the non-driving gaze event are determined;
[0041] The first maximum duration and the first occurrence frequency of the non-driving gaze event are used as the non-driving gaze information of the driver.
[0042] According to the second aspect, or any implementation of the second aspect, the identification module is further used to:
[0043] The relative distance between the time-series adjacent sight points that is less than the preset hysteresis distance is regarded as a sight hysteresis event, and the second maximum duration and the second occurrence frequency of the sight hysteresis event are determined;
[0044] The second maximum duration and the second occurrence frequency of the vision lag event are used as the vision lag information of the driver.
[0045] According to the second aspect, or any implementation of the second aspect above, the generating module is further used to:
[0046] Calculating a non-driving gaze score according to a first maximum duration, a first occurrence frequency, and a first preset weight of the non-driving gaze event;
[0047] Calculating a sight hysteresis score according to the second maximum duration, the second occurrence frequency and the second preset weight of the sight hysteresis event;
[0048] A comprehensive fatigue score and its corresponding fatigue level are calculated according to the non-driving gaze score and the gaze hysteresis score.
[0049] According to the second aspect, or any implementation of the second aspect above, the acquisition module is further used to:
[0050] Acquiring a head image of the driver;
[0051] Recognizing the head image to obtain the driver's head posture and pupil position;
[0052] According to the head posture and the pupil position, the real-time sight line direction of the driver is constructed as the sight line direction information of the driver.
[0053] According to the second aspect, or any implementation of the second aspect above, the fatigue driving detection device is further used for:
[0054] Acquiring the driver's misoperation information, wherein the misoperation information at least includes a third occurrence frequency of a preset misoperation event;
[0055] The fatigue level is updated according to the third occurrence frequency to obtain a new fatigue level of the driver.
[0056] In a third aspect, the present application provides a fatigue driving detection device, which includes: a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the computer program is configured to implement the steps of the fatigue driving detection method as described above.
[0057] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor executes the fatigue driving detection method as described above.
[0058] In a fifth aspect, an embodiment of the present application provides a computer program, which includes instructions for executing the fatigue driving detection method as described above.
[0059] The present application proposes a fatigue driving detection method, device, equipment and computer-readable storage medium, which obtains the driver's line of sight information; identifies the driver's non-driving gaze information and line of sight hysteresis information according to the line of sight information; and generates the driver's fatigue level according to the non-driving gaze information and the line of sight hysteresis information. The present application identifies the driver's gaze behavior unrelated to driving and the behavior of delayed line of sight change through the driver's line of sight information, so that the driver's inattention and distraction can be reflected through the above behaviors, and the driver's fatigue level can be generated. Therefore, compared with the existing method of identifying the driver's fatigue level by the frequency of the driver's eye opening and closing, the present application can detect the driver's inattention and distraction in advance through the driver's line of sight information before the driver shows symptoms of deeper fatigue such as eye closure or high-frequency blinking, effectively improving the accuracy of driver fatigue detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 This is a flow chart of the first embodiment of the fatigue driving detection method of the present application;
[0061] Figure 2 This is a flow chart of the second embodiment of the fatigue driving detection method of the present application;
[0062] Figure 3 This is a flow chart of the third embodiment of the fatigue driving detection method of the present application;
[0063] Figure 4 This is a schematic diagram of the structure of the fatigue driving detection device of this application;
[0064] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.
[0065] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0066] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0067] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0068] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of objects. For example, a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.
[0069] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0070] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0071] Please refer to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the fatigue driving detection method of the present application. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
[0072] The first embodiment of the present application provides a fatigue driving detection method, which comprises the following steps:
[0073] Step S100, obtaining the driver's sight direction information;
[0074] In this embodiment, it should be noted that the sight line direction information includes the real-time sight line direction of the driver.
[0075] As an example, this embodiment can capture the driver's head image through a camera, and then track the driver's pupils in the head image to obtain the driver's real-time line of sight direction as the driver's line of sight direction information.
[0076] As another example, in order to further improve the accuracy of the driver's sight line information, after collecting the driver's head image through a camera, this embodiment can recognize the head image to obtain the driver's head posture and pupil position. According to the head posture and the pupil position, the driver's real-time sight line direction is constructed as the driver's sight line information.
[0077] In some embodiments, the step of obtaining the driver's sight direction information in step S100 includes:
[0078] Step S110, obtaining a head image of the driver;
[0079] Step S120, identifying the head image to obtain the driver's head posture and pupil position;
[0080] Step S130, constructing the real-time sight line direction of the driver as the sight line direction information of the driver according to the head posture and the pupil position.
[0081] Since the existing sight tracking algorithm only uses human eye features as the input of the neural network to identify the sight direction, the head posture will also affect the sight direction. Therefore, in this embodiment, the driving position can be photographed by a camera to obtain the driver's head image, and then the head image is recognized to obtain the driver's head posture and pupil position. Exemplarily, the detection algorithm for recognizing the head image includes at least one of RCNN (Region Convolutional Neural Networks, regional convolutional neural network) detection algorithm, YOLO detection algorithm, SSD (Single Shot MultiBox Detector, single point multi-scale target detector) detection algorithm, and Anchor-free target detection algorithm to process the head image to obtain the driver's head posture and pupil position. Then, the head posture and the pupil position are input into a preset sight prediction model to obtain the driver's real-time sight direction as the driver's sight direction information. The preset sight prediction model is a pre-trained neural network model with input features of head posture and pupil position and output features of real-time sight direction.
[0082] Therefore, this embodiment constructs the real-time line of sight direction by comprehensively considering the driver's head posture and pupil position. Compared with the recognition method that only considers the pupil position, this embodiment takes into account the influence of the driver's head posture on the line of sight direction, and effectively improves the accuracy of the driver's line of sight direction information.
[0083] Step S200, identifying the non-driving gaze information and the gaze hysteresis information of the driver according to the gaze direction information;
[0084] In this embodiment, it should be noted that the non-driving gaze information is information describing the driver's gaze behavior that is not related to driving, such as the time, duration, frequency, etc. when the driver's sight point is outside the preset driving-related area (such as the rearview mirror area, the front glass area, etc.). The sight hysteresis information is information describing the driver's sight change hysteresis behavior, such as the time, duration, frequency, etc. when the relative distance between the time-series adjacent sight points is less than the preset hysteresis distance.
[0085] This embodiment can identify the driver's sight point according to the sight direction information, and then match the sight point with the preset driving-related area to obtain the driver's non-driving gaze information, and obtain the driver's sight hysteresis information according to the relative distance between the sight points that are adjacent in time sequence. As an example, this embodiment can regard the sight point outside the preset driving-related area as a non-driving gaze event, and determine the first maximum duration and first occurrence frequency of the non-driving gaze event; the first maximum duration and first occurrence frequency of the non-driving gaze event are used as the driver's non-driving gaze information. As another example, this embodiment can regard the relative distance between the sight points that are adjacent in time sequence as a sight hysteresis event that is less than the preset hysteresis distance, and determine the second maximum duration and second occurrence frequency of the sight hysteresis event; the second maximum duration and second occurrence frequency of the sight hysteresis event are used as the driver's sight hysteresis information.
[0086] Step S300: generating the driver's fatigue level according to the non-driving gaze information and the vision hysteresis information.
[0087] As an example, this embodiment can pre-construct the correspondence between the non-driving gaze information and the visual hysteresis information and the fatigue level. Then, the first fatigue level of the non-driving gaze information can be obtained according to the non-driving gaze information and the correspondence, and the second fatigue level of the visual hysteresis information can be obtained according to the visual hysteresis information and the correspondence. Then, the highest level of the first fatigue level and the second fatigue level can be used as the fatigue level of the driver.
[0088] As another example, this embodiment can calculate the non-driving gaze score according to the indicator parameters in the non-driving gaze information (such as the first maximum duration and the first occurrence frequency of the non-driving gaze event) and the first preset weight; and calculate the sight hysteresis score according to the indicator parameters in the sight hysteresis information (such as the second maximum duration and the second occurrence frequency of the sight hysteresis event) and the second preset weight. Then, according to the non-driving gaze score and the sight hysteresis score, the comprehensive fatigue score is calculated, and according to the corresponding relationship between the preset comprehensive fatigue score and the fatigue level, the fatigue level corresponding to the comprehensive fatigue score is obtained.
[0089] In the first embodiment of the present application, the driver's line of sight information is obtained; based on the line of sight information, the non-driving gaze information and line of sight hysteresis information of the driver are identified; based on the non-driving gaze information and the line of sight hysteresis information, the driver's fatigue level is generated. The present application identifies the driver's gaze behavior unrelated to driving and the line of sight change hysteresis behavior through the driver's line of sight information, so that the driver's inattention and distraction can be reflected through the above behaviors, and the driver's fatigue level can be generated. Therefore, compared with the existing method of identifying the driver's fatigue level by the frequency of the driver's eye opening and closing, the present application can detect the driver's inattention and distraction in advance through the driver's line of sight information before the driver shows symptoms of deeper fatigue such as eye closure or high-frequency blinking, thereby effectively improving the accuracy of driver fatigue detection.
[0090] Reference Figure 2 , Figure 2 This is a flow chart of the second embodiment of the fatigue driving detection method of the present application.
[0091] In another embodiment of the present application, the same or similar contents as those in the above embodiment can be referred to the above description and will not be described in detail later. The second embodiment of the present application provides a fatigue driving detection method, wherein the step of identifying the non-driving gaze information and the sight hysteresis information of the driver according to the sight direction information in step S200 includes:
[0092] Step S210, identifying the driver's sight point according to the sight direction information;
[0093] Step S220, matching the sight point with a preset driving-related area to obtain the non-driving gaze information of the driver;
[0094] Step S230, obtaining the driver's line of sight delay information according to the relative distance between the line of sight points that are adjacent in time sequence.
[0095] In this embodiment, it should be noted that the preset driving-related area is a pre-set area that the driver needs to observe during driving, such as a rearview mirror area, a front glass area, etc.
[0096] In this embodiment, the driver's sight point can be identified based on the driver's real-time sight direction in the sight direction information. Then the sight point can be matched with the preset driving-related area to obtain the time, duration, frequency of occurrence and other information when the driver's sight point is outside the preset driving-related area as the driver's non-driving gaze information. This embodiment can also identify whether the driver has been fixedly gazing at the same position for a long time (i.e., sight hysteresis) based on the relative distance between the time-series adjacent sight points, and obtain the time, duration, frequency of occurrence and other information when the relative distance between the time-series adjacent sight points is less than the preset hysteresis distance as the driver's sight hysteresis information.
[0097] In some embodiments, the step of matching the sight point with a preset driving-related area to obtain the non-driving gaze information of the driver in step S220 includes:
[0098] Step S221, treating the sight point being outside the preset driving-related area as a non-driving gaze event, and determining a first maximum duration and a first occurrence frequency of the non-driving gaze event;
[0099] Step S222: Using the first maximum duration and the first occurrence frequency of the non-driving gaze event as the non-driving gaze information of the driver.
[0100] In this embodiment, the sight point being outside the preset driving-related area can be regarded as a non-driving gaze event, and then the non-driving gaze event is timed to obtain the duration of the non-driving gaze event, and the maximum value among the durations of the non-driving gaze events in the current trip is used as the first maximum duration of the non-driving gaze event. Then, non-driving gaze events with a duration greater than a first preset threshold (such as 8 seconds, 10 seconds, 15 seconds, etc.) in the current period (such as the last 10 minutes, the last 15 minutes, the last 20 minutes, etc.) are recorded as occurring once, and the first occurrence frequency of the non-driving gaze event is obtained. Then, the first maximum duration and the first occurrence frequency of the non-driving gaze event can be used as the non-driving gaze information of the driver.
[0101] In some embodiments, the step of obtaining the driver's sight delay information according to the relative distance between the time-sequentially adjacent sight points in step S230 includes:
[0102] Step S231, treating a relative distance between sequentially adjacent sight lines that is less than a preset hysteresis distance as a sight hysteresis event, and determining a second maximum duration and a second occurrence frequency of the sight hysteresis event;
[0103] Step S232: taking the second maximum duration and the second occurrence frequency of the vision lag event as the vision lag information of the driver.
[0104] In this embodiment, it should be noted that the temporally adjacent sight points are sight points that are adjacent in time sequence, such as the sight point at the previous moment and the sight point at the current moment are temporally adjacent sight points.
[0105] In this embodiment, the relative distance between the time-series adjacent sight points that is less than the preset hysteresis distance can be regarded as a sight hysteresis event, and the sight hysteresis event can be timed to obtain the duration of the sight hysteresis event. Then the maximum duration of the sight hysteresis event in the current trip is taken as the second maximum duration of the sight hysteresis event. Then, the sight hysteresis event with a duration greater than the second preset threshold (such as 8 seconds, 10 seconds, 15 seconds, etc.) in the current period (such as the last 10 minutes, the last 15 minutes, the last 20 minutes, etc.) is recorded as occurring once, and the second occurrence frequency of the sight hysteresis event is obtained. Then, the second maximum duration and the second occurrence frequency of the sight hysteresis event can be used as the driver's sight hysteresis information.
[0106] In some embodiments, the step of generating the driver's fatigue level according to the non-driving gaze information and the sight hysteresis information in step S300 includes:
[0107] Step S310, calculating a non-driving gaze score according to a first maximum duration, a first occurrence frequency and a first preset weight of the non-driving gaze event;
[0108] Step S320, calculating a sight hysteresis score according to the second maximum duration, the second occurrence frequency and the second preset weight of the sight hysteresis event;
[0109] Step S330: Calculate a comprehensive fatigue score and its corresponding fatigue level according to the non-driving gaze score and the gaze hysteresis score.
[0110] In this embodiment, it should be noted that the first preset weight includes the weight value of the first maximum duration and the first occurrence frequency. The second preset weight includes the weight value of the second maximum duration and the second occurrence frequency. The weight values in the first preset weight and the second preset weight can be set according to specific needs.
[0111] In this embodiment, the non-driving gaze score can be calculated based on the first maximum duration, the first occurrence frequency and the first preset weight of the non-driving gaze event, and the sight hysteresis score can be calculated based on the second maximum duration, the second occurrence frequency and the second preset weight of the sight hysteresis event. Then, the sum of the non-driving gaze score and the sight hysteresis score can be used as a comprehensive fatigue score, or the non-driving gaze score and the sight hysteresis score can be weighted to obtain a comprehensive fatigue score. Then, according to the corresponding relationship between the preset comprehensive fatigue score and the fatigue level, the fatigue level corresponding to the comprehensive fatigue score can be obtained. Exemplarily, the calculation formula of the comprehensive fatigue score is as follows:
[0112] Sc=Q1*(p1*t1+p2*f1)+Q2*(p3*f2+p4*f2);
[0113] Among them, Sc is the comprehensive fatigue score, Q1 is the first preset weight, and Q2 is the second preset weight; t1 is the first maximum duration of the non-driving gaze event, f1 is the first occurrence frequency of the non-driving gaze event; t2 is the second maximum duration of the sight delay event, and f2 is the second occurrence frequency of the sight delay event; p1 is the coefficient for normalizing the first maximum duration t1, p2 is the coefficient for normalizing the first occurrence frequency f1, p3 is the coefficient for normalizing the second maximum duration t2, and p4 is the coefficient for normalizing the second occurrence frequency f2, which is used to unify the dimensions between the parameters so that the parameters are in the same order of magnitude. It can be understood that the coefficient used for normalization can be set according to specific needs. For example, the first maximum duration of the non-driving gaze event is 3 minutes, the first occurrence frequency is 5 times, and the first preset weight is 0.4; the second maximum duration of the sight delay event is 1 minute, the second occurrence frequency is 3 times, and the second preset weight is 0.6. Then the comprehensive fatigue score Sc = 0.3*(0.1*3+0.04*5)+0.7*(0.2*1+0.1*3) = 0.50. Then, according to the corresponding relationship between the preset comprehensive fatigue score and the fatigue level, the fatigue level corresponding to the comprehensive fatigue score is obtained.
[0114] In the second embodiment of the present application, the driver's sight point is identified based on the sight direction information. Then, the sight point can be matched with a preset driving-related area to obtain the driver's non-driving gaze information. According to the relative distance between the sight points adjacent in time sequence, the driver's sight delay information is obtained. Thus, this embodiment can identify non-driving gaze information and sight delay information describing symptoms such as the driver's inattention and distraction based on the driver's sight point.
[0115] Reference Figure 3 , Figure 3 This is a flow chart of the third embodiment of the fatigue driving detection method of the present application.
[0116] In another embodiment of the present application, the same or similar contents as those in the above embodiment can be referred to the above description and will not be described in detail later. The third embodiment of the present application provides a fatigue driving detection method. After the step of generating the driver's fatigue level according to the non-driving gaze information and the sight hysteresis information in step S300, the method further includes:
[0117] Step S400, obtaining the driver's misoperation information, wherein the misoperation information at least includes a third occurrence frequency of a preset misoperation event;
[0118] Step S500: updating the fatigue level according to the third occurrence frequency to obtain a new fatigue level of the driver.
[0119] In this embodiment, it should be noted that the misoperation information is information describing a preset misoperation event of the driver, and the preset misoperation event is a preset scenario in which the driver misoperates the vehicle, such as changing lanes and turning without turning on the turn signal, braking suddenly when there are no obstacles and red lights ahead, and changing lanes across multiple lanes. The misoperation information includes at least the third occurrence frequency of the preset misoperation event, and may also include the number of occurrences of the preset misoperation event in the current trip.
[0120] When the driver is fatigued, the number and frequency of incorrect vehicle operations will increase significantly due to lack of concentration and distraction.
[0121] As an example, this embodiment can obtain the driver's misoperation information, wherein the misoperation information includes at least a third occurrence frequency of a preset misoperation event. Then, according to the correspondence between the third occurrence frequency and the fatigue level, a third fatigue level corresponding to the third occurrence frequency is obtained. The highest level between the third fatigue level and the driver's fatigue level is used as the driver's new fatigue level.
[0122] As another example, this embodiment can obtain the misoperation score corresponding to the third occurrence frequency according to the correspondence between the third occurrence frequency and the misoperation score, and then perform weighted calculation on the misoperation score, the non-driving gaze score, and the sight lag score to obtain a new comprehensive fatigue score and its corresponding new fatigue level.
[0123] In the third embodiment of the present application, by obtaining the driver's misoperation information, wherein the misoperation information includes at least a third occurrence frequency of a preset misoperation event; the fatigue level is updated according to the third occurrence frequency to obtain the driver's new fatigue level. Thus, this embodiment further takes into account the situation that the driver may make misoperations in a fatigued state, and updates the fatigue level with the third occurrence frequency of a preset misoperation event, so that the new fatigue level of the driver is more accurate.
[0124] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of the fatigue driving detection device of this application.
[0125] like Figure 4 As shown, the present application provides a fatigue driving detection device, the fatigue driving detection device comprising:
[0126] An acquisition module 10 is used to acquire the driver's sight direction information;
[0127] An identification module 20, configured to identify the non-driving gaze information and the sight delay information of the driver according to the sight direction information;
[0128] The generating module 30 is used to generate the driver's fatigue level according to the non-driving gaze information and the sight hysteresis information.
[0129] Optionally, the identification module 20 is further configured to:
[0130] According to the sight line direction information, identifying the sight line point of the driver;
[0131] Matching the sight point with a preset driving-related area to obtain the non-driving gaze information of the driver;
[0132] The driver's sight delay information is obtained according to the relative distances between the sight points that are adjacent in time sequence.
[0133] Optionally, the identification module 20 is further configured to:
[0134] The step of matching the sight point with a preset driving-related area to obtain the non-driving gaze information of the driver includes:
[0135] The sight point being outside the preset driving-related area is regarded as a non-driving gaze event, and a first maximum duration and a first occurrence frequency of the non-driving gaze event are determined;
[0136] The first maximum duration and the first occurrence frequency of the non-driving gaze event are used as the non-driving gaze information of the driver.
[0137] Optionally, the identification module 20 is further configured to:
[0138] The relative distance between the time-series adjacent sight points that is less than the preset hysteresis distance is regarded as a sight hysteresis event, and the second maximum duration and the second occurrence frequency of the sight hysteresis event are determined;
[0139] The second maximum duration and the second occurrence frequency of the vision lag event are used as the vision lag information of the driver.
[0140] Optionally, the generating module 30 is further used for:
[0141] Calculating a non-driving gaze score according to a first maximum duration, a first occurrence frequency, and a first preset weight of the non-driving gaze event;
[0142] Calculating a sight hysteresis score according to the second maximum duration, the second occurrence frequency and the second preset weight of the sight hysteresis event;
[0143] A comprehensive fatigue score and its corresponding fatigue level are calculated according to the non-driving gaze score and the gaze hysteresis score.
[0144] Optionally, the acquisition module 10 is further used for:
[0145] Acquiring a head image of the driver;
[0146] Recognizing the head image to obtain the driver's head posture and pupil position;
[0147] According to the head posture and the pupil position, the real-time sight line direction of the driver is constructed as the sight line direction information of the driver.
[0148] Optionally, the fatigue driving detection device is also used for:
[0149] Acquiring the driver's misoperation information, wherein the misoperation information at least includes a third occurrence frequency of a preset misoperation event;
[0150] The fatigue level is updated according to the third occurrence frequency to obtain a new fatigue level of the driver.
[0151] The fatigue driving detection device provided by the present application adopts the fatigue driving detection method in the above-mentioned embodiments, and solves the technical problem that the existing fatigue driving detection method has low fatigue detection accuracy for the driver. Compared with the prior art, the beneficial effects of the fatigue driving detection device provided by the embodiment of the present application are the same as the beneficial effects of the fatigue driving detection method provided by the above-mentioned embodiment, and the other technical features in the fatigue driving detection device are the same as the features disclosed in the above-mentioned embodiment method, which will not be repeated here.
[0152] like Figure 5 As shown, Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.
[0153] Specifically, the fatigue driving detection device can be a VCU (Vehicle Control Unit), MCU (Micro-Controller Unit), PC (Personal Computer), tablet computer, portable computer or server and other devices.
[0154] like Figure 5 As shown, the fatigue driving detection device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0155] Those skilled in the art will understand that Figure 5 The device structure shown in the figure does not constitute a limitation on the fatigue driving detection device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0156] like Figure 5As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module and a computer program.
[0157] exist Figure 5 In the device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client and communicate data with the client; and the processor 1001 can be used to call the computer program stored in the memory 1005 to implement the operations in the fatigue driving detection method provided in the above embodiment.
[0158] In addition, an embodiment of the present application also proposes a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the operations in the fatigue driving detection method provided in the above embodiment are implemented. The specific steps will not be repeated here.
[0159] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity / operation / object from another entity / operation / object, and do not necessarily require or imply any such actual relationship or order between these entities / operations / objects; the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0160] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is only schematic, and the units described as separate components may or may not be physically separated. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present application scheme. Those of ordinary skill in the art can understand and implement it without paying creative work.
[0161] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0162] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, TV, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0163] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for detecting fatigue driving, characterized in that: The fatigue driving detection method comprises the following steps: Obtaining the driver's sight direction information; identifying the non-driving gaze information and the gaze hysteresis information of the driver according to the gaze direction information; The driver's fatigue level is generated according to the non-driving gaze information and the gaze hysteresis information.
2. The fatigue driving detection method according to claim 1, characterized in that: The step of identifying the non-driving gaze information and the sight hysteresis information of the driver according to the sight direction information comprises: According to the sight line direction information, identifying the sight line point of the driver; Matching the sight point with a preset driving-related area to obtain the non-driving gaze information of the driver; The driver's sight delay information is obtained according to the relative distances between the sight points that are adjacent in time sequence.
3. The fatigue driving detection method according to claim 2, characterized in that: The step of matching the sight point with a preset driving-related area to obtain the non-driving gaze information of the driver includes: The sight point being outside the preset driving-related area is regarded as a non-driving gaze event, and a first maximum duration and a first occurrence frequency of the non-driving gaze event are determined; The first maximum duration and the first occurrence frequency of the non-driving gaze event are used as the non-driving gaze information of the driver.
4. The fatigue driving detection method according to claim 3, characterized in that: The step of obtaining the driver's sight delay information according to the relative distance between the sight points adjacent in time sequence comprises: The relative distance between the time-series adjacent sight points that is less than the preset hysteresis distance is regarded as a sight hysteresis event, and the second maximum duration and the second occurrence frequency of the sight hysteresis event are determined; The second maximum duration and the second occurrence frequency of the vision lag event are used as the vision lag information of the driver.
5. The fatigue driving detection method according to claim 4, characterized in that: The step of generating the driver's fatigue level according to the non-driving gaze information and the sight hysteresis information comprises: Calculating a non-driving gaze score according to a first maximum duration, a first occurrence frequency, and a first preset weight of the non-driving gaze event; Calculating a sight hysteresis score according to the second maximum duration, the second occurrence frequency and the second preset weight of the sight hysteresis event; A comprehensive fatigue score and its corresponding fatigue level are calculated according to the non-driving gaze score and the gaze hysteresis score.
6. The fatigue driving detection method according to claim 1, characterized in that: The step of obtaining the driver's sight direction information includes: Acquiring a head image of the driver; Recognizing the head image to obtain the driver's head posture and pupil position; According to the head posture and the pupil position, the real-time sight line direction of the driver is constructed as the sight line direction information of the driver.
7. The fatigue driving detection method according to any one of claims 1 to 6, characterized in that: After the step of generating the driver's fatigue level according to the non-driving gaze information and the sight hysteresis information, the method further includes: Acquiring the driver's misoperation information, wherein the misoperation information at least includes a third occurrence frequency of a preset misoperation event; The fatigue level is updated according to the third occurrence frequency to obtain a new fatigue level of the driver.
8. A fatigue driving detection device, characterized in that: The fatigue driving detection device comprises: An acquisition module, used to acquire the driver's sight direction information; an identification module, configured to identify the non-driving gaze information and the sight hysteresis information of the driver according to the sight direction information; A generating module is used to generate the driver's fatigue level according to the non-driving gaze information and the sight hysteresis information.
9. A fatigue driving detection device, characterized in that: The fatigue driving detection device includes: a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the computer program is executed by the processor, the steps of the fatigue driving detection method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the fatigue driving detection method according to any one of claims 1 to 7 are implemented.
