Motion detection using OpenCV (Raspberry Pi compatible), alerting through pushbullet, served with flask.
MIT License
With this repo you can:
I strongly advise you to install a separate virtual environment to avoid dependency hells of python packages. Check out "Step 8" from this nice blog post.
Get an Access token from Pushbullet
Make sure you have 'curl' installed:
sudo apt install curl
Python 3
run the install.sh script:
./install.sh
CAMERA=opencv python3 app.py -c conf.json
Then open this address (http://0.0.0.0:5000/) on your browser.
If you run it on raspberry pi (+ enabled camera module, installed picamera package), uncomment line 13 from app.py:
#from camera_pi import Camera
and then run:
python3 app.py -c conf.json
miguelgrinberg - for the flask streaming part Adrian Rosebrock - for the motion detection part pushbullet - for the alerts part
You might have to install these libraries if you get errors complaining about them:
sudo apt install libhdf5-dev
sudo apt install libhdf5-serial-dev
sudo apt install libqt4-test
sudo apt install libqtgui4