Removing background from _capture.QueryFrame()

ぃ、小莉子 提交于 2019-12-01 13:00:47

问题


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.


回答1:


Yes this is quite possible take a look at the "MotionDetection" example provided with EMGU this should get you started.

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,

Cheer

Chris



来源:https://stackoverflow.com/questions/7328693/removing-background-from-capture-queryframe

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!