How to calculate vehicle speed ?

  • Thread starter Thread starter ramdas
  • Start date Start date
  • Tags Tags
    Speed Vehicle
AI Thread Summary
To calculate vehicle speed using image processing, frame rate can determine the time taken for a vehicle to cover a distance. The challenge arises from the vehicle's apparent size decreasing as it moves away, complicating distance measurement. Knowing the vehicle's dimensions allows for distance estimation based on its size in the frame. Utilizing a reference object with a known distance, like fence posts, can aid in calculating speed despite the nonlinear scale issue. Accurate analysis requires understanding camera properties and possibly incorporating external data for better results.
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 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.
 
Back
Top