A simple doorbell camera utilizes openCV and servo to Lock/Unlock doors.
This is one of my starting projects for a smart doorbell system using OpenCV and raspberry pi. I plan to expand my project with a touchpad that will trigger a speaker as a doorbell and fix face detection in the future. For now, The project consists of just a camera, a servo, a touch sensor, and a Raspberry Pi 3:
- When the sensor is touched, it will send a discord webhook message to your discord server.
- A flask Website that shows the camera with features like: taking images, unlocking/ locking the door with a servo.
The output of the camera module (which is the live video) will be streamed through Flask. Through the same network, all devices will be able to see these outputs through a webpage:
<your raspberry pi IP:5000>
You can just install the following dependencies to create a camera stream through requirements.txt.
sudo apt update
sudo apt upgrade
pip install -r requirements.txt
If you want to try, clone this repository through:
git clone https://github.com/Travis-Houston/doorbell-camera.git
- Install the code through cloning in github (note that all of the files and dependencies should be downloaded so that it could work properly)
- Run the code through this command:
sudo python3 your_path_to_project/Main.cpp
- Phone: 0707191380
- Email: [email protected]