https://github.com/kanocomputing/spy-camera
https://github.com/kanocomputing/spy-camera
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kanocomputing/spy-camera
- Owner: KanoComputing
- License: gpl-2.0
- Created: 2014-05-20T14:18:49.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-20T14:24:00.000Z (about 12 years ago)
- Last Synced: 2025-04-04T01:51:05.944Z (about 1 year ago)
- Language: Python
- Size: 145 KB
- Stars: 14
- Watchers: 31
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Raspberrypi Spy Camera
======================
Turns a Raspberry Pi plus camera module into a intelligent 'spy camera'. If motion is detected, an email is sent to a chosen email address containing the pictures captured.
The motion detection is implemented using opencv's python bindings, which provides fast image processing.
#### To install on a Rasbperry Pi running Kano OS
1. enable camera
* `$ sudo kano-camera`
2. install picamera
* `$ sudo pip install picamera`
3. install opencv python bindings
* `sudo apt-get install python-opencv`
4. restart the Raspberry Pi in order to finish the camera enabling
* `$ sudo reboot`
#### To install on a Rasbperry Pi running Raspbian
1. enable camera in raspi-config
* `$ sudo raspi-config`
2. install picamera (ensure you have python pip installed)
* `$ sudo pip install picamera`
3. install opencv python bindings
* `sudo apt-get install python-opencv`
4. restart the Raspberry Pi in order to finish the camera enabling
* `$ sudo reboot`
#### How to use
1. edit motion_detection.py, scroll to the bottom, edit email/smpt_server details
2. run the motion_detection.py in python
* `$ python motion_detection.py 'my_password'`