Safe driving protection method and device, electronic equipment and storage medium
The key points and features of the driver are extracted through the mediapipe and densepose networks, and combined with the GRU network and the random forest algorithm, it solves the problem of low accuracy of human posture recognition in driving scenes in the existing technology, achieves more accurate safe driving protection, and improves Driver's driving safety.
Patent Information
- Application Number
- CN202410984433.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing safe driving protection methods based on human posture recognition do not have high enough recognition accuracy in driving scenarios, making it difficult to be effective in practical applications.
The mediapipe algorithm is used to extract the driver's target key points, and the densepose network is used to extract human body features. The driver's current posture is determined through the GRU network. The importance of key points is analyzed based on the random forest algorithm, and corresponding alarms are issued to remind the driver.
It improves the accuracy of driver human posture recognition, ensures the accuracy of safe driving protection, and improves driving safety.
Smart Images

Figure CN118629019A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image recognition technology, and in particular to a safe driving protection method, device, electronic equipment and storage medium. Background Art
[0002] The safe driving of a vehicle mainly depends on the driver. When the driver is driving abnormally (for example, answering a call, playing with a mobile phone, etc.), his body posture will be quite different from that during normal driving. Therefore, safe driving protection can be achieved by identifying the driver's body posture.
[0003] Deep learning-based methods have been widely used in the field of human posture recognition. However, with regard to achieving safe driving protection through human posture recognition in driving scenarios, the recognition accuracy of current solutions is still not high enough, making it difficult to be effective in practical applications. Summary of the invention
[0004] In view of this, it is necessary to provide a safe driving protection method, device, electronic device and storage medium to solve the problem that the current safe driving protection method based on human posture recognition has low recognition accuracy.
[0005] In order to solve the above problems, the present invention provides a safe driving protection method, comprising: The target key points of the driver's real-time image are extracted based on the mediapipe algorithm, and the human body features are extracted based on the densepose network. The human body key points extracted by the mediapipe algorithm and the human body features extracted by the densepose network are used as the input of the GRU network, and the driver's current human body posture is determined based on the output of the GRU network; Based on the driver's current human posture, determine the driver's current dangerous driving level, and issue an alarm corresponding to the driver's current dangerous driving level; Among them, the target key points are determined based on the importance analysis of the key points of the human body based on the random forest algorithm.
[0006] In a possible implementation, the process of determining the target key point includes: Based on the mediapipe algorithm, human key points are extracted from each image in the sample image set to obtain a sample data set; Perform random sampling with replacement in the sample data set to obtain multiple sample data subsets with the same size of the sample data set; Construct multiple decision trees based on multiple sample data subsets to determine the importance of each key point of the human body; The human body key points whose importance is greater than the importance threshold are determined as target key points.
[0007] In a possible implementation, the human body key points include eye key points and mouth key points.
[0008] In a possible implementation, the determining the current human posture of the driver based on the output of the GRU network includes: Based on the output of the GRU network, determine the driver's current eye posture, mouth posture, and hand posture; The driver's current body posture is determined based on the driver's current eye posture, mouth posture and hand posture.
[0009] In a possible implementation, determining the current human body posture of the driver based on the current eye posture, mouth posture, and hand posture of the driver includes: Based on the driver's current eye posture, mouth posture and hand posture, determine that the driver's current human body posture is one of the following human body postures: Driving while fatigued, leaving the driving seat, playing with mobile phone, making phone calls, eating or smoking.
[0010] In a possible implementation, determining the current dangerous driving level of the driver based on the current human posture of the driver includes: When it is determined that the driver's current posture is fatigue driving or leaving the driving seat, the driver's current dangerous driving level is determined to be a level one risk; When it is determined that the driver's current posture is playing with a mobile phone or making a call, the driver's current dangerous driving level is determined to be a level 2 risk; When it is determined that the driver's current body posture is eating or smoking, it is determined that the driver's current dangerous driving level is a third-level risk.
[0011] In a possible implementation, issuing an alarm corresponding to the driver's current dangerous driving level includes: If the driver's current dangerous driving level is determined to be level one, a warning voice and buzzer prompt will be issued; If the driver's current dangerous driving level is determined to be level 2 risk, a warning voice is issued; When it is determined that the driver's current dangerous driving level is a level three risk, a prompt voice is issued.
[0012] The present invention also provides a safe driving protection device, comprising: An extraction module is used to extract target key points from the real-time image of the driver based on the mediapipe algorithm, and to extract human features from the real-time image of the driver based on the densepose network; A determination module is used to use the human key points extracted by the mediapipe algorithm and the human features extracted by the densepose network as the input of the GRU network, and determine the current human posture of the driver based on the output of the GRU network; A reminder module, used to determine the driver's current dangerous driving level based on the driver's current human body posture, and issue an alarm corresponding to the driver's current dangerous driving level; Among them, the target key points are determined based on the importance analysis of the key points of the human body based on the random forest algorithm.
[0013] The present invention also provides an electronic device, including a memory and a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the safe driving protection method as described above is implemented.
[0014] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the safe driving protection method as described above is implemented.
[0015] The beneficial effects of the present invention are as follows: the safe driving protection method, device, electronic device and storage medium provided by the present invention can firstly extract the target key points and human body features of the driver's real-time image, thereby providing a basis for determining the driver's human body posture. In addition, the target key points are determined after importance analysis of the human body key points by a random forest algorithm, thereby ensuring that the target key points can accurately reflect the human body posture. Then, the target key points and human body features of the driver's real-time image are input into a GRU network, and the driver's current human body posture is determined according to the output of the GRU network, thereby determining the driver's current dangerous driving level and reminding the driver. The present invention improves the accuracy of the driver's human body posture recognition, thereby ensuring the accuracy of safe driving protection and improving the driver's driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of a flow chart of an embodiment of a safe driving protection method provided by the present invention; Figure 2 A schematic diagram of a flow chart of an embodiment of a GRU model training process provided by the present invention; Figure 3 The key point connection of the human body provided by the present invention Figure 1 Schematic diagram of the process of the embodiment; Figure 4A schematic structural diagram of an embodiment of a safe driving protection device provided by the present invention; Figure 5 A schematic structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0018] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0019] In the description of the present invention, reference to an "embodiment" means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the described embodiments may be combined with other embodiments.
[0020] The safe driving of a vehicle mainly depends on the driver. When the driver is driving abnormally (for example, answering a call, playing with a mobile phone, etc.), his body posture will be quite different from that during normal driving. Therefore, safe driving protection can be achieved by identifying the driver's body posture.
[0021] Deep learning-based methods have been widely used in the field of human posture recognition. However, with regard to achieving safe driving protection through human posture recognition in driving scenarios, the recognition accuracy of current solutions is still not high enough, making it difficult to be effective in practical applications.
[0022] In order to improve the recognition accuracy of safe driving protection through human posture recognition in driving scenes, the present invention provides a safe driving protection method based on key points of the human body.
[0023] The specific embodiments are described in detail below: A specific embodiment of the present invention discloses a safe driving protection method, combining Figure 1 Come and see, Figure 1 The flowchart of an embodiment of the safe driving protection method provided by the present invention includes steps S101 to S103, wherein: In step S101, target key points are extracted from the real-time image of the driver based on the mediapipe algorithm, and human features are extracted from the real-time image of the driver based on the densepose network; In step S102, the human body key points extracted by the mediapipe algorithm and the human body features extracted by the densepose network are used as the input of the GRU network, and the current human body posture of the driver is determined based on the output of the GRU network; In step S103, based on the driver's current human posture, the driver's current dangerous driving level is determined, and an alarm corresponding to the driver's current dangerous driving level is issued; Among them, the target key points are determined based on the importance analysis of the key points of the human body based on the random forest algorithm.
[0024] During implementation, the target key points can be extracted from the real-time image of the driver through the mediapipe algorithm. The target key points can be determined by analyzing the importance of the key points of the human body through the random forest algorithm. Secondly, the human body features can be extracted from the real-time image of the driver through the densepose network to enhance the effect of subsequent human posture recognition.
[0025] After the extraction of target key points and human features is completed, the target key points and human features can be used as input of the GRU network, and then the driver's current human posture is determined according to the output of the GRU network.
[0026] Finally, according to the driver's current body posture, the driver's current dangerous driving level can be determined, and then the driver can be reminded according to the driver's current dangerous driving level to achieve the effect of safe driving protection.
[0027] The safe driving protection method provided by the present invention can be applied to safe driving protection scenarios of commercial vehicles, and can also be used in safe driving protection scenarios of other types of vehicles. The present invention does not make specific limitations on this.
[0028] Compared with the prior art, the safe driving protection method provided in this embodiment can first extract the target key points and human body features of the driver's real-time image, thereby providing a basis for determining the driver's human body posture. In addition, the target key points are determined after performing an importance analysis on the human body key points through a random forest algorithm, thereby ensuring that the target key points can accurately reflect the human body posture. Then, the target key points and human body features of the driver's real-time image are input into the GRU network, and the driver's current human body posture is determined according to the output of the GRU network, thereby determining the driver's current dangerous driving level and reminding the driver. The present invention improves the accuracy of the driver's human body posture recognition, thereby ensuring the accuracy of safe driving protection and improving the driver's driving safety.
[0029] Exemplarily, the process of determining the target key points includes: Based on the mediapipe algorithm, human key points are extracted from each image in the sample image set to obtain a sample data set; Perform random sampling with replacement in the sample data set to obtain multiple sample data subsets with the same size of the sample data set; Construct multiple decision trees based on multiple sample data subsets to determine the importance of each key point of the human body; The human body key points whose importance is greater than the importance threshold are determined as target key points.
[0030] Specifically, when determining the target key points, human key points can first be extracted from each image in the sample image set according to the mediapipe algorithm to obtain a sample data set.
[0031] Then, random sampling with replacement can be performed in the sample data set to obtain multiple sample data subsets of the same size. Subsequently, multiple decision trees can be constructed based on the multiple sample data subsets to determine the importance of each human key point, and then the human key points with an importance greater than the importance threshold are determined as target key points. By determining the target key points, the accuracy of subsequent human posture recognition can be improved.
[0032] Exemplarily, the human body key points include eye key points and mouth key points.
[0033] Specifically, since in a driving environment, the main body features of the driver are concentrated on the face, when extracting the body key points, the eye key points and the mouth key points can be extracted.
[0034] Exemplarily, the determining the current human posture of the driver based on the output of the GRU network includes: Based on the output of the GRU network, determine the driver's current eye posture, mouth posture, and hand posture; The driver's current body posture is determined based on the driver's current eye posture, mouth posture and hand posture.
[0035] Specifically, when determining the driver's current body posture according to the output of the GRU network, the driver's current eye posture, mouth posture and hand posture can be determined first according to the output of the GRU network, and then the driver's current body posture is determined through the driver's current eye posture, mouth posture and hand posture.
[0036] Exemplarily, determining the driver's current body posture based on the driver's current eye posture, mouth posture, and hand posture includes: Based on the driver's current eye posture, mouth posture and hand posture, determine that the driver's current human body posture is one of the following human body postures: Driving while fatigued, leaving the driving seat, playing with mobile phone, making phone calls, eating or smoking.
[0037] Specifically, according to the driver's current eye posture, mouth posture and hand posture, it can be determined that the driver's current human body posture belongs to one of the above postures. The above human body posture belongs to abnormal human body posture during driving. For human body posture under normal driving, since it does not cause safety risks, the present invention does not elaborate.
[0038] Exemplarily, determining the driver's current dangerous driving level based on the driver's current human posture includes: When it is determined that the driver's current posture is fatigue driving or leaving the driving seat, the driver's current dangerous driving level is determined to be a level one risk; When it is determined that the driver's current posture is playing with a mobile phone or making a call, the driver's current dangerous driving level is determined to be a level 2 risk; When it is determined that the driver's current body posture is eating or smoking, it is determined that the driver's current dangerous driving level is a third-level risk.
[0039] Specifically, when determining the driver's current dangerous driving level based on the driver's current human body posture, if the driver's current human body posture is fatigue driving or leaving the driving seat, it can be determined that the driver's current dangerous driving level is level one risk (high risk); if the driver's current human body posture is playing with a mobile phone or making or receiving calls, it can be determined that the driver's current dangerous driving level is level two risk (medium risk); if the driver's current human body posture is eating or smoking, it can be determined that the driver's current dangerous driving level is level three risk (general risk).
[0040] Exemplarily, the issuing of an alarm corresponding to the driver's current dangerous driving level includes: If the driver's current dangerous driving level is determined to be level one, a warning voice and buzzer prompt will be issued; If the driver's current dangerous driving level is determined to be level 2 risk, a warning voice is issued; When it is determined that the driver's current dangerous driving level is a level three risk, a prompt voice is issued.
[0041] Specifically, when it is determined that the driver's current dangerous driving level is a level one risk, a warning voice and a beep prompt can be issued through the voice device in the car; when it is determined that the driver's current dangerous driving level is a level two risk, a warning voice can be issued through the voice device in the car; when it is determined that the driver's current dangerous driving level is a level three risk, a prompt voice can be issued through the voice device in the car.
[0042] The following is a specific application scenario to better illustrate the technical solution of the present invention: The safe driving protection strategy provided by the present invention is activated when the car engine is started. First, the mediapipe key point detection algorithm is used to obtain a total of 18 human key point coordinates, mainly the coordinates of the eyes and mouth, and the coordinates are converted for easy calculation.
[0043] Based on these 18 points, the basic posture of the eyes and mouth is judged, and the deep learning method is combined for further posture judgment, and the key point skeleton information graph is generated and input into the deep learning model for training. Then the safety protection driving level is set, and the danger warning is set according to the safety protection driving level.
[0044] In addition, the camera can be activated to monitor unsafe driving postures in real time and display them on the screen.
[0045] Combination Figure 2 Come and see, Figure 2 The present invention provides a flow chart of an embodiment of the GRU model training process. During training, human body features are extracted from the real-time image of the driver through a densepose network, which can further improve the recognition accuracy.
[0046] Combination Figure 3 Come and see, Figure 3 The key point connection of the human body provided by the present invention Figure 1 Schematic diagram of the process of the embodiment. The present invention obtains 18 coordinates of the key points of the human body during key point extraction, mainly the coordinates of the eyes and mouth (6 for the left eye and the right eye, and 6 for the mouth). Figure 3 As shown, connecting the key points can reflect the facial state of the human body and can be used to recognize the human body posture.
[0047] The embodiment of the present invention also provides a safe driving protection device, combined with Figure 4 Come and see, Figure 4 This is a schematic diagram of the structure of an embodiment of a safe driving protection device provided by the present invention. The safe driving protection device 400 includes: An extraction module 401 is used to extract target key points from the real-time image of the driver based on the mediapipe algorithm, and to extract human features from the real-time image of the driver based on the densepose network; A determination module 402 is used to use the human body key points extracted by the mediapipe algorithm and the human body features extracted by the densepose network as inputs of the GRU network, and determine the current human body posture of the driver based on the output of the GRU network; The reminder module 403 is used to determine the current dangerous driving level of the driver based on the current human posture of the driver, and issue an alarm corresponding to the current dangerous driving level of the driver; Among them, the target key points are determined based on the importance analysis of the key points of the human body based on the random forest algorithm.
[0048] The specific implementation methods of each module of the safe driving protection device can refer to the description of the above-mentioned safe driving protection method, and have similar beneficial effects, which will not be repeated here.
[0049] It should be noted that the safe driving protection device can be set in the vehicle's on-board controller or as an independent device, and the present invention does not make specific limitations on this.
[0050] The embodiment of the present invention further provides an electronic device, Figure 5 Come and see, Figure 5 This is a structural diagram of an embodiment of an electronic device provided by the present invention. The electronic device 500 includes a processor 501, a memory 502, and a computer program stored in the memory 502 and executable on the processor 501. When the processor 501 executes the program, the safe driving protection method as described above is implemented.
[0051] As a preferred embodiment, the electronic device 500 further includes a display 503 for displaying that the processor 501 executes the safe driving protection method as described above.
[0052] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 502, and executed by the processor 501 to complete the present invention. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device 500. For example, the computer program may be divided into the extraction module 401, the determination module 402, and the reminder module 403 in the above embodiment, and the specific functions of each module are as described above, and are not described one by one here.
[0053] The electronic device 500 may be a desktop computer, a notebook, a PDA or a smart phone with an adjustable camera module.
[0054] Among them, the processor 501 may be an integrated circuit chip with signal processing capabilities. The above-mentioned processor 501 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0055] The memory 502 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory 502 is used to store programs, and the processor 501 executes the program after receiving an execution instruction. The process definition method disclosed in any of the above embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501.
[0056] The display 503 may be an LCD display screen or an LED display screen, for example, a display screen on a vehicle-mounted device.
[0057] Understandably, Figure 5 The structure shown is only a schematic diagram of the structure of the electronic device 500. The electronic device 500 may also include Figure 5 More or fewer components as shown. Figure 5Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0058] The electronic device provided according to the above embodiment of the present invention can be implemented with reference to the specific description of the safe driving protection method as described above according to the present invention, and has similar beneficial effects as the safe driving protection method as described above, which will not be repeated here.
[0059] An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the safe driving protection method as described above is implemented.
[0060] Generally speaking, the computer instructions for implementing the method of the present invention may be carried in any combination of one or more computer-readable storage media. Non-transitory computer-readable storage media may include any computer-readable media, except for the signal itself that is temporarily propagating.
[0061] Computer-readable storage media may be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more conductors, 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), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0062] Computer program codes for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages, in particular, Python suitable for neural network computing and platform frameworks based on TensorFlow, PyTorch, etc. may be used. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0063] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0064] The present invention discloses a safe driving protection method, device, electronic device and storage medium. Firstly, target key points and human features of a real-time image of a driver can be extracted, thereby providing a basis for determining the driver's human posture. In addition, the target key points are determined after importance analysis of the human key points by a random forest algorithm, thereby ensuring that the target key points can accurately reflect the human posture. Then, the target key points and human features of the real-time image of the driver are input into a GRU network, and the driver's current human posture is determined according to the output of the GRU network, thereby determining the driver's current dangerous driving level and reminding the driver. The present invention improves the accuracy of the driver's human posture recognition, thereby ensuring the accuracy of safe driving protection and improving the driver's driving safety.
[0065] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A safe driving protection method, characterized in that: include: The target key points of the driver's real-time image are extracted based on the mediapipe algorithm, and the human body features are extracted based on the densepose network. The human body key points extracted by the mediapipe algorithm and the human body features extracted by the densepose network are used as the input of the GRU network, and the driver's current human body posture is determined based on the output of the GRU network; Based on the driver's current human posture, determine the driver's current dangerous driving level, and issue an alarm corresponding to the driver's current dangerous driving level; Among them, the target key points are determined based on the importance analysis of the key points of the human body based on the random forest algorithm.
2. The safe driving protection method according to claim 1, characterized in that: The process of determining the target key points includes: Based on the mediapipe algorithm, human key points are extracted from each image in the sample image set to obtain a sample data set; Perform random sampling with replacement in the sample data set to obtain multiple sample data subsets with the same size of the sample data set; Construct multiple decision trees based on multiple sample data subsets to determine the importance of each key point of the human body; The human body key points whose importance is greater than the importance threshold are determined as target key points.
3. The safe driving protection method according to claim 2, characterized in that: The human body key points include eye key points and mouth key points.
4. The safe driving protection method according to claim 3, characterized in that: The output of the GRU network is used to determine the current posture of the driver, including: Based on the output of the GRU network, determine the driver's current eye posture, mouth posture, and hand posture; The driver's current body posture is determined based on the driver's current eye posture, mouth posture and hand posture.
5. The safe driving protection method according to claim 4, characterized in that: The determining the current human body posture of the driver based on the current eye posture, mouth posture and hand posture of the driver includes: Based on the driver's current eye posture, mouth posture and hand posture, determine that the driver's current human body posture is one of the following human body postures: Driving while fatigued, leaving the driving seat, playing with mobile phone, making phone calls, eating or smoking.
6. The safe driving protection method according to claim 5, characterized in that: The determining of the current dangerous driving level of the driver based on the current human posture of the driver includes: When it is determined that the driver's current posture is fatigue driving or leaving the driving seat, the driver's current dangerous driving level is determined to be a level one risk; When it is determined that the driver's current posture is playing with a mobile phone or making a call, the driver's current dangerous driving level is determined to be a level 2 risk; When it is determined that the driver's current body posture is eating or smoking, it is determined that the driver's current dangerous driving level is a third-level risk.
7. The safe driving protection method according to claim 6, characterized in that: The issuing of an alarm corresponding to the driver's current dangerous driving level includes: If the driver's current dangerous driving level is determined to be level one, a warning voice and buzzer prompt will be issued; If the driver's current dangerous driving level is determined to be level 2 risk, a warning voice is issued; When it is determined that the driver's current dangerous driving level is a level three risk, a prompt voice is issued.
8. A safe driving protection device, characterized in that: include: An extraction module is used to extract target key points from the real-time image of the driver based on the mediapipe algorithm, and to extract human features from the real-time image of the driver based on the densepose network; A determination module is used to use the human key points extracted by the mediapipe algorithm and the human features extracted by the densepose network as the input of the GRU network, and determine the current human posture of the driver based on the output of the GRU network; A reminder module, used to determine the driver's current dangerous driving level based on the driver's current human body posture, and issue an alarm corresponding to the driver's current dangerous driving level; Among them, the target key points are determined based on the importance analysis of the key points of the human body based on the random forest algorithm.
9. An electronic device, characterized in that: It includes a memory and a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the safe driving protection method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the safe driving protection method as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Image recognition method and device
CN113221734A
Hot-rolled strip steel plate shape convexity prediction method based on fuzzy reasoning algorithm
CN113627469A
Driver behavior recognition method based on attitude estimation feature fusion
CN114241458A
In-vehicle abnormal behavior monitoring method and device and computer storage medium
CN116363632A
Driver fatigue detection method based on multi-behavior characteristics and adjacent state information
CN118038419A
