Ask Your Question

Traffic Jam Detection

asked 2013-08-16 11:51:14 -0600

Krishnananthan gravatar image

Hi friends,

I am doing a project regarding vehicle traffic controlling by getting vehicle count using a security camera. The counting is for a vehicle traffic statistical analysis. I am facing a problem. When traffic jam occurred, the counting must be stopped. Its very difficult to do. Even I don't have any idea to make it possible. Can anyone give me any suggestion and some piece of code regarding this. I'm using the basic vehicle counting code using a classifier file for it.

Thanks in advance.

edit retag flag offensive close merge delete



I don't understand your question. Do you want to detect when a traffic jam occurs? then why not track the vehicles and check when they stop moving?

GilLevi gravatar imageGilLevi ( 2013-08-16 11:57:10 -0600 )edit

i also don't understand, why the counting has to be stopped, when a traffic jam occurs. could you add some more detail here ?

berak gravatar imageberak ( 2013-08-16 14:10:50 -0600 )edit

The requirement is to be get the total number of vehicles traveled in the particular road (one way). I've tried to place the camera across the road and getting the vehicle count. When traffic jam occurs, the camera will count a particular vehicle more than once. Because, I am doing frame based counting. I've fixed the camera across the road is also for the same problem. And I don't have any clue about the distinct vehicle counting. That's why I want to stop counting when traffic jam occurs to avoid the counting get repeated. Please help me on this.

Krishnananthan gravatar imageKrishnananthan ( 2013-09-15 12:22:22 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-16 18:31:41 -0600

redfood gravatar image

If you do simple frame differencing between frame you should get a basic idea of how much movement you have. If they are not moving or moving very slowly you will have a lot less change than if they are moving quickly.

If you need something more sophisticated you can use optic flow to estimate the movement in the image.

edit flag offensive delete link more

Question Tools


Asked: 2013-08-16 11:51:14 -0600

Seen: 1,842 times

Last updated: Aug 16 '13