Driver attention monitoring method, device, equipment and medium

Through visual sensors and Euclidean distance analysis, the driver's attention status is accurately determined and an early warning is issued, which solves the problem of insufficient attention monitoring accuracy in the existing technology and improves the accuracy and safety of driver attention recognition.

CN118372834BActive Publication Date: 2024-10-22CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410528928.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-29
Publication Date
2024-10-22
Estimated Expiration
2044-04-29

AI Technical Summary

Technical Problem

The accuracy of existing driver attention state monitoring technology needs to be improved, and it is difficult to accurately identify the driver's attention state, resulting in misjudgments and false alarms of early warning signals.

Method used

Obtain the driver's image through the visual sensor, determine the head area and line of sight center point, calculate the average value of the Euclidean distance, combined with the preset head tilt threshold interval, determine the driver's attention state, and issue an early warning signal when necessary, including Voice broadcast, vehicle device vibration and dashboard alarm.

Benefits of technology

It improves the recognition accuracy and reliability of the driver's attention state, reduces misjudgments, enhances driving safety, and provides a more accurate early warning mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118372834B_ABST
    Figure CN118372834B_ABST
Patent Text Reader

Abstract

The present invention discloses a driver attention monitoring method, device, equipment and medium, comprising: acquiring images of the driver at a preset frequency through a visual sensor; determining the head area in each of the images; determining the center point of each of the head areas as a reference point at a corresponding moment to obtain a reference point sequence arranged in chronological order; determining the driver's attention state according to the reference point sequence and the sight center point within a preset head swing cycle, wherein the sight center point is determined according to the installation position of the visual sensor. The monitoring accuracy of the driver's attention 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 driving safety technology, and in particular to a driver attention monitoring method, device, equipment and medium. Background Art

[0002] With the development of technology, cars have become an indispensable part of people's daily lives. However, the safety issue during driving has always been an important concern. The driver's attention state is one of the important factors affecting driving safety.

[0003] Therefore, how to effectively monitor the driver's attention state and remind the driver in time when necessary has become an important research direction in the current driver monitoring technology field. The existing driver attention state monitoring technology mainly uses cameras and other equipment to monitor the driver's facial expressions, eye movements, head postures, etc. in real time, and then analyzes the driver's attention state through a preset algorithm model. However, the accuracy of the existing driver attention state monitoring technology needs to be further improved.

[0004] In view of this, the present invention is proposed. Summary of the invention

[0005] A brief summary of one or more aspects is given below to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceived aspects, and is neither intended to identify the key or critical elements of all aspects nor to define the scope of any or all aspects. Its only purpose is to give some concepts of one or more aspects in a simplified form as a prelude to a more detailed description that will be given later.

[0006] In view of the fact that the accuracy of the driver attention monitoring method in the prior art needs to be further improved, the present application provides a driver attention monitoring method, which has the beneficial effect of improving the recognition accuracy and reliability of the driver's attention status.

[0007] In a first aspect, the present invention provides a method for monitoring driver attention, comprising the following steps:

[0008] Acquire an image of the driver at a preset frequency through a visual sensor;

[0009] determining a head region in each of the images;

[0010] Determine the center point of each of the head regions as a reference point at a corresponding moment to obtain a reference point sequence arranged in chronological order;

[0011] The driver's attention state is determined according to the reference point sequence and the sight center point within a preset head swing cycle, wherein the sight center point is determined according to the installation position of the visual sensor.

[0012] Furthermore, determining the driver's attention state according to the reference point sequence and the sight center point within the preset head swing cycle includes:

[0013] Calculating the Euclidean distance between each reference point in the reference point sequence within a preset swing period and the center point of the line of sight;

[0014] determining an average value of the Euclidean distances;

[0015] The driver's attention state is determined according to the average value and a preset head deviation threshold range.

[0016] Furthermore, determining the driver's attention state according to the average value and a preset head deviation threshold interval includes:

[0017] If the average value is greater than the upper limit threshold of the preset head deviation threshold interval, it is determined that the driver's attention state is abnormal;

[0018] If the average value is within the preset head deviation threshold range, it is determined that the driver's attention state is normal;

[0019] If the average values ​​corresponding to a plurality of consecutive preset head tilt cycles are all less than the lower limit threshold of the preset head tilt threshold interval, it is determined that the driver's attention state is abnormal.

