MOTION DETECTION IN LIVE VIDEO STREAM
The system architecture is going to function in following way:
1. Capturing the live video feed through a web cam : To detect motion we first have to capture live video frames of the area to be monitored and kept under surveillance this is done by using a web cam which continuously provides a sequence of video frames in a particular speed of FPS (frames per second).
2. Comparing the current frames captured with previous frames to detect motion: For checking whether any motion is present in the live video feed, we compare the live video frames being provided by the web cam with each other so that we can detect changes in these frames and hence predict the occurrence of some motion.
3. Storing the frames on the memory if motion is detected. If motion is being detected, we would require storing such motion so that the user can view it in the near future. This also helps the user in providing a legal proof of some inappropriate activity since a video coverage can be used as a proof in the court of law.
Cite As
vishal rana (2024). MOTION DETECTION IN LIVE VIDEO STREAM (https://www.mathworks.com/matlabcentral/fileexchange/36137-motion-detection-in-live-video-stream), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Image Acquisition Toolbox > Image Acquisition in Simulink >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Acquisition in Simulink >
- Industries > Aerospace and Defense > C4ISR >
- Image Processing and Computer Vision > Computer Vision Toolbox > Tracking and Motion Estimation > Motion Detection >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.