A driving behavior recognition method, device and computer-readable storage medium
By combining the regression-based target detection and the human posture estimation model of the deep convolutional neural network, combined with the LKJ data and the driver's driving operation specifications, the collaborative work of the front and rear cameras solves the problem of inaccurate recognition of traditional systems in complex scenes. and the problem of slow calculation speed, achieving more efficient and intelligent driver driving behavior recognition.
Patent Information
- Application Number
- CN202110007808.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-05
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-01-05
AI Technical Summary
Traditional driver driving behavior recognition systems are difficult to accurately identify driving behaviors in complex scenes, and the calculation speed is slow, resulting in non-real-time recognition.
The target detection test model based on regression and the human posture estimation test model based on deep convolutional neural network are used to identify the synchronized video data, and the LKJ data and the driver's driving operation specification information are combined to conduct violation analysis. Through the collaboration of front and rear cameras Work to achieve full coverage detection.
It improves the accuracy and real-time performance of driver driving behavior recognition, reduces detection blind spots, and achieves end-to-end optimization and intelligent detection.
Smart Images

Figure CN112597965B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image analysis, and in particular to a driving behavior recognition method, device and computer-readable storage medium. Background Art
[0002] With the continuous modernization of railway locomotives, railway communication signals, railway lines and other equipment, driving safety monitoring and detection equipment plays an increasingly important role. The increasing speed of trains and the increasingly complex driving environment have brought a lot of pressure and challenges to the normal operation of the railway system. The standardized driving behavior of train drivers plays an important role in ensuring the safe and reliable operation of trains.
[0003] The traditional approach to driver behavior recognition systems is to use an object detection algorithm based on artificial features. When faced with complex scenes of cab images and multiple driving behavior target detection tasks, it is difficult to find an operator that can accurately describe the target features because the artificially extracted features are not universal. In addition, traditional classifiers are more susceptible to image interference, and subtle differences between categories will cause a significant decrease in classification accuracy. On the other hand, a large amount of cab video monitoring data has brought huge computational pressure to traditional target detection algorithms. The model's calculation speed is relatively slow, resulting in the inability to recognize the driver's driving behavior in real time.
[0004] It can be seen that how to improve the accuracy and real-time performance of driver driving behavior recognition is a problem that technical personnel in this field need to solve. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide a driving behavior recognition method, device and computer-readable storage medium, which can improve the accuracy and real-time performance of driver driving behavior recognition.
[0006] In order to solve the above technical problems, an embodiment of the present invention provides a driving behavior recognition method, comprising:
[0007] Acquire synchronous video data in the cab; wherein the synchronous video data includes video data collected by the front camera and video data collected by the rear camera;
[0008] Using the trained regression-based target detection test model and the deep convolutional neural network-based human posture estimation test model to identify the synchronized video data, so as to obtain the recognition result of the driver's driving behavior;
[0009] Based on the collected LKJ data and the pre-stored driver's driving operation specification information, the identification result of the driver's driving behavior is analyzed for violations to identify the illegal operation results existing in the synchronized video data.
[0010] Optionally, the training process of the target detection test model includes:
[0011] Perform frame extraction on the collected historical video data so that users can mark each data frame with the block diagram location information and behavior category used to characterize the driving behavior;
[0012] According to the behavior category marked on each data frame, data frames that meet the first category of driving behavior are selected from all the data frames as a first data training set;
[0013] The first data training set is used to iteratively train the established regression-based target detection training model until the detection accuracy and detection speed of the target detection training model meet the preset requirements, and the trained target detection training model is used as the target detection test model.
[0014] Optionally, the training process of the human posture estimation test model includes:
[0015] Perform frame extraction on the collected historical video data so that users can mark each data frame with the block diagram location information and behavior category used to characterize the driving behavior;
[0016] According to the behavior category marked on each data frame, data frames that meet the second type of driving behavior are selected from all the data frames as a second data training set;
[0017] The second data training set is used to iteratively train the established human posture estimation training model based on the deep convolutional neural network until the detection accuracy and detection speed of the human posture estimation training model meet the preset requirements, and the trained human posture estimation training model is used as the human posture estimation detection model.
[0018] Optionally, after performing violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information to identify the violation operation results existing in the synchronous video data, the method further includes:
[0019] The illegal operation results are uploaded to the locomotive depot client.
[0020] Optionally, after performing violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information to identify the violation operation results existing in the synchronous video data, the method further includes:
[0021] The illegal operation results are uploaded to the driver's handheld terminal.
[0022] Optionally, after performing violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information to identify the violation operation results existing in the synchronous video data, the method further includes:
[0023] Receive the verification result fed back by the locomotive depot client; wherein the verification result includes a calibration data frame marked with block diagram location information and behavior category;
[0024] The target detection test model and the human body posture estimation test model are trained using the calibration data frame to complete the calibration of the target detection test model and the human body posture estimation test model.
[0025] Optionally, after performing violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information to identify the violation operation results existing in the synchronous video data, the method further includes:
[0026] When there are illegal operation results in the synchronous video data, an alarm prompt is issued.
[0027] The embodiment of the present invention also provides a driving behavior recognition device, including an acquisition unit, a recognition unit and an analysis unit;
[0028] The acquisition unit is used to acquire synchronous video data in the cab; wherein the synchronous video data includes video data acquired by the front camera and video data acquired by the rear camera;
[0029] The recognition unit is used to recognize the synchronized video data using the trained regression-based target detection test model and the deep convolutional neural network-based human posture estimation test model to obtain a recognition result of the driver's driving behavior;
[0030] The analysis unit is used to perform violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information, so as to identify the violation operation results existing in the synchronous video data.
[0031] Optionally, for the training process of the target detection test model, the device includes a collection unit, a selection unit and a training unit;
[0032] The acquisition unit is used to perform frame extraction processing on the acquired historical video data, so that the user can mark each data frame with the block diagram position information and behavior category used to characterize the driving behavior;
[0033] The selection unit is used to select data frames that meet the first type of driving behavior from all the data frames as the first data training set according to the behavior category marked on each data frame;
[0034] The training unit is used to iteratively train the established regression-based target detection training model using the first data training set until the detection accuracy and detection speed of the target detection training model meet preset requirements, and then use the trained target detection training model as the target detection test model.
[0035] Optionally, for the training process of the human posture estimation test model, the device includes a collection unit, a selection unit and a training unit.
[0036] The acquisition unit is used to perform frame extraction processing on the acquired historical video data, so that the user can mark each data frame with the block diagram position information and behavior category used to characterize the driving behavior;
[0037] The selection unit is used to select data frames that meet the second type of driving behavior from all the data frames as the second data training set according to the behavior category marked on each data frame;
[0038] The training unit is used to iteratively train the established human posture estimation training model based on a deep convolutional neural network using the second data training set until the detection accuracy and detection speed of the human posture estimation training model meet preset requirements, and then use the trained human posture estimation training model as the human posture estimation detection model.
[0039] Optionally, an uploading unit is also included;
[0040] The uploading unit is used to perform violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information, so as to identify the violation operation results existing in the synchronized video data, and then upload the violation operation results to the locomotive depot client.
[0041] Optionally, an uploading unit is also included;
[0042] The uploading unit is used to perform violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information, so as to identify the violation operation results existing in the synchronized video data, and then upload the violation operation results to the driver's handheld terminal.
[0043] Optionally, it also includes a receiving unit and a calibration unit;
[0044] The receiving unit is used to receive the verification result fed back by the locomotive depot client; wherein the verification result includes a calibration data frame marked with block diagram position information and behavior category;
[0045] The calibration unit is used to train the target detection test model and the human posture estimation test model using the calibration data frame to complete the calibration of the target detection test model and the human posture estimation test model.
[0046] Optionally, a prompting unit is also included;
[0047] The prompt unit is used to issue an alarm prompt when there are illegal operation results in the synchronous video data.
[0048] The embodiment of the present invention further provides a driving behavior recognition device, comprising:
[0049] Memory for storing computer programs;
[0050] A processor is used to execute the computer program to implement the steps of any one of the driving behavior recognition methods described above.
[0051] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the driving behavior recognition method as described in any one of the above items are implemented.
[0052] It can be seen from the above technical scheme that the synchronous video data in the cab is obtained; wherein the synchronous video data includes the video data collected by the front camera and the video data collected by the rear camera; on the basis of setting the rear camera, by adding the front camera of the driver's cab, the multi-view images of the driver can be collected, and the driver's value multiplication state can be fully detected from the front and rear perspectives, further reducing the blind spots of video detection. The synchronous video data is identified using the trained regression-based target detection test model and the human posture estimation test model based on the deep convolutional neural network to obtain the recognition result of the driver's driving behavior; based on the collected LKJ data and the pre-stored driver's driving operation specification information, the recognition result of the driver's driving behavior is analyzed for violations to identify the illegal operation results in the synchronous video data. In this technical scheme, the regression-based target detection test model solves the detection problem of the driver's driving behavior as a regression problem, realizing end-to-end optimization in the true sense, thereby efficiently and intelligently detecting the driver's driving behavior. The human posture estimation test model based on the deep convolutional neural network has powerful computing power and can greatly improve the speed of driver posture detection. Through the coordination of the target detection test model and the human posture estimation test model, the accuracy and real-time performance of driver behavior recognition are effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0054] Figure 1 A flowchart of a driving behavior recognition method provided by an embodiment of the present invention;
[0055] Figure 2 A schematic diagram of a camera installation position provided by an embodiment of the present invention;
[0056] Figure 3 A schematic diagram of the structure of a driving behavior recognition device provided by an embodiment of the present invention;
[0057] Figure 4 A schematic diagram of the hardware structure of a driving behavior recognition device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0059] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0060] Next, a driving behavior recognition method provided by an embodiment of the present invention is described in detail. Figure 1 A flowchart of a driving behavior recognition method provided by an embodiment of the present invention, the method comprising:
[0061] S101: Acquire synchronous video data in the cab.
[0062] The synchronized video data includes video data collected by the front camera and video data collected by the rear camera.
[0063] In a traditional method, a rear camera is installed in the cab of a locomotive, wherein the rear camera may be a 6A system camera.
[0064] Considering that the rear camera cannot capture the driver in all directions, there are blind spots in the detection range. Therefore, in the embodiment of the present invention, a front camera is added on the basis of the original rear camera. The front camera and the rear camera can be installed in the cabs at both ends of the locomotive, and each cab is respectively equipped with a front camera and a rear camera. Figure 2 The schematic diagram of the camera installation position is shown.
[0065] The rear camera covers a wide range of the train cab, and can efficiently detect the driver's behaviors such as standing guard, looking out, and lying down to sleep. The front camera is installed on the train cab console, facing the front of the main driver. The front camera shoots the main driver at a closer distance and a more correct shooting angle, eliminating the detection blind spots of driver behavior recognition and achieving all-round shooting of the driver. The front camera can effectively improve the accuracy of the main driver's behavior recognition detection, such as driving behaviors such as dozing, tilting the head, and making hand gestures. The front camera and the rear camera simultaneously detect the driver's behavior in the cab, achieving all-round and multi-target detection tasks.
[0066] The cooperation between the front and rear cameras is very important. The driver behavior recognition system of the present invention designs a video synchronization technology, that is, first calibrating the front camera and the rear camera, performing data synchronization design through an external memory, and finally designing a cooperative control module to use the CPU to perform system control and association of multiple cameras. The front camera and the rear camera can transmit the real-time collected video data to the vehicle server.
[0067] S102: Using the trained regression-based target detection test model and the deep convolutional neural network-based human posture estimation test model to identify the synchronized video data, so as to obtain the recognition result of the driver's driving behavior.
[0068] The driver's driving behavior mainly includes 9 behavior categories, such as standing guard, making hand gestures, rocking arms, dozing off, tilting the head, looking out, lying down to sleep, holding the gate, and playing with mobile phones. In the embodiment of the present invention, the above 9 behavior categories are used as examples for explanation, but the embodiment of the present invention is not limited to the above 9 behavior categories.
[0069] In order to improve the speed and accuracy of driver's driving behavior recognition, in the embodiment of the present invention, a target detection test model and a human posture estimation test model are simultaneously used to recognize the synchronous video data.
[0070] The target detection test model uses a regression-based target detection algorithm to identify the driver's driving behavior. The detection problem of the driver's driving behavior can be solved as a regression problem to achieve true end-to-end optimization, thereby efficiently and intelligently detecting the driver's driving behavior. The target detection test model can be used to identify the driver's driving behaviors such as standing guard, looking out, holding the gate, playing with the phone, lying down to sleep, and swinging the arm.
[0071] In practical applications, the acquired synchronized video data can be input into the deep neural network of the target detection test model to extract features, and then the acquired features are input into the fully connected layer, which is responsible for outputting the predicted target location information and the probability P of belonging to the corresponding behavior category. Among them, the target location information includes the center point coordinates (x, y) of the border and the width w and height h of the border. In practical applications, the position that can reflect the driver's driving behavior in each frame of the video image can be marked by a border, and the target location information is the position information that can reflect the driver's driving behavior in each frame of the video image.
[0072] The human posture estimation test model based on deep convolutional neural network has powerful computing power and can greatly improve the speed of driver posture detection. The human posture estimation test model can be used to identify driver's driving behaviors such as hand gestures, head tilt and dozing.
[0073] In practical applications, the acquired synchronized video data can be input into the deep convolutional neural network of the human posture estimation test model to extract convolution features, and then the extracted convolution features can be regressed to obtain the confidence and affinity of the driver's human body key points. The detected key points are then clustered to obtain the key skeleton. Finally, the human posture is estimated for the key skeleton obtained previously in combination with the train driver's driving operation specifications.
[0074] S103: Based on the collected LKJ data and the pre-stored driver's driving operation specification information, the identification result of the driver's driving behavior is analyzed for violations to identify the violation operation results existing in the synchronized video data.
[0075] LKJ data refers to the data from the train operation monitoring and recording device, which records the train operation status, signal equipment status and crew operation status.
[0076] After using the target detection test model and the human posture estimation test model to identify the synchronized video data and obtain the recognition result of the driver's driving behavior, whether the driver's driving behavior complies with the driving specifications still needs to rely on the LKJ data and the pre-stored driver's driving operation specification information for further analysis.
[0077] Taking hand signals as an example, the driver's driving operation specification information records that the driver will only use hand signals when the vehicle enters or exits the station or encounters a traffic light. Therefore, combined with the LKJ data, it can be identified whether the driver's hand signals comply with the vehicle entering or exiting the station or encountering a traffic light. If the driver's hand signals comply with the vehicle entering or exiting the station or encountering a traffic light, it means that the driver's driving behavior is standard; if the driver's hand signals do not comply with the vehicle entering or exiting the station or encountering a traffic light, it means that the driver's driving behavior is not standard, and the driver's illegal operation results can be recorded at this time.
[0078] In the embodiment of the present invention, the trained target detection test model and the trained human posture estimation test model are the key to realizing the driver's driving behavior recognition. The training process of the model will be introduced below.
[0079] Taking the training process of the target detection test model as an example, in the specific implementation, the collected historical video data can be processed by frame extraction, so that the user can mark each data frame with the block diagram position information and behavior category used to characterize the driving behavior; based on the behavior category marked on each data frame, the data frames that meet the first type of driving behavior are selected from all data frames as the first data training set.
[0080] In an embodiment of the present invention, the target detection test model can be used to identify the driver's driving behaviors such as standing guard, looking out, holding the gate, playing with the mobile phone, lying down to sleep, and swinging the arm. Therefore, during model training, the driver's driving behaviors such as standing guard, looking out, holding the gate, playing with the mobile phone, lying down to sleep, and swinging the arm can be classified as the first type of driving behaviors.
[0081] After obtaining the first data training set, the first data training set can be used to iteratively train the established regression-based target detection training model until the detection accuracy and detection speed of the target detection training model meet the preset requirements, and the trained target detection training model is used as the target detection test model.
[0082] Taking the training process of the human posture estimation test model as an example, in the specific implementation, the collected historical video data can be processed by frame extraction, so that the user can mark each data frame with the block diagram position information and behavior category used to characterize the driving behavior; based on the behavior category marked on each data frame, the data frames that meet the second type of driving behavior are selected from all the data frames as the second data training set.
[0083] In an embodiment of the present invention, the human body posture estimation test model can be used to identify the driver's driving behaviors such as hand gestures, head tilt and dozing off. Therefore, during model training, the driver's driving behaviors such as hand gestures, head tilt and dozing off can be classified as the second type of driving behaviors.
[0084] After obtaining the second data training set, the second data training set can be used to iteratively train the established human posture estimation training model based on the deep convolutional neural network until the detection accuracy and detection speed of the human posture estimation training model meet the preset requirements, and the trained human posture estimation training model is used as the human posture estimation detection model.
[0085] During the model training process, the precision and recall rate can be used to evaluate the detection accuracy of the target detection training model, and the frame rate can be used to evaluate the detection speed of the target detection training model.
[0086] In an embodiment of the present invention, when the vehicle-mounted server detects that there are illegal operation results in the synchronous video data, an alarm prompt can be issued to attract the driver's attention in time and enable the driver to drive in a standardized manner.
[0087] It can be seen from the above technical scheme that the synchronous video data in the cab is obtained; wherein the synchronous video data includes the video data collected by the front camera and the video data collected by the rear camera; on the basis of setting the rear camera, by adding the front camera of the driver's cab, the multi-view images of the driver can be collected, and the driver's value multiplication state can be fully detected from the front and rear perspectives, further reducing the blind spots of video detection. The synchronous video data is identified using the trained regression-based target detection test model and the human posture estimation test model based on the deep convolutional neural network to obtain the recognition result of the driver's driving behavior; based on the collected LKJ data and the pre-stored driver's driving operation specification information, the recognition result of the driver's driving behavior is analyzed for violations to identify the illegal operation results in the synchronous video data. In this technical scheme, the regression-based target detection test model solves the detection problem of the driver's driving behavior as a regression problem, realizing end-to-end optimization in the true sense, thereby efficiently and intelligently detecting the driver's driving behavior. The human posture estimation test model based on the deep convolutional neural network has powerful computing power and can greatly improve the speed of driver posture detection. Through the coordination of the target detection test model and the human posture estimation test model, the accuracy and real-time performance of driver behavior recognition are effectively improved.
[0088] In an embodiment of the present invention, after performing violation analysis on the recognition results of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information to identify the violation operation results existing in the synchronized video data, the violation operation results can be uploaded to the locomotive depot client and the driver's handheld terminal.
[0089] In the specific implementation, the on-board server can transmit the illegal operation results to the locomotive depot client, that is, the computer terminal of the locomotive depot video safety analysis room, through the wireless network, so that safety analysts can query the driver's driving violation results.
[0090] The on-board server can also transmit the results of illegal operations to the driver's handheld terminal. When the driving operation is completed, the train driver can use the handheld terminal to promptly query the overall evaluation of the entire duty status and specific violation results.
[0091] The vehicle-mounted server transmits the results of illegal operations to the locomotive depot client, which allows safety analysts to timely understand the driver's driving situation and evaluate the driver's driving behavior based on the illegal operation results. The vehicle-mounted server transmits the results of illegal operations to the driver's handheld terminal, which allows the driver to timely understand his or her irregular behaviors during driving, so that he or she can correct them in time to ensure driving safety.
[0092] In an embodiment of the present invention, the safety analyst of the locomotive depot client can view the video data corresponding to the illegal operation result, and determine whether the driver actually has illegal operation during driving in combination with LKJ data, and whether the illegal behavior category contained in the illegal operation result is correct. When the illegal operation result obtained by the safety analyst through manual marking does not match the illegal operation result transmitted by the vehicle-mounted service end, the safety analyst can feedback the calibration data frame containing the block diagram position information and the behavior category marked to the vehicle-mounted service end through the locomotive depot client.
[0093] Correspondingly, when the on-board server receives the verification results fed back by the locomotive depot client, it can use the calibration data frame to train the target detection test model and the human posture estimation test model to complete the calibration of the target detection test model and the human posture estimation test model.
[0094] By calibrating the target detection test model and the human posture estimation test model, the detection accuracy of the target detection test model and the human posture estimation test model can be further improved.
[0095] Figure 3 A schematic diagram of the structure of a driving behavior recognition device provided by an embodiment of the present invention, comprising an acquisition unit 31, a recognition unit 32 and an analysis unit 33;
[0096] An acquisition unit 31 is used to acquire synchronous video data in the cab; wherein the synchronous video data includes video data acquired by the front camera and video data acquired by the rear camera;
[0097] The recognition unit 32 is used to recognize the synchronous video data using the trained regression-based target detection test model and the deep convolutional neural network-based human posture estimation test model to obtain the recognition result of the driver's driving behavior;
[0098] The analysis unit 33 is used to perform violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information, so as to identify the violation operation results existing in the synchronous video data.
[0099] Optionally, for the training process of the target detection test model, the device includes a collection unit, a selection unit and a training unit;
[0100] The acquisition unit is used to perform frame extraction processing on the acquired historical video data, so that the user can mark each data frame with the block diagram position information and behavior category used to characterize the driving behavior;
[0101] A selection unit, configured to select data frames that conform to the first type of driving behavior from all data frames as a first data training set according to the behavior categories marked on each data frame;
[0102] The training unit is used to iteratively train the established regression-based target detection training model using the first data training set until the detection accuracy and detection speed of the target detection training model meet the preset requirements, and then use the trained target detection training model as the target detection test model.
[0103] Optionally, for the training process of the human body posture estimation test model, the device includes a collection unit, a selection unit and a training unit
[0104] The acquisition unit is used to perform frame extraction processing on the acquired historical video data, so that the user can mark each data frame with the block diagram position information and behavior category used to characterize the driving behavior;
[0105] A selection unit, configured to select data frames that meet the second type of driving behavior from all data frames as a second data training set according to the behavior categories marked on each data frame;
[0106] A training unit is used to iteratively train the established human posture estimation training model based on a deep convolutional neural network using a second data training set until the detection accuracy and detection speed of the human posture estimation training model meet preset requirements, and the trained human posture estimation training model is used as the human posture estimation detection model.
[0107] Optionally, an uploading unit is also included;
[0108] The uploading unit is used to perform violation analysis on the identification results of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information, so as to identify the violation operation results existing in the synchronized video data, and then upload the violation operation results to the locomotive depot client.
[0109] Optionally, an uploading unit is also included;
[0110] The uploading unit is used to perform violation analysis on the identification results of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information, so as to identify the violation operation results existing in the synchronized video data, and then upload the violation operation results to the driver's handheld terminal.
[0111] Optionally, it also includes a receiving unit and a calibration unit;
[0112] A receiving unit is used to receive the verification result fed back by the locomotive depot client; wherein the verification result includes a calibration data frame marked with block diagram position information and behavior category;
[0113] The calibration unit is used to train the target detection test model and the human posture estimation test model using the calibration data frame to complete the calibration of the target detection test model and the human posture estimation test model.
[0114] Optionally, a prompting unit is also included;
[0115] The prompt unit is used to issue an alarm prompt when there are illegal operation results in the synchronous video data.
[0116] Figure 3 The description of the features in the corresponding embodiments can be found in Figure 1 The relevant descriptions of the corresponding embodiments will not be repeated here one by one.
[0117] It can be seen from the above technical scheme that the synchronous video data in the cab is obtained; wherein the synchronous video data includes the video data collected by the front camera and the video data collected by the rear camera; on the basis of setting the rear camera, by adding the front camera of the driver's cab, the multi-view images of the driver can be collected, and the driver's value multiplication state can be fully detected from the front and rear perspectives, further reducing the blind spots of video detection. The synchronous video data is identified using the trained regression-based target detection test model and the human posture estimation test model based on the deep convolutional neural network to obtain the recognition result of the driver's driving behavior; based on the collected LKJ data and the pre-stored driver's driving operation specification information, the recognition result of the driver's driving behavior is analyzed for violations to identify the illegal operation results in the synchronous video data. In this technical scheme, the regression-based target detection test model solves the detection problem of the driver's driving behavior as a regression problem, realizing end-to-end optimization in the true sense, thereby efficiently and intelligently detecting the driver's driving behavior. The human posture estimation test model based on the deep convolutional neural network has powerful computing power and can greatly improve the speed of driver posture detection. Through the coordination of the target detection test model and the human posture estimation test model, the accuracy and real-time performance of driver behavior recognition are effectively improved.
[0118] Figure 4 A hardware structure diagram of a driving behavior recognition device 40 provided in an embodiment of the present invention includes:
[0119] A memory 41, used for storing computer programs;
[0120] The processor 42 is used to execute a computer program to implement the steps of any one of the above-mentioned driving behavior recognition methods.
[0121] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the above-mentioned driving behavior recognition methods are implemented.
[0122] The above is a detailed introduction to a driving behavior recognition method, device and computer-readable storage medium provided in an embodiment of the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referenced to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
[0123] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0124] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Claims
1. A driving behavior recognition method, characterized in that: include: Acquire synchronous video data in the cab; wherein the synchronous video data includes video data collected by the front camera and video data collected by the rear camera; Using the trained regression-based target detection test model and the deep convolutional neural network-based human posture estimation test model to identify the synchronized video data, so as to obtain the recognition result of the driver's driving behavior; Based on the collected LKJ data and the pre-stored driver's driving operation specification information, the identification result of the driver's driving behavior is analyzed for violations, so as to identify the violation operation results existing in the synchronized video data; The training process of the target detection test model includes: Perform frame extraction on the collected historical video data so that users can mark each data frame with the block diagram location information and behavior category used to characterize the driving behavior; According to the behavior categories marked in each data frame, data frames that meet the first type of driving behavior are selected from all the data frames as the first data training set; the driver's standing guard, looking out, holding the gate, playing with the mobile phone, lying down and sleeping, and swinging arm driving behaviors are classified as the first type of driving behaviors; Iteratively training the established regression-based target detection training model using the first data training set until the detection accuracy and detection speed of the target detection training model meet preset requirements, and then using the trained target detection training model as a target detection test model; The training process of the human body posture estimation test model includes: Perform frame extraction on the collected historical video data so that users can mark each data frame with the block diagram location information and behavior category used to characterize the driving behavior; According to the behavior categories marked on each data frame, data frames that meet the second type of driving behavior are selected from all the data frames as the second data training set; the driver's hand gestures, head tilt and dozing driving behaviors are classified as the second type of driving behaviors; The second data training set is used to iteratively train the established human posture estimation training model based on the deep convolutional neural network until the detection accuracy and detection speed of the human posture estimation training model meet the preset requirements, and the trained human posture estimation training model is used as the human posture estimation detection model.
2. The driving behavior recognition method according to claim 1, characterized in that: After performing violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information to identify the violation operation results existing in the synchronous video data, the method further includes: The illegal operation results are uploaded to the locomotive depot client.
3. The driving behavior recognition method according to claim 1, characterized in that: After performing violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information to identify the violation operation results existing in the synchronous video data, the method further includes: The illegal operation results are uploaded to the driver's handheld terminal.
4. The driving behavior recognition method according to claim 2, characterized in that: After performing violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information to identify the violation operation results existing in the synchronous video data, the method further includes: Receive the verification result fed back by the locomotive depot client; wherein the verification result includes a calibration data frame marked with block diagram location information and behavior category; The target detection test model and the human body posture estimation test model are trained using the calibration data frame to complete the calibration of the target detection test model and the human body posture estimation test model.
5. The driving behavior recognition method according to any one of claims 1 to 4, characterized in that: After performing violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information to identify the violation operation results existing in the synchronous video data, the method further includes: When there are illegal operation results in the synchronous video data, an alarm prompt is issued.
6. A driving behavior recognition device, characterized in that: It includes an acquisition unit, an identification unit and an analysis unit; The acquisition unit is used to acquire synchronous video data in the cab; wherein the synchronous video data includes video data acquired by the front camera and video data acquired by the rear camera; The recognition unit is used to recognize the synchronized video data using the trained regression-based target detection test model and the deep convolutional neural network-based human posture estimation test model to obtain a recognition result of the driver's driving behavior; The analysis unit is used to perform violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information, so as to identify the violation operation results existing in the synchronous video data; For the training process of the target detection test model, the device includes a collection unit, a selection unit and a training unit; The acquisition unit is used to perform frame extraction processing on the acquired historical video data, so that the user can mark each data frame with the block diagram position information and behavior category used to characterize the driving behavior; The selection unit is used to select data frames that meet the first type of driving behavior from all the data frames as the first data training set according to the behavior categories marked on each data frame; the driver's standing guard, looking out, holding the gate, playing with the mobile phone, lying flat and sleeping, and swinging arm driving behaviors are classified as the first type of driving behaviors; The training unit is used to iteratively train the established regression-based target detection training model using the first data training set until the detection accuracy and detection speed of the target detection training model meet preset requirements, and then use the trained target detection training model as a target detection test model; For the training process of the human body posture estimation test model, the device includes a collection unit, a selection unit and a training unit The acquisition unit is used to perform frame extraction processing on the acquired historical video data, so that the user can mark each data frame with the block diagram position information and behavior category used to characterize the driving behavior; The selection unit is used to select data frames that meet the second type of driving behavior from all the data frames as the second data training set according to the behavior category marked on each data frame; and classify the driver's hand gestures, head tilt and dozing driving behaviors as the second type of driving behaviors; The training unit is used to iteratively train the established human posture estimation training model based on a deep convolutional neural network using the second data training set until the detection accuracy and detection speed of the human posture estimation training model meet preset requirements, and then use the trained human posture estimation training model as the human posture estimation detection model.
7. The driving behavior recognition device according to claim 6, characterized in that: Also includes an upload unit; The uploading unit is used to perform violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information, so as to identify the violation operation results existing in the synchronized video data, and then upload the violation operation results to the locomotive depot client.
8. The driving behavior recognition device according to claim 6, characterized in that: Also includes an upload unit; The uploading unit is used to perform violation analysis on the identification result of the driver's driving behavior based on the collected LKJ data and the pre-stored driver's driving operation specification information, so as to identify the violation operation results existing in the synchronized video data, and then upload the violation operation results to the driver's handheld terminal.
9. The driving behavior recognition device according to claim 7, characterized in that: Also includes a receiving unit and a calibration unit; The receiving unit is used to receive the verification result fed back by the locomotive depot client; wherein the verification result includes a calibration data frame marked with block diagram position information and behavior category; The calibration unit is used to train the target detection test model and the human posture estimation test model using the calibration data frame to complete the calibration of the target detection test model and the human posture estimation test model.
10. A driving behavior recognition device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program to implement the steps of the driving behavior recognition method as claimed in any one of claims 1 to 5.
11. 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 driving behavior recognition method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Video-based locomotive driver driving state detection method and system
CN105787438A
Rail train driver behavior comprehensive monitoring and warning method
CN110213548A
AI technology-based train cab operation standard monitoring system
CN110618635A
