Robotics

Measuring vehicle speed from a fixed monocular camera

hardsubjectivesystem design

Asked in interviews

A fixed camera faces a road. How would you estimate the speed of vehicles passing by, using a single (monocular) camera and classical methods?

cameraΔx over Δtcar @ t@ t+Δt
A fixed monocular camera watches a stretch of road; estimate each passing vehicle's speed from how far it moves between frames, with no depth sensor.

Voice input needs Chrome or Edge. On this browser, type your answer — grading is the same.