从_capture.QueryFrame去除背景() [英] Removing background from _capture.QueryFrame()
问题描述
我使用Emgucv,我想知道是否有可能从_capture.QueryFrame删除背景,并能够专注我的相机在最近的对象?先谢谢了。
I am using Emgucv and i would like to know if it possible to remove the background from a _capture.QueryFrame and to be able to focus on the nearest object on my camera? Thanks in advance.
推荐答案
是的,这是完全可能的看看了 MotionDetection 为例提供EMGU这应该让你开始。
Yes this is quite possible take a look at the "MotionDetection" example provided with EMGU this should get you started.
有效,消除前景的代码是有效的名为_forgroundDetector,它是_motionHistory呈现什么发生了移动商店
Effectively the code that removes the foreground is effectively named "_forgroundDetector" it is the "_motionHistory" that presents stores what movement has occurred.
的例子有,如果您有运行麻烦你所需要的一切它让我知道,
The example has everything you need if you have trouble running it let me know,
陈绮贞
克里斯
这篇关于从_capture.QueryFrame去除背景()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!