The invention discloses a traffic video retrograde event detection method based on target tracking, and the method comprises the following steps: S1, dividing a road region in a traffic video, and obtaining a road region division map; s2, calculating the average driving speed of all vehicles in the road area by using target tracking, and taking the speed direction as the correct driving direction of the road area to obtain a correct driving direction dictionary; s3, performing target tracking on all vehicles in the traffic video, calculating the current speed direction of the vehicle by using an optical flow method, comparing the current speed direction with the correct driving direction to judge whether the current frame of the vehicle runs reversely, and obtaining driving condition records of all the vehicles; and S4, if one vehicle is judged to be a retrograde vehicle in more than half of video frames within 1s, the vehicle is the retrograde vehicle, and the vehicle is marked in the traffic video. The full-automatic highway converse driving detection method disclosed by the invention verifies the effectiveness of the detection method in actual scene application.
本发明公开了一种基于目标跟踪的交通视频逆行事件检测方法,该方法步骤如下:S1、对交通视频中道路区域进行划分,得到道路区域划分图;S2、利用目标跟踪,计算道路区域内所有车辆的平均行驶速度,以该速度方向作为道路区域的正确行驶方向,得到正确行驶方向字典;S3、针对交通视频中的所有车辆进行目标跟踪,使用光流法计算车辆当前速度方向并与正确行驶方向比较判断车辆当前帧是否逆行,得到所有车辆行驶情况记录;S4、如果一辆车在1s内半数以上的视频帧中被判为逆行车辆,则该车辆为逆行车辆,在交通视频中进行标示。本发明公开的全自动高速公路逆行检测方法在实际场景应用中验证了检测方法的有效性。
Traffic video retrograde event detection method based on target tracking
一种基于目标跟踪的交通视频逆行事件检测方法
2023-07-07
Patent
Electronic Resource
Chinese
IPC: | G08G Anlagen zur Steuerung, Regelung oder Überwachung des Verkehrs , TRAFFIC CONTROL SYSTEMS |
Detection method and device for traffic retrograde event, medium and product
European Patent Office | 2025
|Real-time video stream vehicle retrograde driving event detection method and system
European Patent Office | 2023
|Vehicle retrograde driving event detection method based on dome camera
European Patent Office | 2023
|