Frame-differencing-approach-for-background-subtraction
In Frame differencing method the current frame is subtracted from the previous frame. If the difference in the pixel value for the given pixel is greater than a Threshold T, then the pixel is considered to be part of the foreground. We use threshold to distinct real movement from noise.