Joey Hines.

joey@ahines:~$ cat motion_detector.md

Motion Detector

A project made for Auburn ELEC 7450: Digtal Image Processing. The source code can be found on my GitHub

Goal

The goal of this project was to detect motion on a video stream from a VideoForLinux source. The algorithm can also be tested by loading in individual frames.

Implementation

The project was written in C and VideoForLinux for grabbing image data and SDL for rendering the video output. A background model is built by implementing a moving average of the image. In addition to this, a motion mask is implemented to desensitise the algorithm from background motion objects.

Webcam output w/ motion highlighted:

motion capture

Motion detection layer:

motion detection layer


joey@ahines:~$
© Joey Hines