How to calculate vehicle speed ?

  • Thread starter Thread starter ramdas
  • Start date Start date
  • Tags Tags
    Speed Vehicle
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
ramdas
Messages
78
Reaction score
0
hello everyone ,i am doing my project in image processing.i am taking video of car moving on the road and taking video frames of the same.

i want to calculate speed of vehicle.using frame rate i can calculate the time elapsed by vehicle to cover some distance. but i have one difficulty, As the vehicle goes away its size goes down also we can’t use linear scale to compute the distance .for this can anybody help me for distance computation?
or is there any other way to calculate speed vehicle using image processing?
i am doing my coding using MATLAB software.
i am adding images ,so that u can get an idea about it..thank u
 
Physics news on Phys.org
If you know the dimensions of the vehicle, then you can use the apparent size on the screen to tell you it's distance from the camera in each frame.

If you have a parallel distance scale in the shot (say a row of fence posts with a known separation) you can use that to help you work out the distance covered.
 
  • Like
Likes   Reactions: 1 person
but sir,nonlinear scale is the biggest problem here.

Simon Bridge said:
If you know the dimensions of the vehicle, then you can use the apparent size on the screen to tell you it's distance from the camera in each frame.

If you have a parallel distance scale in the shot (say a row of fence posts with a known separation) you can use that to help you work out the distance covered.
but sir,nonlinear scale is the biggest problem here...
 
Why is that a problem ... if you know the dimensions and geometry of, at least, some of the objects in the frame?

Presumably you also know the properties of the camera - i.e. does the camera move about, or is it stationary?
What sort of lens is used? How high is the camera POV?

Is there something regularly spaced in the frame?

You have to use data from outside the picture to be able to analyse the picture.