Abnormal driving behavior detection method, device, electronic device and storage medium
Through the combination of radar and video collector, the vehicle driving parameters are detected in real time and abnormal driving behavior is judged, which solves the safety hazards caused by abnormal driving behavior in road traffic, and realizes effective abnormal driving behavior detection and alarm.
Patent Information
- Application Number
- CN202110909769.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-09
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2041-08-09
AI Technical Summary
In road traffic accidents, abnormal driving behaviors (such as malicious overtaking, car encounters and frequent lane changes) are the main reasons, resulting in road traffic safety hazards and dangers.
By combining radar and video collector, the driving parameters of the target vehicle are collected in real time, and whether there is an abnormal driving behavior is judged, and snap and analyze the vehicle when the vehicle reaches a specific position, upload vehicle information and abnormal driving behavior alarms.
It realizes effective detection of abnormal driving behaviors during vehicle driving, reduces road traffic safety risks, and reduces unnecessary disputes and risks caused by misjudgment.
Smart Images

Figure CN115705774B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of road traffic safety, and in particular to a method, device, electronic device and storage medium for detecting abnormal driving behavior. Background Art
[0002] At present, with the rapid development of social economy, cars have become a common means of transportation for people. However, with the rapid increase in the number of cars, the incidence of road traffic accidents has also continued to rise, making road traffic accidents a major safety issue. As for traffic safety, abnormal driving behavior (such as malicious overtaking, meeting, and frequent lane changes, etc.) is the main cause. Abnormal driving behavior will bring a series of safety hazards to road traffic and bring dangers to yourself and others. Therefore, a mechanism for detecting abnormal driving behavior is urgently needed. Summary of the invention
[0003] The present disclosure provides a method, device, electronic device and storage medium for detecting abnormal driving behavior.
[0004] According to one aspect of the present disclosure, a method for detecting abnormal driving behavior is provided, which is applied to a front-end detection device, wherein the front-end detection device at least includes a first radar and a first video collector, and the collection directions of the first radar and the first video collector are opposite to the lane direction, including:
[0005] The first radar collects the driving parameters of the target vehicle in real time, and determines whether there is abnormal driving behavior during the driving process of the target vehicle according to the driving parameters;
[0006] If it is determined that there is abnormal driving behavior, when the target vehicle drives to the first capture line position, the first video collector is notified to capture the target vehicle and the driving parameters are reported to the first video collector;
[0007] The first video collector analyzes the vehicle information of the target vehicle based on the captured image and driving parameters of the target vehicle, and uploads the vehicle information and the abnormal driving behavior as the first warning information.
[0008] According to another aspect of the present disclosure, a detection device for abnormal driving behavior is provided, which is configured in a front-end detection device, the front-end detection device at least includes a first radar and a first video collector, and the collection direction of the first radar and the first video collector is opposite to the lane direction, and the device includes:
[0009] The abnormal driving identification module is used to collect the driving parameters of the target vehicle in real time through the first radar, and determine whether there is abnormal driving behavior during the driving process of the target vehicle according to the driving parameters;
[0010] The notification and reporting module is used to notify the first video collector to capture the target vehicle when the target vehicle drives to the first capture line position if it is determined that there is abnormal driving behavior, and report the driving parameters to the first video collector;
[0011] The capture and analysis module is used for the first video collector to analyze the vehicle information of the target vehicle based on the captured image and driving parameters of the target vehicle, and upload the vehicle information and the abnormal driving behavior as the first warning information.
[0012] According to another aspect of the present disclosure, there is provided an electronic device, comprising:
[0013] at least one processor; and
[0014] a memory communicatively connected to at least one processor; wherein,
[0015] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the method for detecting abnormal driving behavior of any embodiment of the present disclosure.
[0016] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, where the computer instructions are used to enable a computer to execute the abnormal driving behavior detection method of any embodiment of the present disclosure.
[0017] According to the technology disclosed in the present invention, by combining radar and video collector, the purpose of effectively detecting abnormal driving behavior during vehicle driving is achieved.
[0018] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0020] Figure 1a is a schematic diagram of a front-end detection device and a network provided by an embodiment of the present disclosure;
[0021] Figure 1b is a flow chart of a method for detecting abnormal driving behavior provided by an embodiment of the present disclosure;
[0022] Figure 2 is a flow chart of another abnormal driving behavior detection method provided by an embodiment of the present disclosure;
[0023] Figure 3is a flow chart of another abnormal driving behavior detection method provided by an embodiment of the present disclosure;
[0024] Figure 4 is a flow chart of another abnormal driving behavior detection method provided by an embodiment of the present disclosure;
[0025] Figure 5 is a structural schematic diagram of an abnormal driving behavior detection device provided by an embodiment of the present disclosure;
[0026] Figure 6 It is a block diagram of an electronic device used to implement the abnormal driving behavior detection method of the embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0028] In the embodiments of the present disclosure, in order to effectively detect abnormal driving behaviors that exist during vehicle driving, it is necessary to deploy front-end detection equipment on the road (such as a highway). Figure 1a , which shows a schematic diagram of the front-end detection equipment and networking. The front-end detection equipment includes an incoming radar (i.e., the first radar) and a video acquisition and capture device (i.e., the first video collector), as well as a going radar (i.e., the second radar) and a video acquisition and capture device (i.e., the second video collector). It should be noted that the coming direction refers to the direction in which the vehicle moves toward the front-end detection equipment. Therefore, the acquisition direction of the first incoming radar and the first video collector is opposite to the lane direction (i.e., the vehicle's driving direction), and is used to detect vehicles approaching the first radar and the first video collector; the going direction refers to the direction in which the vehicle moves away from the front-end detection equipment. The acquisition direction of the second going radar and the second video collector is the same as the lane direction (i.e., the vehicle's driving direction), and is used to detect vehicles leaving the second radar and the second video collector.
[0029] In the disclosed embodiment, the first radar and the first video collector can interact with each other via a network or a serial port connection. The second radar and the second video collector can interact with each other via a network or a serial port connection. Both the first video collector and the second video collector can be connected to a background server via a network. The server can store the video code streams of the first video collector and the second video collector in real time. In addition, the first video collector and the second video collector can also interact with each other via a network.
[0030] Furthermore, in order to ensure that the front-end detection equipment can effectively detect abnormal driving behaviors in the process of vehicle driving, it is necessary to configure the front-end detection equipment when deploying the front-end detection equipment. Optionally, the user configures the first radar and the first video collector through the configuration interface. Exemplarily, for the first radar and the first video collector, it is necessary to configure the lane line and the first capture line, wherein the purpose of configuring the lane line is to enable the first radar to determine the lane to which the vehicle belongs based on the coordinate points of the detected vehicle, and the purpose of setting the first capture line is to ensure that when the vehicle drives to the first capture line, the first video collector is triggered to capture the vehicle. For the second radar and the second video collector, it is necessary to configure the lane line, the second capture line and the distance line, wherein the distance line can be exemplarily divided into a 50-meter line and a 100-meter line, and the 50-meter line indicates that the distance between it and the second capture line is 50m; the 100-meter line indicates that the distance between it and the second capture line is 100m. The purpose of setting the second capture line is to ensure that when the vehicle travels to the second capture line, the second video collector is triggered to capture the vehicle, and then the distance between the vehicle near the second capture line and the vehicle in front of it in the same lane is estimated based on the distance line.
[0031] After configuring the front-end detection equipment, abnormal driving behavior during vehicle driving can be detected according to the following embodiments.
[0032] Figure 1b The present invention is a flowchart of a method for detecting abnormal driving behavior according to an embodiment of the present invention. The present invention is applicable to the case of detecting abnormal driving behavior in the process of driving a vehicle. The method can be performed by a device for detecting abnormal driving behavior, which is implemented in software and / or hardware and integrated in an electronic device, such as a front-end detection device.
[0033] For details, see Figure 1b , the detection method of abnormal driving behavior is as follows:
[0034] S101. Collect driving parameters of a target vehicle in real time through a first radar, and determine whether there is abnormal driving behavior during the driving of the target vehicle according to the driving parameters.
[0035] In the embodiment of the present disclosure, the first radar can track the target vehicle in real time and collect the driving parameters of the target vehicle in real time during the tracking process. Specifically, the first radar can calculate the driving parameters of the target vehicle in real time according to the Doppler effect of the target vehicle reflecting the radar wave. For example, the first radar can calculate the coordinate point of the target vehicle, the distance between the target vehicle and the radar, and the driving speed of the target vehicle according to the Doppler effect. Further, the first radar can also determine the lane position to which the target vehicle belongs according to the coordinate point of the target vehicle and the pre-configured lane line. In addition, if there are at least two target vehicles driving in the same lane, the distance between the front and rear vehicles can be calculated in real time according to the coordinate point of each vehicle. Further, the first radar can record the driving behavior information (such as the number of lane changes, the number of lane merges, the number of overtaking, etc.) generated during the driving process of the target vehicle in real time during the tracking of the target vehicle. In summary, the driving parameters in the embodiment of the present disclosure may include at least one of the following: the speed, position, and behavior information of the target vehicle, and the maximum distance between the target vehicle and the preceding vehicle in the same lane during the driving process.
[0036] In the disclosed embodiment, abnormal driving behaviors may include frequent lane changes / merging, malicious overtaking, speeding, driving without maintaining a safe distance, etc. Therefore, when judging whether there is abnormal driving behavior during the driving process of the target vehicle according to the driving parameters, it is possible to judge whether the target vehicle is speeding according to the speed of the target vehicle, judge whether the target vehicle frequently changes lanes according to the recorded behavior information, and determine whether it is driving at a safe distance according to the distance between the front and rear vehicles.
[0037] S102: If it is determined that there is abnormal driving behavior, when the target vehicle travels to the first capture line position, the first video collector is notified to capture the target vehicle, and the driving parameters are reported to the first video collector.
[0038] If it is determined through S101 that the target vehicle has abnormal driving behavior, the first radar collects the position of the target vehicle in real time, and notifies the first video collector to capture the target vehicle when the target vehicle drives to the first capture line. It should be noted that the first video collector only captures the target vehicle when it determines that the target vehicle has abnormal driving behavior, which avoids the first video collector from capturing every passing car, which can effectively reduce the loss of the first video collector and reduce the bad experience of passing vehicle drivers due to the frequent flashing of the flashing light in the video collector. And the reason why the capture of the target vehicle is triggered when the target vehicle drives to the first capture line is that when the target vehicle drives to the first capture line, the first video collector can capture the vehicle image with a clarity that meets the image analysis requirements.
[0039] While notifying the first video collector to capture the target vehicle, the driving parameters of the target vehicle are reported to the first video collector. It should be noted that since the purpose of reporting the driving parameters is to allow the first video collector to determine the area where the target vehicle is located from the captured image based on the driving parameters, only the location information of the target vehicle (i.e., the lane it belongs to) can be reported to the first video collector, or the complete driving parameters can be uploaded, which is not specifically limited here.
[0040] S103: The first video collector analyzes the vehicle information of the target vehicle according to the captured image and driving parameters of the target vehicle, and uploads the vehicle information and abnormal driving behavior as the first warning information.
[0041] In the disclosed embodiment, the function of the first video collector is to determine the vehicle information of the target vehicle with abnormal driving behavior by capturing, so as to serve as the basis for the penalty of abnormal driving. Specifically, after the first video collector completes the image capture, if there are multiple vehicles in the image, the first video collector needs to determine the target vehicle from it. In an optional implementation, the first video collector matches according to the driving parameters reported by the first radar (such as the target lane information to which the target vehicle belongs) to take the vehicle located on the target lane and at the first capture line as the target vehicle, and after determining the target vehicle, analyze the captured image of the target vehicle to determine the vehicle information of the target vehicle (such as license plate information, vehicle model and other structured information), and record the capture time of the captured target vehicle. After the recognition is completed, the captured target image and its corresponding vehicle information, capture time and the presence of abnormal driving behavior are uploaded as the first warning information. For example, upload to the background server or save in the first video collector. It should be noted that the reason for uploading the capture time is to ensure that the background server or video collector can query the video of a preset time length based on the uploaded capture time, and use it together with the uploaded capture image as the basis for subsequent judgment whether it is dangerous driving.
[0042] In the disclosed embodiment, the purpose of effectively detecting abnormal driving behaviors in the process of vehicle driving is achieved by combining radar and video collector. Moreover, in the process of checking whether the target vehicle has abnormal driving behaviors by the first radar, only when it is determined that the target vehicle has abnormal driving behaviors, the first video collector is notified to capture the target vehicle to obtain the vehicle information of the target vehicle, thereby avoiding the first video collector from capturing every passing vehicle, which can effectively reduce the loss of the first video collector.
[0043] Figure 2is a flow chart of another abnormal driving behavior detection method according to an embodiment of the present disclosure. This embodiment is optimized on the basis of the above embodiment, and adds a specific process of judging abnormal driving behavior according to driving parameters. Figure 2 , the detection method of abnormal driving behavior is as follows:
[0044] S201. Collect driving parameters of the target vehicle in real time through a first radar, where the driving parameters include at least one of the following: speed, position, and behavior information of the target vehicle, and a maximum distance between the target vehicle and a preceding vehicle in the same lane during the target vehicle's driving.
[0045] In the disclosed embodiment, the first radar collects the speed of the target vehicle in real time, and determines whether the target vehicle has abnormal driving behavior according to S202 or S203 based on the speed of the target vehicle.
[0046] S202: If the speed of the target vehicle is greater than or equal to a preset speed threshold, and it is determined based on the behavior information that the frequency of lane changes and / or lane merging during the driving process of the target vehicle is greater than a preset frequency, it is determined that an abnormal driving behavior of chasing and racing exists during the driving process of the target vehicle.
[0047] In the embodiment of the present disclosure, chasing and racing refers to dangerous driving behaviors such as driving at high speed or speeding on the road, chasing and overtaking other vehicles at will, frequently and suddenly changing lanes, and driving close to other vehicles. In other words, chasing and racing is a continuous driving behavior, and it is impossible to identify whether the vehicle is chasing and racing only through the images captured by the video collector. Therefore, the present disclosure uses the first radar to perform process detection on the target vehicle to determine whether the vehicle is chasing and racing.
[0048] Since the pursuit and racing is based on high-speed and speeding driving, it is possible to first detect whether the speed of the target vehicle is greater than or equal to the preset speed threshold. If so, it is determined that the target vehicle is driving at a high speed or speeding. Further, since the first radar tracks the target vehicle in real time and records the behavior information of the target vehicle, the first radar can determine whether the frequency of lane changes and / or lane changes during the driving process of the target vehicle is greater than the preset frequency based on the recorded behavior information. If so, it is determined that the target vehicle has abnormal driving behavior of pursuit and racing during the driving process.
[0049] It should be noted here that if the speed of the target vehicle is greater than or equal to the preset speed threshold, the target vehicle is marked by a preset marking method, and the marking result is superimposed as intelligent data on the video code stream transmitted by the first video collector, so as to remind the monitoring personnel to pay attention during real-time monitoring or video query to confirm the target. In the disclosed embodiment, the focus target can be marked by stacking frames or other marking methods. The calibration method includes but is not limited to implementation through simple mapping. For example, by reporting the coordinates and distance of the target vehicle, the video collector converts the vehicle coordinates into pixel coordinates according to the conversion matrix to determine the position of the target vehicle in the image, and then determines the distance by superimposing frames of different sizes to calibrate the target vehicle.
[0050] S203: If the speed of the target vehicle is less than a preset speed threshold, and the maximum vehicle distance between the target vehicle and the preceding vehicle in the same lane during driving is less than a preset distance, it is determined that the target vehicle has an abnormal driving behavior of not maintaining a safe vehicle distance during driving.
[0051] In the embodiment of the present disclosure, if the speed of the target vehicle is less than the preset speed threshold, it is determined that the target vehicle is not speeding. During the non-speeding process, the target vehicle may affect the distance between itself and the following vehicle due to the normal lane change and merging behavior. It is also possible that the distance of the target vehicle behind becomes closer due to the braking of the front vehicle. Since these two types of situations are continuous processes, the video collector cannot judge by capturing images, which leads to false penalties. In order to avoid this situation, the embodiment of the present disclosure proposes a method of detecting the driving process of the target vehicle by radar to determine whether the target vehicle has not maintained a safe distance. Specifically, the first radar synchronously records the maximum distance between the relevant target and the front vehicle. If the maximum distance is less than the set distance to be maintained (which can be set according to the speed of the road section), the steps S204-S205 are executed; if the maximum distance is greater than the set distance to be maintained, it is considered that the target vehicle is driving normally.
[0052] S204: When the target vehicle travels to the first capture line, notify the first video collector to capture the target vehicle, and report the travel parameters to the first video collector.
[0053] S205. The first video collector analyzes the vehicle information of the target vehicle according to the captured image and driving parameters of the target vehicle, and uploads the vehicle information and the abnormal driving behavior as the first warning information.
[0054] After executing S202 or S203, if the target vehicle is detected to have reached the first capture line, the first radar notifies the first video collector to capture a picture and report the position (lane information) of the target vehicle. The first video collector matches and analyzes the vehicle information (such as license plate information) of the target vehicle, and takes the vehicle information, capture time information, and failure to maintain a safe distance as the first warning information, and uploads it to the background server, which will be used as one of the criteria for judging the safe distance penalty later.
[0055] In the disclosed embodiment, since the radar detects the driving process of the target vehicle, it can accurately detect whether the target vehicle has abnormal driving behavior such as chasing or racing. At the same time, it can avoid the situation where the distance between vehicles becomes instantaneously close due to normal lane changes, sudden braking of the vehicle in front, etc., which may lead to penalties.
[0056] Figure 3 is a flow chart of another abnormal driving behavior detection method according to an embodiment of the present disclosure. This embodiment is optimized based on the above embodiment. Figure 3 , the detection methods of abnormal driving behavior include:
[0057] S301. Collect driving parameters of the target vehicle in real time through a first radar, and determine whether there is abnormal driving behavior during the driving of the target vehicle according to the driving parameters.
[0058] S302: If it is determined that there is abnormal driving behavior, when the target vehicle drives to the first capture line position, the first video collector is notified to capture the target vehicle, and the driving parameters are reported to the first video collector.
[0059] S303: The first video collector analyzes the vehicle information of the target vehicle based on the captured image and driving parameters of the target vehicle, and uploads the vehicle information and abnormal driving behavior as the first warning information.
[0060] The description of S301 - S303 can be found in the above embodiment and will not be repeated here.
[0061] S304, the second radar detects the speed and position of the current vehicle passing the second radar in real time, and when the current vehicle travels to the second capture line, notifies the second video collector to capture the current vehicle, and reports the speed and position of the current vehicle to the second video collector.
[0062] In the disclosed embodiment, the second radar can detect the speed and position of the oncoming vehicle. When the oncoming vehicle reaches the second capture line, the second video collector is notified to capture the current vehicle, and the speed and position of the current vehicle are reported to the second video collector. It should be noted that the reason for reporting the current vehicle speed is to ensure that the second video collector determines the safe distance of the current vehicle based on the current vehicle speed, that is, the safe distance is determined by the speed of the current vehicle. The reason for uploading the position of the current vehicle is to ensure that the second video collector determines the current vehicle from the captured image based on the current vehicle position.
[0063] S305. If the second video collector determines that the current vehicle does not maintain a safe distance from the vehicle in front in the same lane based on the captured image of the current vehicle, the abnormal driving behavior of the current vehicle not maintaining a safe distance and the vehicle information of the current vehicle are uploaded as the second warning information.
[0064] Based on the captured image of the current vehicle, the second video collector determines whether the current vehicle maintains a safe distance from the vehicle in front of it in the same lane according to the identified current vehicle position and the pre-configured distance line. For example, the safe distance determined according to the speed of the current vehicle is 50m. If it is determined through the captured image of the current vehicle that there is a vehicle between the current vehicle and the 50m distance line in the lane where the current vehicle is located, then the distance between the current vehicle and the vehicle in front is less than 50m, that is, less than the safe distance.
[0065] When it is determined that the current vehicle does not maintain a safe distance from the vehicle in front in the same lane, the captured image of the current vehicle is analyzed to obtain vehicle information (such as license plate information) of the current vehicle, and the abnormal driving behavior of the current vehicle not maintaining a safe distance during driving, the vehicle information of the current vehicle, and the capture time of the current vehicle image are uploaded as second alarm information, for example, uploaded to a background server, or saved in a second video collector.
[0066] S306: Compare the vehicle information in the first warning information with the vehicle information in the second warning information. If they are the same, penalize the vehicle corresponding to the vehicle information for failing to maintain a safe distance.
[0067] In the disclosed embodiment, if both the first alarm information and the second alarm information are uploaded to the background server, the background server compares the vehicle information (such as license plate information) in the first alarm information with the vehicle information (such as license plate information) in the second alarm information. If the first alarm information is stored in the first video collector and the second alarm information is stored in the second video collector, since the first video collector and the second video collector can interact through the network, the first video collector can send the first alarm information to the second video collector, and the second video collector performs the operation of comparing the two alarm information; conversely, the second video collector can send the second alarm information to the first video collector, and the first video collector performs the operation of comparing the two alarm information. It should be noted here that since the license plate information can uniquely represent a vehicle, when comparing the two alarm information, the comparison can be performed through the license plate matching strategy.
[0068] If the license plate information included in the warning information is the same, it means that the vehicle did not maintain a safe distance from the vehicle in front during the entire driving process, and it needs to be penalized, and the captured image and partial video captured before the capture time shall be provided as the basis for the penalty.
[0069] In the disclosed embodiment, the second radar and the second video collector can be used to determine whether each vehicle is driving at a safe distance from the vehicle in front. By comparing the first warning information with the second warning information, the vehicle is penalized only when it is determined that the two warning information, including the vehicle information, are the same, thereby reducing misjudgments caused by lane changes, merging or sudden braking.
[0070] Figure 4 is a flow chart of another abnormal driving behavior detection method according to an embodiment of the present disclosure. This embodiment is optimized based on the above embodiment. Figure 4 , the detection methods of abnormal driving behavior include:
[0071] S401: If the first radar determines that at least one target vehicle is in a traffic jam based on the detected driving parameters of at least one target vehicle, the second video collector is notified to stop capturing.
[0072] In the disclosed embodiment, the traffic jam state means that multiple target vehicles are all traveling at a low speed, for example, the driving speed of multiple target vehicles is less than 30 km / h. No relevant penalty is made for the traffic jam, and the first video collector will not capture images at this time. In addition, when the first radar detects that it is currently in a traffic jam, it notifies the second video collector to stop capturing, so as to reduce the loss of the second video collector. It should be noted that since the first radar and the second video collector cannot interact directly, the first radar can first send an instruction to notify the second video collector to stop capturing to the first video collector, and the first video collector sends the instruction to the second video collector through the network, so that the second video collector stops capturing according to the received instruction.
[0073] In the disclosed embodiment, when a traffic jam is detected, neither the first video collector nor the second video collector will capture vehicle images, thereby reducing the wear and tear of the first video collector and the second video collector to extend the service life of the first video collector and the second video collector.
[0074] Figure 5 : is a schematic diagram of the structure of the abnormal driving behavior detection device according to the embodiment of the present disclosure. The embodiment can be applied to the situation of detecting abnormal driving behavior in the process of vehicle driving. The device is configured in the front-end detection equipment, which at least includes a first radar and a first video collector, and the collection direction of the first radar and the first video collector is opposite to the lane direction, such as Figure 5 As shown, the device specifically includes:
[0075] The abnormal driving identification module 501 is used to collect the driving parameters of the target vehicle in real time through the first radar, and determine whether there is abnormal driving behavior during the driving process of the target vehicle according to the driving parameters;
[0076] The notification and reporting module 502 is used to notify the first video collector to capture the target vehicle when the target vehicle drives to the first capture line position if it is determined that there is abnormal driving behavior, and report the driving parameters to the first video collector;
[0077] The capture analysis module 503 is used for the first video collector to analyze the vehicle information of the target vehicle according to the captured image and driving parameters of the target vehicle, and upload the vehicle information and the abnormal driving behavior as the first warning information.
[0078] Based on the above embodiment, optionally, the driving parameter includes at least one of the following: speed, position, behavior information of the target vehicle, and the maximum distance between the target vehicle and the preceding vehicle in the same lane during the driving process;
[0079] Correspondingly, the abnormal driving identification module includes:
[0080] The first determination unit is configured to determine that the target vehicle has an abnormal driving behavior of chasing and racing during driving if the speed of the target vehicle is greater than or equal to a preset speed threshold and the frequency of lane changes and / or lane merging during driving of the target vehicle is greater than a preset frequency according to the behavior information; and / or,
[0081] The second judgment unit is used to determine that the target vehicle has an abnormal driving behavior of not maintaining a safe distance during driving if the speed of the target vehicle is less than a preset speed threshold and the maximum distance between the target vehicle and the preceding vehicle in the same lane during driving is less than a preset distance.
[0082] On the basis of the above embodiment, optionally, the front-end detection device further includes a second radar and a second video collector, and the collection direction of the second radar and the second video collector is the same as the lane direction;
[0083] Accordingly, the device further comprises:
[0084] The first detection and notification module is used to detect the speed and position of the current vehicle passing the second radar in real time through the second radar, and when the current vehicle travels to the second capture line, notify the second video collector to capture the current vehicle, and report the speed and position of the current vehicle to the second video collector;
[0085] The warning information determination module is used to upload the abnormal driving behavior of not maintaining a safe distance between the current vehicle and the preceding vehicle in the same lane as the second warning information if the second video collector determines, based on the image of the current vehicle captured, that the current vehicle does not maintain a safe distance from the preceding vehicle in the same lane; wherein the safe distance is determined by the speed of the current vehicle.
[0086] Based on the above embodiment, optionally, the method further includes:
[0087] The comparison module is used to compare the vehicle information in the first warning information with the vehicle information in the second warning information. If they are the same, the vehicle corresponding to the vehicle information is penalized for failing to maintain a safe distance.
[0088] Based on the above embodiment, optionally, the method further includes:
[0089] The second detection and notification module is used to notify the second video collector to stop capturing if the first radar determines that at least one target vehicle is in a traffic jam based on the driving parameters of the at least one target vehicle detected.
[0090] Based on the above embodiment, optionally, the method further includes:
[0091] The marking module is used to mark the target vehicle in a preset marking manner if the speed of the target vehicle is greater than or equal to a preset speed threshold, and to superimpose the marking result as intelligent data into the video code stream transmitted by the first video collector.
[0092] The device provided in the embodiment of the present disclosure can execute the abnormal driving behavior detection method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the abnormal driving behavior detection method. For the contents not described in detail in this embodiment, please refer to the description in any method embodiment of the present disclosure.
[0093] In the technical solution disclosed in the present invention, the acquisition, storage and application of user vehicle information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0094] Figure 6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. The electronic device in the embodiment of the present disclosure may be a front-end detection device including a radar and a video collector. Figure 6 The electronic device provided in the embodiment of the present disclosure includes, in addition to the radar and the video collector, one or more processors 602 and a memory 601; the processor 602 in the electronic device may be one or more, Figure 6 A processor 602 is taken as an example; the memory 601 is used to store one or more programs; the one or more programs are executed by one or more processors 602, so that the one or more processors 602 implement the abnormal driving behavior detection method as any one of the embodiments of the present disclosure.
[0095] The electronic device may further include: an input device 603 and an output device 604 .
[0096] The processor 602, memory 601, input device 603 and output device 604 in the electronic device can be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0097] The memory 601 in the electronic device is a computer-readable storage medium that can be used to store one or more programs, which can be software programs, computer executable programs, and modules. The processor 602 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 601, that is, the detection method of abnormal driving behavior in the above method embodiment is implemented.
[0098] The memory 601 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 601 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 601 may further include a memory remotely arranged relative to the processor 602, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0099] The input device 603 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 604 may include a display device such as a display screen.
[0100] Furthermore, when one or more programs included in the above electronic device are executed by one or more processors 602, the program performs the following operations:
[0101] The first radar collects the driving parameters of the target vehicle in real time, and determines whether there is abnormal driving behavior during the driving process of the target vehicle according to the driving parameters;
[0102] If it is determined that there is abnormal driving behavior, when the target vehicle drives to the first capture line position, the first video collector is notified to capture the target vehicle and the driving parameters are reported to the first video collector;
[0103] The first video collector analyzes the vehicle information of the target vehicle based on the captured image and driving parameters of the target vehicle, and uploads the vehicle information and the abnormal driving behavior as the first warning information.
[0104] Of course, those skilled in the art can understand that when one or more programs included in the above-mentioned electronic device are executed by one or more processors, the program can also perform relevant operations in the abnormal driving behavior detection method provided in any embodiment of the present disclosure.
[0105] In one embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the program is used to perform a method for detecting abnormal driving behavior. The method is applied to a front-end detection device, and the front-end detection device at least includes a first radar and a first video collector, and the collection directions of the first radar and the first video collector are opposite to the lane direction, including:
[0106] The first radar collects the driving parameters of the target vehicle in real time, and determines whether there is abnormal driving behavior during the driving process of the target vehicle according to the driving parameters;
[0107] If it is determined that there is abnormal driving behavior, when the target vehicle drives to the first capture line position, the first video collector is notified to capture the target vehicle and the driving parameters are reported to the first video collector;
[0108] The first video collector analyzes the vehicle information of the target vehicle based on the captured image and driving parameters of the target vehicle, and uploads the vehicle information and the abnormal driving behavior as the first warning information.
[0109] The computer storage medium of the disclosed embodiment may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination thereof. The computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device.
[0110] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to: electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0111] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the above.
[0112] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including, for example, 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).
[0113] Note that the above are only preferred embodiments of the present disclosure and the technical principles used. Those skilled in the art will understand that the present disclosure is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present disclosure. Therefore, although the present disclosure is described in more detail through the above embodiments, the present disclosure is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present disclosure, and the scope of the present disclosure is determined by the scope of the appended claims.
Claims
1. A method for detecting abnormal driving behavior, applied to a front-end detection device, wherein the front-end detection device comprises at least a first radar and a first video collector, and the collection directions of the first radar and the first video collector are opposite to the lane direction, and the method comprises: The first radar collects the driving parameters of the target vehicle in real time, and determines whether there is abnormal driving behavior during the driving of the target vehicle according to the driving parameters; If it is determined that there is abnormal driving behavior, when the target vehicle drives to the first capture line position, the first video collector is notified to capture the target vehicle, and the driving parameters are reported to the first video collector; The first video collector analyzes the vehicle information of the target vehicle according to the captured image of the target vehicle and the driving parameters, and uploads the vehicle information and the abnormal driving behavior as the first warning information; The method further comprises: configuring a lane line and a first capture line for the first radar and the first video collector; The real-time collection of the driving parameters of the target vehicle by the first radar includes: real-time tracking of the oncoming target vehicle by the first radar, and real-time collection of the driving parameters of the target vehicle during the tracking process; Wherein, the front-end detection device further includes a second radar and a second video collector, and the collection direction of the second radar and the second video collector is the same as the lane direction; Accordingly, the method further includes: The second radar detects the speed and position of the current vehicle passing through the second radar in real time, and when the current vehicle travels to the second capture line, notifies the second video collector to capture the current vehicle, and reports the speed and position of the current vehicle to the second video collector; If the second video collector determines that the current vehicle does not maintain a safe distance from the preceding vehicle in the same lane based on the captured image of the current vehicle, the abnormal driving behavior of the current vehicle not maintaining a safe distance during driving and the vehicle information of the current vehicle are uploaded as second warning information; wherein the safe distance is determined by the speed of the current vehicle; Wherein, the method further comprises: The vehicle information in the first warning information is compared with the vehicle information in the second warning information. If they are the same, the vehicle corresponding to the vehicle information is penalized for failing to maintain a safe distance.
2. The method according to claim 1, wherein: The driving parameters include at least one of the following: the speed, position, and behavior information of the target vehicle, and the maximum distance between the target vehicle and the preceding vehicle in the same lane during the driving process; Accordingly, judging whether there is abnormal driving behavior during the driving process of the target vehicle according to the driving parameters includes: If the speed of the target vehicle is greater than or equal to a preset speed threshold, and it is determined according to the behavior information that the frequency of lane changes and / or lane merging during the driving of the target vehicle is greater than a preset frequency, it is determined that the target vehicle has an abnormal driving behavior of chasing and racing during the driving process; and / or, If the speed of the target vehicle is less than a preset speed threshold, and the maximum vehicle distance between the target vehicle and the preceding vehicle in the same lane during driving is less than a preset distance, it is determined that there is an abnormal driving behavior of not maintaining a safe vehicle distance during driving of the target vehicle.
3. The method according to claim 1, further comprising: If the first radar determines that at least one target vehicle is in a traffic jam based on the detected driving parameters of at least one target vehicle, the second video collector is notified to stop capturing.
4. The method according to claim 2, further comprising: If the speed of the target vehicle is greater than or equal to a preset speed threshold, the target vehicle is marked in a preset marking manner, and the marking result is superimposed as intelligent data on the video code stream transmitted by the first video collector.
5. A detection device for abnormal driving behavior, configured in a front-end detection device, the front-end detection device at least comprising a first radar and a first video collector, and the collection direction of the first radar and the first video collector is opposite to the lane direction, the device comprising: an abnormal driving identification module, used to collect driving parameters of the target vehicle in real time through the first radar, and determine whether there is abnormal driving behavior during the driving of the target vehicle according to the driving parameters; A notification and reporting module, for notifying the first video collector to capture the target vehicle when the target vehicle travels to the first capture line position if it is determined that there is abnormal driving behavior, and reporting the driving parameters to the first video collector; A capture analysis module, used for the first video collector to analyze the vehicle information of the target vehicle according to the captured image of the target vehicle and the driving parameters, and upload the vehicle information and the abnormal driving behavior as the first warning information; The device further includes: a lane line configuration module, which is used to configure the lane line and the first capture line for the first radar and the first video collector; The real-time collection of the driving parameters of the target vehicle by the first radar includes: real-time tracking of the oncoming target vehicle by the first radar, and real-time collection of the driving parameters of the target vehicle during the tracking process; Wherein, the front-end detection device further includes a second radar and a second video collector, and the collection direction of the second radar and the second video collector is the same as the lane direction; Accordingly, the device further comprises: The first detection and notification module is used to detect the speed and position of the current vehicle passing the second radar in real time through the second radar, and when the current vehicle travels to the second capture line, notify the second video collector to capture the current vehicle, and report the speed and position of the current vehicle to the second video collector; The warning information determination module is used to upload the abnormal driving behavior of not maintaining a safe distance between the current vehicle and the preceding vehicle in the same lane as the second warning information if the second video collector determines, based on the captured image of the current vehicle, that the current vehicle does not maintain a safe distance with the preceding vehicle in the same lane; wherein the safe distance is determined by the speed of the current vehicle; Wherein, the device further comprises: The comparison module is used to compare the vehicle information in the first warning information with the vehicle information in the second warning information. If they are the same, the vehicle corresponding to the vehicle information is penalized for failing to maintain a safe distance.
6. The device according to claim 5, wherein: The driving parameters include at least one of the following: the speed, position, and behavior information of the target vehicle, and the maximum distance between the target vehicle and the preceding vehicle in the same lane during the driving process; Accordingly, the abnormal driving identification module includes: A first determination unit is configured to determine that an abnormal driving behavior of chasing and racing exists in the driving process of the target vehicle if the speed of the target vehicle is greater than or equal to a preset speed threshold and the frequency of lane changes and / or lane merging of the target vehicle during the driving process is greater than a preset frequency determined according to the behavior information; and / or, The second judgment unit is used to determine that there is an abnormal driving behavior of not maintaining a safe distance during the driving of the target vehicle if the speed of the target vehicle is less than a preset speed threshold and the maximum vehicle distance between the target vehicle and the preceding vehicle in the same lane during the driving process is less than a preset distance.
7. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 4.
8. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-4.
Citation Information
Patent Citations
Highway safety distance checking system and detection method thereof
CN103680144A