Background subtraction using Emgu CV
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
精彩评论