[0020] Further, determining the head area in each of the images includes:

[0021] Each of the images is detected by using a Haar cascade classifier to obtain a head region in each of the images.

[0022] Furthermore, before determining the driver's attention state according to the reference point sequence and the sight center point in the preset head swing cycle, the method further includes:

[0023] The preset value is determined as the preset swing cycle; or, a matching correction coefficient is determined according to the current driving condition of the vehicle, and the product of the preset value and the correction coefficient is determined as the preset swing cycle.

[0024] Furthermore, the head region is a rectangular region, and determining the center point of each head region as a reference point at a corresponding moment includes:

[0025] Determine the center point of the rectangular area according to the coordinates of the four vertices of the rectangular area;

[0026] The center point of the rectangular area is determined as the center point of the head area.

[0027] Furthermore, it also includes:

[0028] In response to the driver's attention state being abnormal, detecting whether the vehicle is currently in a reversing state or a parking state;

[0029] In response to the vehicle currently being in a non-reversing state and a non-parking state, issuing a warning signal in a preset form;

[0030] In response to the driver's attention state not changing within a set time, the intensity of the warning signal is controlled to increase.

[0031] Furthermore, the issuing of the warning signal in a preset form includes one or more of the following:

[0032] Control the vehicle voice to broadcast preset content;

[0033] Control the vibration of the on-board device on the vehicle;

[0034] Display the warning sign on the instrument panel at a set frequency;

[0035] The driver attention monitoring method further includes:

[0036] The driver's attention status is recorded, and a report is generated based on the attention status within a set time period, and the report is displayed.

[0037] In a second aspect, the present invention further provides a driver attention monitoring device, comprising:

[0038] An acquisition module, used for acquiring an image of the driver at a preset frequency through a visual sensor;

[0039] A first determination module, used for determining a head area in each of the images;

[0040] A second determination module is used to determine the center point of each of the head regions as a reference point at a corresponding moment, so as to obtain a reference point sequence arranged in chronological order;

[0041] The third determination module is used to determine the driver's attention state according to the reference point sequence and the center point of the line of sight within a preset head shaking cycle, wherein the center point of the line of sight is determined according to the installation position of the visual sensor.

[0042] In a third aspect, the present invention further provides an electronic device, the electronic device comprising:

[0043] one or more processors;

[0044] A storage device for storing one or more programs;

[0045] When the one or more programs are executed by the one or more processors, the one or more processors implement the driver attention monitoring method as described above.

[0046] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the driver attention monitoring method as described above.

[0047] The driver attention monitoring method disclosed in the present invention first obtains the driver's image at a preset frequency through a visual sensor; then, determines the head area in each of the images; then determines the center point of each of the head areas as a reference point at a corresponding moment to obtain a reference point sequence arranged in chronological order; finally, determines the driver's attention state according to the reference point sequence and the center point of sight within a preset head swing cycle, wherein the center point of sight is determined according to the installation position of the visual sensor. A driver attention monitoring method with a new perspective is provided, which has a high recognition accuracy by determining the driver's attention state according to the motion trajectory of the reference point and the center point of sight, thereby achieving the purpose of improving the recognition accuracy and reliability of the driver's attention state. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0049] Figure 1 A flowchart of a driver attention monitoring method provided by an embodiment of the present invention;

[0050] Figure 2 A schematic diagram of an image coordinate system provided by an embodiment of the present invention;

[0051] Figure 3 A schematic diagram of the architecture of a driver attention monitoring method provided by an embodiment of the present invention;

[0052] Figure 4 A flowchart of a driver attention monitoring method provided by an embodiment of the present invention;

[0053] Figure 5 A schematic diagram of the structure of a driver attention monitoring device provided by an embodiment of the present invention;

[0054] Figure 6 FIG. 4 is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0055] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0056] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0057] Figure 1 This is a flow chart of a driver attention monitoring method proposed in this application, which is applicable to the scenario of identifying the driver's attention state during driving. Specifically, the driver attention monitoring method can be executed by a vehicle controller.

[0058] like Figure 1 As shown, the driver attention monitoring method includes the following steps:

[0059] S110 , acquiring an image of the driver at a preset frequency through a visual sensor.

[0060] It is understandable that the driver's attention state needs to be continuously monitored during the driving process. Therefore, it is necessary to continuously obtain images of the driver, that is, as time goes by, continuously obtain images of the driver at different times. Therefore, the obtained driver images are an image sequence arranged in chronological order.

