Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Formula to calculate the speed of moving vehicle using focal length in openCV

Hello, I am doing a project on Estimating the speed of moving vehicle from the video captured in openCV. Now I have computed the speed using – (Euclidean distance between two centroids)/ time. But I exactly want the actual speed of vehicle which’s calculated using the focal length of the camera. I want to know the formula for the same. I googled it but it’s of no use.

I would be grateful for your help. Thanks in advance :)