First time here? Check out the FAQ!

Ask Your Question
0

Comparing Images by getting Percentage in open cv

asked Feb 26 '13

Ashwin gravatar image

updated Feb 26 '13

Hi Guys.. I want to calculate the Average Speed of the vehicles which is flowing on the Road. Please suggest me if there`s any method using which I can do the same.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Feb 26 '13

If you are orthogonal to the road, and you know the distance of the road part you see, it's obvious... Otherwise, the general case is very difficult. You have to estimate the motion of cars according to the point of view, maybe with size difference:

  1. extract the size at first point: a size of XXX means you are in point 1 of the road.
  2. extract size of the car at the end: a size of YYY < XXX or YYY > XXX (depending on your camera orientation) means you are in point 2 of the road.
  3. calculate time between two estimations

=> if you know the distance, you know the speed. Step 1 & 2 aren't easy... Good luck.

Preview: (hide)

Question Tools

Stats

Asked: Feb 26 '13

Seen: 704 times

Last updated: Feb 26 '13