The invention discloses a method for detecting a vehicle accident in a video. The method comprises the steps of acquiring a frame frequency video and performing frame sampling to obtain image frames;after the image blind restoration algorithm is adopted for processing, using an optical flow algorithm for processing pixel values in the image blind restoration algorithm, and obtaining speeds in thehorizontal direction and the vertical direction and corresponding first optical flow fields; respectively carrying out down-sampling on the first optical flow field in the horizontal direction and the vertical direction to obtain a second optical flow field; applying the kernel function to the second optical flow field to obtain a first motion field, and performing bicubic interpolation on the first motion field to obtain a second motion field; calculating a first abnormal value according to the second motion field and a noise threshold; performing secondary smoothing by utilizing an autoregression model to obtain a second abnormal value; and determining a detection result of vehicle collision according to a comparison result of the second abnormal value and a collision threshold. Compared with the prior art, the convenience and accuracy of vehicle collision accident detection are greatly improved, the processing speed of vehicle collision accidents is increased, and the maintenance efficiency of traffic is improved.
本发明公开了一种检测视频中车辆事故的方法。包括获取帧频视频,帧采样得到图像帧;采用图像盲复原算法处理后,利用光流算法处理其中的像素值,得到水平方向和竖直方向的速度,以及对应的第一光流场;分别对第一光流场的水平方向和竖直方向进行下采样,得到第二光流场;将核函数应用于第二光流场,得到第一运动场,对第一运动场采用双三次插值,得到第二运动场;根据第二运动场与噪声阈值计算第一异常值;利用自回归模型二次平滑得到第二异常值;根据第二异常值和碰撞阈值的比较结果,确认车辆碰撞的检测结果。相对于现有技术,本发明大大提高了对车辆碰撞事故检测的方便性和准确性,加快了对车辆碰撞事故的处理速度,提升了交通的维护效率。
A method of detecting vehicle accident in video
一种检测视频中车辆事故的方法
2020-10-27
Patent
Electronic Resource
Chinese
Basic Vehicle Accident Investigation. (Video)
NTIS | 1996
European Patent Office | 2018
|Method and system for automatically detecting a vehicle accident
European Patent Office | 2025
|