开发者

Removing background from _capture.QueryFrame()

开发者 https://www.devze.com 2023-04-02 19:26 出处:网络
I am using Emgucv and i would like to know if it possible to rem开发者_StackOverflow中文版ove the background from a _capture.QueryFrame and to be able to focus on the nearest object on my camera?Thank

I am using Emgucv and i would like to know if it possible to rem开发者_StackOverflow中文版ove the background from a _capture.QueryFrame and to be able to focus on the nearest object on my camera? Thanks in advance.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消