Background subtraction algorithm for real time video?
显示 更早的评论
How do I perform background subtraction for video input from my web cam? I know how to do this for images and video files, but not for real time video.
2 个评论
nabihaa izzaty
2018-4-19
Hi David, can I know the code for background substraction for the image and the video files?
Image Analyst
2018-4-19
nabihaa, my code in my answer gives code to subtract an image (generated from the average of some prior frames) from the current frame. Of course you could adapt it to subtract a constant, fixed image that you read from disk if you want. That should be trivial.
采纳的回答
更多回答(1 个)
Nitin
2014-2-16
0 个投票
You could get the frames from each video and apply your algorithm on each one. Is speed the issue here?
类别
在 帮助中心 和 File Exchange 中查找有关 Video Formats and Interfaces 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!