Proof of concept: I built a program to estimate vehicle distances and speeds from dashcams

Proof of concept: I built a program to estimate vehicle distances and …

dashcam 0 4
Proof of concept: I built a program to estimate vehicle distances and speeds from dashcams

I’ve been working on a proof of concept system that uses AI to detect and track vehicles from dashcam footage, while also estimating their distance and speed.

System Components

  • YOLOv8 for vehicle detection
  • DepthAnythingV2 for monocular depth estimation
  • SORT tracker for consistent vehicle IDs
  • Hybrid distance calculation that combines a pinhole camera model and depth maps

Output

The system overlays on the dashcam video:

  • Bounding boxes on detected vehicles
  • Estimated distance (in meters)
  • Speed (in m/s and km/h)

Additionally, it generates a colorized depth map alongside the dashcam video.

submitted by /u/Willing-Arugula3238 to r/dashcams
[link] [comments]
0 Comments
Facebook Twitter GooglePlus KakaoStory NaverBand