[0061] The clearer the image of the driver is, the more it is conducive to improving the final accuracy of attention state recognition. The clearer the driver's head is in the image, the more it is conducive to improving the final accuracy of attention state recognition. Therefore, a high-definition camera with automatic zoom function (or a dual-light fusion camera to solve the problem of not being able to capture high-definition images at night or when the ambient light is insufficient) can be selected as a visual sensor, and the camera can be installed in a position directly above the driver and will not block the driver's line of sight to ensure that the driver's head can be captured in real time. The shooting frequency can be set to 30 frames per second and the aperture can be set to f / 2.8 to ensure that continuous images can be clearly captured under various lighting conditions.

[0062] S120: Determine a head region in each of the images.

[0063] Exemplarily, each of the images is detected by a Haar cascade classifier to obtain the head region in each of the images.

[0064] Specifically, the image of the driver collected by the camera is transmitted to the computing unit, and the computing unit can use the open source OpenCV target detection algorithm to process and analyze the image. OpenCV is a cross-platform computer vision library issued based on the BSD license (open source), which can run on Linux, Windows, Android and Mac OS operating systems. In this embodiment, the Haar cascade classifier of OpenCV is selected to detect the driver's facial area (i.e., face area) and regard it as the ROI (Region of Interest) area of ​​the driver's head. The Haar cascade classifier is a face detection method based on Haar-like features, which can effectively identify the driver's facial area (i.e., face area), has the advantages of high efficiency, accuracy, scalability, etc., and can directly use the detection model pre-trained by OpenCV.

[0065] Therefore, each of the images is detected by a Haar cascade classifier to obtain the head region in each of the images, which has the advantages of high efficiency and accuracy and lays a foundation for subsequent further calculations.

[0066] S130: Determine the center point of each of the head regions as a reference point at a corresponding moment, so as to obtain a reference point sequence arranged in chronological order.

[0067] Since the driver's image is multi-frame and is a sequence of images arranged in chronological order, the head areas corresponding to the images one by one are also a sequence arranged in chronological order. Similarly, the reference points corresponding to the head areas are also a sequence arranged in chronological order. Each reference point corresponds to a specific moment, indicating the position of the driver's head at a certain moment.

[0068] Exemplarily, the head region is a rectangular region, and determining the center point of each head region as a reference point at a corresponding moment includes:

[0069] Determine the center point of the rectangular area according to the coordinates of the four vertices of the rectangular area;

[0070] The center point of the rectangular area is determined as the center point of the head area.

[0071] Specifically, the face region detected by the Haar classifier (taken as the head region) is usually presented in the form of a rectangular frame on the image, and the vertex in the upper left corner of the image is usually used as the origin of the coordinate system, such as Figure 2Schematic diagram of an image coordinate system shown in FIG. 1 , in which the coordinates of the four vertices of the rectangular frame representing the head area can be expressed as P1 (x1, y1), P2 (x2, y2), P3 (x3, y3), and P4 (x4, y4), respectively. The coordinates (xc, yc) of the center point Pc of the rectangular area can be determined by the following calculation formula:

[0072] xc=(x1+x2+x3+x4) / 4, yc=(y1+y2+y3+y4) / 4.

[0073] S140, determining the driver's attention state according to the reference point sequence and the center point of the line of sight within a preset head shaking cycle, wherein the center point of the line of sight is determined according to the installation position of the visual sensor.

[0074] The preset head swing cycle can be set based on experience, or further corrected based on the current driving conditions of the vehicle. For example, when the vehicle is driving on a congested road, the driver may need to frequently swing the head to check the conditions around the vehicle, and the preset head swing cycle will be shorter at this time. When the vehicle is driving on a highway or on a relatively smooth road, the driver's head swing frequency will be lower, and the head swing cycle will be longer at this time.

[0075] Exemplarily, the preset value is determined as the preset head swing period, or the preset value is modified according to the current driving condition of the vehicle to obtain the preset head swing period.

[0076] Furthermore, the preset value is corrected according to the current driving condition of the vehicle to obtain the preset swing cycle, including:

[0077] A matching correction coefficient is determined according to the current driving condition of the vehicle, and the product of the preset value and the correction coefficient is determined as the preset swing period.

