开发者

Background subtraction using Emgu CV

开发者 https://www.devze.com 2022-12-13 11:56 出处:网络
How can I implement backg开发者_如何学Cround subtraction using Emgu CV?Yes this is quite possible take a look at the \"MotionDetection\" example provided with EMGU this should get you started.

How can I implement backg开发者_如何学Cround subtraction using Emgu CV?


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

See:Removing background from _capture.QueryFrame()


Check this: http://www.oliveragustin.com/background-subtraction-in-c


This question is old but in case someone is looking for a simple answer.

I had the same problem but on EmguCV 3.1.0 using the class Named BackgroundSubtractor (Link to the class) did the work for me.

Hope it can help someone

0

精彩评论

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