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!