Realtime motion detection using OpenCV.
Input can be a webcam or a saved video file.
Python, Numpy and OpenCV.
Note: may not work well with Anaconda's opencv package because codecs are not included.
In Ubuntu/Debian:
sudo apt-get install python-numpy python-opencv
python setup.py install
Alternately, just place the file motion-detect in your path, or simply run the script directly, e.g.
git clone https://github.com/kylerbrown/motion-detect.git
cd motion-detect
./motion-detect
For usage help, type motion-detect -h