Kalman filter for Video Tracking

Kalman filter for human target tracking by assuming Gaussian distributed data.
144 Downloads
Updated 18 Jan 2021

View License

The code provides a simple yet clear tracking example via a conventional Kalman filter by assuming Gaussian distributed data.
Feel free to explore the two input video by changing: video = VideoReader('Tracking3.avi');
to 'Tracking1.avi' or 'Tracking2.avi'.

Data for the example can be found here:
https://www.dropbox.com/s/4iun8ztwguwkms7/TrackingEx.zip?dl=0

The tracking example can be applied to other video input data, whereas an adjustment of the threshold (th = 0.1490;) and the initialization of the Kalman filter parameters (R, H, Q, P) might be required.

Inspiration was given by Xing, while I modified and extended his example since the aviread() function could not be found anymore in newer Matlab versions. ( https://www.mathworks.com/matlabcentral/fileexchange/36786-kalman-filter-in-tracking?s_tid=FX_rc1_behav )

Cite As

Ronny Guendel (2024). Kalman filter for Video Tracking (https://www.mathworks.com/matlabcentral/fileexchange/85880-kalman-filter-for-video-tracking), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired by: Kalman filter in Tracking

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.4

Data upload

1.0.3

Change Files

1.0.2

Change files to Zip with video!

1.0.1

Change of Description text.

1.0.0