improved motion detection accuracy by smoothing noise