[0078] As mentioned above, the driver has a normal need to shake his head, so the driver's head deviation from the center position does not mean that the driver is not paying attention. Therefore, in this embodiment, a preset head shaking cycle is set (for example, under normal circumstances, the driver looks at the rearview mirror once every 1 second, and the preset head shaking cycle can be 1 second). The driver's attention state is determined by the driver's head movement within the preset head shaking cycle, which is conducive to improving recognition accuracy.

[0079] Exemplarily, determining the driver's attention state based on the reference point sequence and the center point of sight within a preset head swing cycle includes: respectively calculating the Euclidean distance between each reference point in the reference point sequence within the preset head swing cycle and the center point of sight; determining the average value of the Euclidean distance; and determining the driver's attention state based on the average value and a preset head deviation threshold interval.

[0080] For example, in one embodiment, a head swing cycle (i.e., the preset time period) of time T is defined, and the coordinates Pc of the center point (i.e., the reference point) of the head area in each frame image within the head swing cycle T are stored according to the sampling time and marked as: Pc1, Pc2...Pcn, where Pc1 is the first data within the head swing cycle T, and Pcn is the nth data within the head swing cycle T, which is also the last data. The Euclidean distance between each reference point and the center point of the line of sight is calculated respectively. Assume that the coordinates of the center point of the line of sight Ps are (x s ,y s ), the coordinates of the reference point Pc are (x c ,y c ), then the Euclidean distance L between the reference point Pc and the sight center point Ps can be determined by the following calculation formula:

[0081]

[0082] The Euclidean distances between each reference point and the center of sight are marked as L1, L2, ... n , and then calculate the average value Lmean of these Euclidean distances, that is, Lmean=(L1+L2+…+L n ) / n.

[0083] The sight center point is determined according to the installation position of the visual sensor and can be pre-calibrated, and the sight center point represents the center position of the driver's sight when he is concentrating on driving. By calculating the average value of the distance between the center point of the driver's head area and the sight center point within a head swing cycle, the deviation of the driver's head from the center position (referring to the position of the driver's head when he is concentrating on driving) can be evaluated, and then the driver's concentration state can be determined.

[0084] Furthermore, determining the driver's attention state according to the average value and a preset head deviation threshold interval includes:

[0085] If the average value is greater than the upper limit threshold of the preset head deviation threshold interval, the driver's attention state is determined to be abnormal; if the average value is within the preset head deviation threshold interval, the driver's attention state is determined to be normal; if the corresponding average values ​​in multiple consecutive preset head deviation cycles are all less than the lower limit threshold of the preset head deviation threshold interval, the driver's attention state is determined to be abnormal.

[0086] Specifically, the average value L mean Compared with the preset head tilt threshold interval [L low , L High ] is compared, where the lower limit threshold L low and upper limit L High It is a configurable item. If L mean >LHigh , the driver is considered distracted and a warning signal needs to be sent to the intelligent warning system; if L mean <L low If this condition is met for multiple consecutive head swing cycles, it is considered that the driver's attention is reduced (distracted), and a warning message needs to be sent to the intelligent warning system; if L low ≤L mean ≤L High If the driver is shaking his head normally, there is no need to send an alarm signal to the intelligent warning system. Furthermore, when the intelligent warning system receives the alarm signal, it first determines whether the vehicle is in a reversing scene or stopped state. If neither is the case, it will send an alarm signal to the driver in the form of sound, light, vibration, etc.

[0087] By using continuous multi-frame image calculations to obtain the driver's head movement trajectory, further analysis of the head trajectory can reveal the driver's attention status, which can not only reduce the misjudgment of facial and eye movements, but also effectively eliminate the misjudgment of the driver's normal head shaking movements, thereby improving the accuracy of the warning.

[0088] Furthermore, the warning signal may be in the form of a sound alarm, such as a sound prompt of "Please pay attention to safety" issued every 2 seconds; the warning signal may be in the form of a vibration alarm, such as a vibration prompt issued every 2 seconds and lasting for 1 second; the warning signal may be in the form of a flashing warning prompt on the dashboard, such as a flashing yellow exclamation mark warning sign accompanied by a beeping sound, which lasts for 1 second; the warning signal may be in the form of any combination of the above warning forms.

[0089] The intensity and frequency of the warning signal will be automatically adjusted according to the driver's reaction speed and attention state. For example, if the driver does not respond within a short period of time (such as 1 minute), the intensity and frequency of the warning signal will increase; otherwise, the intensity and frequency of the warning signal will decrease or stop.

