Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 emgucv 从实时视频源中删除背景。我需要像这个视频这样的东西。我唯一想要的是一个移动的物体或一个人。我尝试了运动检测,但没有达到性能水平。
如果只有背景和光线条件稳定,您就可以这样做。首先获取背景图像。然后获取背景图像和视频帧之间的差异。最后,屏蔽零值像素。换句话说:
(bg:背景图像,cf:当前帧,ri:结果图像)
对每一帧视频执行这些步骤