Can OpenCV detect approaching object's speed?
Hi guys,
My first question, please, bear with me. Before I start actual programming I would like to know if OpenCV is capable of detecting speed and distance of an approaching object (vehicle). I was reading a lot and all examples/projects are done in a way that camera is placed perpendicularly to the road.
Let me describe what I want to do: I want to mount Raspberry Pi with new 8MP Raspberry camera to the motorcycle facing backwards. Using OpenCV I would like to detect the speed and distance of approaching vehicle (usually car) while motorcycle is stationary waiting at the traffic light (this is important for OpenCV - background will be kind of static). If the car will be approaching with dangerously high speed motorcycle driver will be notified with a dash LED and bike's brake light will start to flash quickly. I am not sure yet how I'll implement that image will be analysed only at standstill (maybe G sensor...).
So, is OpenCV capable of detecting speed and distance of an approaching object?
Thank you for any help and suggestion,
Matej