Simple demo program for color based tracking (Scripts) Publisher's description
from Prakash Manandhar
Simple script to read a video file and track a single red marker in 2D using the hue and saturation values
Simple script to read a video file and track a single red marker in 2D using the hue and saturation values. The largest red blob is detected and the mean co-ordinate position of this blob is tracked. This code does not have any tracking built-in: it treats each frame independently.
This assumes that the video is a constant frame rate video. The resulting co-ordinate time series are stored in the variables: t, Xc and Yc.
Download from http://www.youtube.com/watch?v=Thnv0IQqXFE
for a sample video on which this program was tested.
System Requirements:MATLAB 7.11 (2010b)
Program Release Status: New Release
Program Install Support: Install and Uninstall