Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jameskulu/smart-security-system-pi4
It is a security system made using raspberry pi 4. It sends an email with the picture to the owner if it detects an unauthorized user's face.
https://github.com/jameskulu/smart-security-system-pi4
opencv python3 raspberry-pi-4 raspberry-pi-camera
Last synced: 5 days ago
JSON representation
It is a security system made using raspberry pi 4. It sends an email with the picture to the owner if it detects an unauthorized user's face.
- Host: GitHub
- URL: https://github.com/jameskulu/smart-security-system-pi4
- Owner: jameskulu
- Created: 2021-07-06T13:29:06.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-21T14:09:04.000Z (about 3 years ago)
- Last Synced: 2024-10-11T16:41:14.063Z (about 1 month ago)
- Topics: opencv, python3, raspberry-pi-4, raspberry-pi-camera
- Language: Python
- Homepage: https://youtu.be/ddkmP_WVnTU
- Size: 427 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Home Security System Using Raspberry Pi 4
### Project Overview
IOT Raspberry Pi security camera running OpenCV for object detection. The camera will send an email with an image of any objects it detects an unauthorized person and buzzer will also be buzzed to alert the owner.
### Things used in this project
* Raspberry Pi 4
* Pi camera
* Buzzer
* Breadboard
* Jumper Wires### How to use
First part is to install the dependencies using `pip3 install -r requirements.txt` command.
After that you need to create a `.env` file and add the information shown in `.env.example` file.
After the project initialization is completed you need to run certion command to run this application
First part is save the face of an authorized person. For that, you need to run some command as follows:
* Run command `python3 data_gathering.py` to store the images of an authorized person.
* Run command `python3 trainer.py` to create a labels for face detection. It will create two files (labels and trainer.xml)After the face image storing part is done. We can now use the application to secure from an unauthorized person. For that you need to
* Run the command `python3 main.py` and go to `http://192.168.1.115:5000` this url in your browser to view the live security feed.
If the application detect an unauthorized person then the email messsage with the image of that person will be sent to the configured email and buzzer will be buzzed 3 times for an extra security.