A streaming server for simple home video surveillance with motion detection
The inspiration for the basic code to stream from flask came from https://github.com/log0/video_streaming_with_flask_example (www.chioka.in). Following are the credits in his readme: Most of the code credits to Miguel Grinberg, except that I made a small tweak. Thanks! http://blog.miguelgrinberg.com/post/video-streaming-with-flask
More code, for the motion detection in the beginning, came from http://www.pyimagesearch.com/2015/06/01/home-surveillance-and-motion-detection-with-the-raspberry-pi-python-and-opencv/.
Thanks for all the help!
- Install OpenCV 2.4 and Python 2.7 -
sudo apt-get install libopencv-dev python-opencv
- Install Python dependencies -
sudo pip install -r requirements.txt
- Run
python ./src/main.py
- Go to
http://127.0.0.1:5000/
on your browser.
NOT USABLE YET, SORRY