Real time motion detection by Camera using Mat-Lab

  • 9 years ago
First of all I want to give a small introduction of this project but in brief. We are going to detect the motion of any moving object using our well known MATLAB toolboxes. I use in my machine MATLAB R2012a, which includes Image Acquisition Toolbox and Computer Vision Toolbox. Computer Vision Toolbox indeed is a very useful tool in the field of image processing. Though I used the Image Acquisition Toolbox for acquiring the live image stream from the webcam, but anyone can use other MATLAB commands to do the same. So this particular toolbox is not a big deal in this case.

In my sample program I used Optical Flow Method to detect the moving objects. Optical flow or optic flow is the pattern of apparent motion of objects, surfaces, and edges in a visual scene caused by the relative motion between an observer (an eye or a camera) and the scene.

Recommended