资 源 简 介
tracker.m
Continuously keeps taking snap in real time and sending to function isub for tracking
isub.m
It is a function which takes two consequent frames, subtracts them(background gets subtracted), converts the
resulting image into binary, finds the centroid of largest area of connected pixels and marks it(tracks it)
The code has been tested in MATLAB 7.6