mcanalesmayo / KalmanFilter-PeopleTracker

An implementation of the Kalman Filter with a HOG detector to track people.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KalmanFilter-PeopleTracker

Description

Implementation of the Kalman Filter in order to track people in a sequence of frames (video). The current implementation takes into account the variation in pixels, which leads to a better performance than variation in the ground plane. However, it's less accurate.

It can be seen in the video:

  • A green box which contains the position where the HOG detector has detected a person
  • A yellow box which contains the position where the KF predicts the position of a person
  • A yellow ellipse which indicates the uncertainty of the KF prediction, i.e. the error the KF could take in its prediction.
  • A blue box which contains the position where the KF updates (prediction + measure) the position of a person.
  • A blue ellipse which indicates the uncertainty of the KF update, i.e. the error the KF could take in its update.

If the KF has no measures from the HOG detector then uncertainty ellipses will increase more and more.

Please, see the result in below gif:

References

plotUncertainEllip2D.m by Javier Civera -- jcivera@unizar.es and J. M. M. Montiel -- josemari@unizar.es

If you use this code for academic work, please reference:

  • Javier Civera, Oscar G. Grasa, Andrew J. Davison, J. M. M. Montiel

About

An implementation of the Kalman Filter with a HOG detector to track people.

License:MIT License


Languages

Language:MATLAB 100.0%