[0090] In summary, in response to the abnormal driver's attention state, detect whether the vehicle is currently in a reversing state or a parking state; in response to the vehicle being in a non-reversing state or a non-parking state, issue a warning signal in a preset form; in response to the driver's attention state not changing within a set time, control the intensity of the warning signal to increase. The issuing of the warning signal in a preset form includes one or more of the following:

[0091] Control the vehicle voice to broadcast preset content;

[0092] Control the vibration of the on-board device on the vehicle;

[0093] Display the warning sign on the instrument panel at a set frequency;

[0094] The driver attention monitoring method further comprises:

[0095] The driver's attention status is recorded, and a report is generated based on the attention status within a set period of time, and the report is displayed to remind the driver to pay attention to his driving habits, thereby improving driving safety.

[0096] In some optional embodiments, refer to Figure 3 The schematic diagram of the architecture of a driver attention monitoring method shown specifically includes: high-definition image acquisition - head movement trajectory calculation - attention determination - intelligent warning system for warning and generation of driving report.

[0097] In some optional embodiments, refer to Figure 4 The flowchart of a driver attention monitoring method shown specifically includes: high-definition image acquisition-head area detection-reference point trajectory calculation-attention determination-warning signal output-driving habit recording.

[0098] The driver attention monitoring method disclosed in the embodiment of the present invention uses high-precision sensor devices, such as high-definition cameras, dual-light fusion cameras, infrared cameras, etc., to track the driver's head in real time and collect data. These devices can provide high-quality images and data, providing reliable input for the head motion trajectory estimation algorithm, thereby improving the accuracy and reliability of the algorithm model.

[0099] The advanced target detection algorithm is used to generate the movement trajectory of the driver's head through real-time monitoring and data analysis of the driver's head, and accurately judge the driver's attention state. This algorithm can identify many head movements of the driver, such as lowering the head, tilting the head, and being still, so as to accurately judge whether the driver's attention is focused. The driver's head movement trajectory is obtained by calculating continuous multi-frame images, and further analysis of the head trajectory can obtain the driver's attention status, which can not only reduce the misjudgment of facial and eye movements, but also effectively eliminate the misjudgment of the driver's normal head shaking movement, thereby improving the accuracy of the warning.

[0100] This technical solution is not only applicable to normal driving conditions, but can also be used to monitor the driver's attention when he is tired, distracted, answering a phone call, etc., and has a wider application prospect. And it will decide whether to issue an early warning based on the travel scenario (reversing, vehicle stop, etc.).

[0101] The intelligent warning system is adopted. First, when it detects that the driver's attention has decreased, the system will automatically send out a warning signal, such as a sound alarm, a vibration alarm, a flashing warning sign on the dashboard, etc., to remind the driver to pay attention to safety in a timely manner to avoid missing the best time for intervention. Secondly, in the reversing scene, the head posture will deviate from the center of vision for a long time, so it is necessary to identify this scene and filter out such warnings. Finally, the system will also record the driver's attention status and form a report for the driver's reference to help the driver improve his driving habits and improve driving safety. With a customized design, the intensity and frequency of the warning signal will be automatically adjusted according to the driver's reaction speed and attention status, which will not interfere with the driver and can effectively remind the driver.

[0102] Figure 5 FIG. 1 is a schematic diagram of a driver attention monitoring device provided by an embodiment of the present invention, which can be integrated into a vehicle controller. Figure 5 As shown, the device includes: an acquisition module 510, a first determination module 520, a second determination module 530 and a third determination module 540.

[0103] The driver attention monitoring device provided in the embodiment of the present disclosure can execute the steps in the driver attention monitoring method provided in the method embodiment of the present disclosure, and the execution steps and beneficial effects are no longer repeated here.

[0104] Figure 6 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 6 , which shows a structural schematic diagram of an electronic device 500 suitable for implementing the embodiments of the present disclosure. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0105] like Figure 6 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device 508 into a random access memory (RAM) to implement the method of the embodiment described in the present disclosure. In RAM503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, ROM 502, and RAM503 are connected to each other via a bus 504. An I / O interface 505 is also connected to the bus 504. An input device 506, an output device 507, a storage device 508, and a communication device 509 are all connected to the I / O interface 505.

