Description: There are many approaches for motion detection in a continuous video stream. All of them are based on comparing of the current video frame with one from the previous frames or with something that we ll call background. In this article, I ll try to describe some of the most common approaches.
File list (Check if you may need any files):
motion_src\motion.sln
..........\motion.suo
..........\dshow\AssemblyInfo.cs
..........\.....\dshow.csproj
..........\.....\Filter.cs
..........\.....\FilterCollection.cs
..........\.....\Tools.cs
..........\.....\Core\1.txt
..........\.....\....\IBaseFilter.cs
..........\.....\....\IBasicVideo.cs
..........\.....\....\ICreateDevEnum.cs
..........\.....\....\IEnumPins.cs
..........\.....\....\IFileSourceFilter.cs
..........\.....\....\IFilterGraph.cs
..........\.....\....\IGraphBuilder.cs
..........\.....\....\IMediaControl.cs
..........\.....\....\IMediaEvent.cs
..........\.....\....\IMediaPosition.cs
..........\.....\....\IMediaSeeking.cs
..........\.....\....\IPin.cs
..........\.....\....\IPropertyBag.cs
..........\.....\....\ISampleGrabber.cs
..........\.....\....\IVideoFrameStep.cs
..........\.....\....\IVideoWindow.cs
..........\.....\....\Structures.cs
..........\.....\....\Uuids.cs
..........\.....\....\Win32.cs
..........\motion\AboutForm.cs
..........\......\AboutForm.resx
..........\......\App.ico
..........\......\AssemblyInfo.cs
..........\......\Camera.cs
..........\......\CameraWindow.cs
..........\......\CameraWindow.resx
..........\......\CaptureDeviceForm.cs
..........\......\CaptureDeviceForm.resx
..........\......\Copyright.txt
..........\......\IMotionDetector.cs
..........\......\MainForm.cs
..........\......\MainForm.resx
..........\......\motion.csproj
..........\......\MotionDetector1.cs
..........\......\MotionDetector2.cs
..........\......\MotionDetector3.cs
..........\......\MotionDetector3Optimized.cs
..........\......\MotionDetector4.cs
..........\......\URLForm.cs
..........\......\URLForm.resx
..........\......\bin\Debug\motion.exe.config
..........\......\...\Release\motion.exe.config
..........\......\Resources\1.gif
..........\......\.........\2.gif
..........\......\.........\3.gif
..........\......\.........\4.gif
..........\......\.........\5.gif
..........\......\.........\6.gif
..........\......\.........\7.gif
..........\......\.........\8.gif
..........\......\.........\9.gif
..........\......\VideoSource\ByteArrayUtils.cs
..........\......\...........\CameraEvents.cs
..........\......\...........\CaptureDevice.cs
..........\......\...........\IVideoSource.cs
..........\......\...........\JPEGStream.cs
..........\......\...........\MJPEGStream.cs
..........\......\...........\VideoFileSource.cs
..........\......\...........\VideoStream.cs
..........\references\AForge.dll
..........\..........\AForge.Imaging.dll
..........\..........\AForge.Math.dll
..........\vfw\AssemblyInfo.cs
..........\...\AVIReader.cs
..........\...\AVIWriter.cs
..........\...\vfw.csproj
..........\...\Win32.cs