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 commentaire

Walter Roberson
Walter Roberson le 21 Mar 2016
To clarify: your viewpoint is from a moving car, and you need to detect other moving cars?

Connectez-vous pour commenter.

Réponses (1)

Vidya Viswanathan
Vidya Viswanathan le 31 Mar 2016

0 votes

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!

Translated by