I am new to emgu cv; I\'m trying to find a code that makes motion detection. I tried this:
CvInvoke.cvAbsDiff(frame, _backgroundImage, BgDifference);
You can use the MotionHistory class. EmguCV includes an motion detection example (if it doesn't anymore, you can see it here ). With this class, you can get an motionImage, and then you only need to count the pixels to check the biggest area.