The invention discloses a roadside monocular camera real-time vehicle speed extraction method based on an MF fusion algorithm, and the method comprises the following steps: S1, installing a monocular camera at a roadside, and collecting a road video image; s2, carrying out framing processing on the road video image to form a frame-by-frame image; s3, performing a monocular depth estimation algorithm through the MiDaS model; s4, obtaining two adjacent frame-by-frame images It and It + 1, and calculating the optical flow between the adjacent images by using a Farneback optical flow method; and S5, combining the optical flow vector with the depth map, and calculating the pixel speed to obtain the traffic flow running speed. According to the roadside monocular camera real-time vehicle speed extraction method based on the MF fusion algorithm, the pixel depth of each frame of image is predicted through a depth estimation algorithm, and the motion information of pixels in adjacent frames is captured in combination with an optical flow method, so that the actual speed of the vehicle is calculated; and the real-time performance and the reliability of roadside traffic flow monitoring are obviously improved.
本发明公开了一种基于MF融合算法的路侧单目摄像头实时车速提取方法,包括以下步骤:S1:在路侧安装单目摄像头,采集道路视频图像;S2:对道路视频图像进行分帧处理形成逐帧图像;S3:通过MiDaS模型进行单目深度估计算法;S4:获取两帧相邻的逐帧图像It和It+1,利用Farneback光流法计算相邻图像之间的光流;S5:通过将光流向量与深度图结合,通过计算像素速度得到车流运行速度。本发明采用上述的一种基于MF融合算法的路侧单目摄像头实时车速提取方法,通过深度估计算法对每帧图像的像素深度进行预测,结合光流法捕捉相邻帧中像素的运动信息,以此计算出车辆的实际速度,显著提高了路侧交通流监测的实时性和可靠性。
Roadside monocular camera real-time vehicle speed extraction method based on MF fusion algorithm
一种基于MF融合算法的路侧单目摄像头实时车速提取方法
2025-05-06
Patent
Electronic Resource
Chinese
Vehicle track extraction method based on roadside fixed camera
European Patent Office | 2025
|Lane Detection with Roadside Structure Using On-board Monocular Camera
British Library Conference Proceedings | 2009
|Real-Time Traffic Monitoring Using Roadside Digital Camera
Springer Verlag | 2025
|