This is a very simple demo, which implements the meanshift tracking algorithm. I also write an Chinese blog to make details about this algorithm. If you are an English speaker, you could read the original paper.
- Matlab
You just run the script of demo_meanshift.m, And select a rectangle area to define an interest target, then let it go.