People tracking in real time

2 views (last 30 days)
how to track a people in real time ?

Accepted Answer

Dima Lisin
Dima Lisin on 20 Jan 2016
Edited: Dima Lisin on 20 Jan 2016
Hi Biswas,
You have several options here. You can try the Detect and Track Multiple Faces example on the File Exchange, which detects and tracks multiple faces. You can try the same thing: replacing vision.CascadeObjectDetector with vision.PeopleDetector.
Alternatively, if your camera is stationary, you can use vision.ForegroundDetector to detect any moving objects. See Motion-Based Multiple Object Tracking example in the Computer Vision System Toolbox.
In either case, if you want to track people reliably for 10-15 minutes, you will have to do a lot of tweaking and tuning of parameters.

More Answers (0)


Find more on Computer Vision Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!