Tracking Pedestrians from a Moving Car

This code detects pedestrians. I need a similar code to detect a moving car. How do i do that? Please help me.

1 Comment

To clarify: your viewpoint is from a moving car, and you need to detect other moving cars?

Sign in to comment.

Answers (1)

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

Asked:

on 21 Mar 2016

Answered:

on 31 Mar 2016

Community Treasure Hunt

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

Start Hunting!