[0106] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart, thereby implementing the vehicle-mounted application layer signal processing method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0107] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0108] The computer readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device. The computer readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device executes the driver attention monitoring method in this embodiment.

[0109] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.

[0110] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0111] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0112] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and its core ideas of this application. The above is only the preferred implementation method of this application. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, ordinary technicians in this technical field can make several improvements, modifications or changes without departing from the principles of the present invention, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the inventive concept and technical solution to other occasions without improvement, should be regarded as the scope of protection of this application.

Claims

1. A driver attention monitoring method, It is characterized in that include: Acquire an image of the driver at a preset frequency through a visual sensor; determining a head region in each of the images; Determine the center point of each of the head regions as a reference point at a corresponding moment to obtain a reference point sequence arranged in chronological order; The driver's attention state is determined according to the reference point sequence and the sight center point within a preset head swing cycle, wherein the sight center point is determined according to the installation position of the visual sensor.

2. The driver attention monitoring method according to claim 1, It is characterized in that The determining the driver's attention state according to the reference point sequence and the sight center point within the preset head swing cycle includes: Calculating the Euclidean distance between each reference point in the reference point sequence within a preset swing period and the center point of the line of sight; determining an average value of the Euclidean distances; The driver's attention state is determined according to the average value and a preset head deviation threshold range.

3. The driver attention monitoring method according to claim 2, It is characterized in that The determining the driver's attention state according to the average value and a preset head deviation threshold interval includes: If the average value is greater than the upper limit threshold of the preset head deviation threshold interval, it is determined that the driver's attention state is abnormal; If the average value is within the preset head deviation threshold range, it is determined that the driver's attention state is normal; If the average values ​​corresponding to a plurality of consecutive preset head tilt cycles are all less than the lower limit threshold of the preset head tilt threshold interval, it is determined that the driver's attention state is abnormal.

4. The driver attention monitoring method according to claim 1, It is characterized in that Before determining the driver's attention state according to the reference point sequence and the sight center point in the preset head swing cycle, the method further includes: The preset value is determined as the preset swing cycle; or, a matching correction coefficient is determined according to the current driving condition of the vehicle, and the product of the preset value and the correction coefficient is determined as the preset swing cycle.

5. The driver attention monitoring method according to claim 1, It is characterized in that The head area is a rectangular area, and determining the center point of each head area as a reference point at a corresponding moment includes: Determine the center point of the rectangular area according to the coordinates of the four vertices of the rectangular area; The center point of the rectangular area is determined as the center point of the head area.

6. The driver attention monitoring method according to claim 1, It is characterized in that Also includes: In response to the driver's attention state being abnormal, detecting whether the vehicle is currently in a reversing state or a parking state; In response to the vehicle currently being in a non-reversing state and a non-parking state, issuing a warning signal in a preset form; In response to the driver's attention state not changing within a set time, the intensity of the warning signal is controlled to increase.

7. The driver attention monitoring method according to claim 6, It is characterized in that The issuing of the warning signal in a preset form includes one or more of the following: Control the vehicle voice to broadcast preset content; Control the vibration of the on-board device on the vehicle; Display the warning sign on the instrument panel at a set frequency; The driver attention monitoring method further comprises: The driver's attention status is recorded, and a report is generated based on the attention status within a set time period, and the report is displayed.

8. A driver attention monitoring device, It is characterized in that include: An acquisition module, used for acquiring an image of the driver at a preset frequency through a visual sensor; A first determination module, used for determining a head area in each of the images; A second determination module is used to determine the center point of each of the head regions as a reference point at a corresponding moment, so as to obtain a reference point sequence arranged in chronological order; The third determination module is used to determine the driver's attention state according to the reference point sequence and the center point of the line of sight within a preset head shaking cycle, wherein the center point of the line of sight is determined according to the installation position of the visual sensor.

9. An electronic device, It is characterized in that The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the driver attention monitoring method as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the driver attention monitoring method as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Driver distracting detection method and system and vehicle

    CN110390285A

  • Distraction driving alarm method and device, vehicle, medium, equipment and program product

    CN117173856A

  • Method and device for determining a visual deflection of a driver of a vehicle

    EP3392111A1

  • Method for early detecting change of vigilance and sensing device

    JP2007293587A

  • Driver distraction and drowsiness warning and sleepiness reduction for accident avoidance

    US20140139655A1