First time here? Check out the FAQ!

Ask Your Question
0

Traffic Jam Detection

asked Aug 16 '13

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.

Preview: (hide)

Comments

1

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 (Aug 16 '13)edit
1

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 (Aug 16 '13)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 (Sep 15 '13)edit

1 answer

Sort by » oldest newest most voted
1

answered Aug 17 '13

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.

Preview: (hide)

Question Tools

Stats

Asked: Aug 16 '13

Seen: 1,904 times

Last updated: Aug 16 '13