How to calculate vehicle speed ?

  • Thread starter Thread starter ramdas
  • Start date Start date
  • Tags Tags
    Speed Vehicle
Click For Summary

Discussion Overview

The discussion revolves around calculating the speed of a vehicle using image processing techniques, specifically through video analysis. Participants explore methods for determining distance and speed from video frames, addressing challenges related to perspective and scale as the vehicle moves away from the camera.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests using the vehicle's known dimensions to estimate its distance from the camera based on its apparent size in the video frames.
  • Another participant proposes using a parallel distance scale, such as a row of fence posts with known separations, to assist in calculating the distance covered by the vehicle.
  • A concern is raised regarding the use of nonlinear scales, which complicates the distance computation as the vehicle moves away.
  • Further questions are posed about the camera's properties, such as whether it is stationary or moving, the type of lens used, and the height of the camera's point of view, which may affect the analysis.
  • Participants emphasize the necessity of incorporating external data to accurately analyze the video frames.

Areas of Agreement / Disagreement

Participants express differing views on the challenges posed by nonlinear scaling and the methods for calculating distance and speed. There is no consensus on a singular approach, and the discussion remains unresolved regarding the best techniques to employ.

Contextual Notes

The discussion highlights limitations related to the assumptions about camera properties and the need for external reference points, which are not fully addressed in the contributions.

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.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
7
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
Replies
1
Views
2K
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
8K
  • · Replies 2 ·
Replies
2
Views
1K