Tracking Pedestrians from a Moving Car

1 view (last 30 days)
Monalisa Tripathy
Monalisa Tripathy on 21 Mar 2016
Answered: Vidya Viswanathan on 31 Mar 2016
This code detects pedestrians. I need a similar code to detect a moving car. How do i do that? Please help me.
  1 Comment
Walter Roberson
Walter Roberson on 21 Mar 2016
To clarify: your viewpoint is from a moving car, and you need to detect other moving cars?

Sign in to comment.

Answers (1)

Vidya Viswanathan
Vidya Viswanathan on 31 Mar 2016
Hi Monalisa,
If you read through the code in this example, you will notice that it uses an in-built function to detect people ("detectPeopleACF"). Once the detection of the object of interest is done, all that the tracking algorithm does is use a Kalman filter based approach to predict the position of the object in the next time instant. So I suppose you would have to replace the people detector algorithm with something that detects cars. There are a couple of ways to train your system to detect cars (or any object of interest). Refer to the following link that describes how it can be done in MATLAB:
I hope this helps.
Ragards,
Vidya

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!