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 :)
HELLO THERE, I M WORKING ON SAME PROJECT, CAN U PLS SHARE UR CODE TO FIND SPEED USING CENTROIDS