Watch this Author's files
Works fine, I am also using it in a tracking application.
This is a good video frame viewing tool. Very easy to build upon.
The Kmeans function will occasionally error due to initialization of cluster centers. It tries to access a point outside the data matrix.
Contact us at files@mathworks.com