https://github.com/denvaar/creeper
Makeshift Raspberry Pi Security Camera System
https://github.com/denvaar/creeper
camera flask motion-detection opencv opencv-python raspberry-pi
Last synced: 2 months ago
JSON representation
Makeshift Raspberry Pi Security Camera System
- Host: GitHub
- URL: https://github.com/denvaar/creeper
- Owner: denvaar
- License: mit
- Created: 2017-07-03T22:54:10.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-18T03:44:56.000Z (almost 8 years ago)
- Last Synced: 2025-04-13T12:09:22.139Z (2 months ago)
- Topics: camera, flask, motion-detection, opencv, opencv-python, raspberry-pi
- Language: Python
- Size: 15.6 KB
- Stars: 29
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# creeper
Makeshift Raspberry Pi Security Camera System*This also works with a Macbook camera, and probably any machine with a camera device.*
More information on my [blog post](https://denverpsmith.com/posts/makeshift-security-camera).
Streaming & motion detection| SMS text notifications
:---------------------------:|:-------------------------:|
## Features
- Captures video and detects motion using OpenCV library.
- Streams video to web page via motion JPEG.
- Allows clients to control camera from web page.
- Allows multiple clients to view live stream.
- Encodes and saves video files when motion is detected.
- Sends a text message with video attachment when motion is detected.## Setup
Install [ffmpeg](https://ffmpeg.org/) and make sure it's in your `PATH`.
Install Python3
Install python dependencies (preferably inside a virtual environment.) Packages can be found in `requirements.txt`:
```bash
pip install -r requirements.txt
```Set the following environment variables:
```bash
export [email protected]
export EMAIL_PASSWORD=youremailpassword
export [email protected]
# this can be whatever you like:
export OUTPUT_FILE_PREFIX=motion
````SMS_PHONE_NUMBER` should use the appropriate SMS gateway address for your carrier.
Start the server:
```bash
python main.py
```## License
MIT