Code covered by the BSD License
Rituraj kaushik (view profile)
27 Aug 2010
This is a matlab code to detect motion. Here I used Image processing toolbox.
Watch this File
Here I have used webcam to get the picture frames. Images are taken regularly after some interval. Two consecutive images are compared to detect the motion.