Overview
Software Stack
Installation Steps1. Setup Raspberry Pi
Read moreA smart security system that uses computer vision + IoT to detect, recognize, and respond to visitors at your door. It combines a Raspberry Pi 4 Model B, camera module, and cloud alerts to create a real-time intelligent door guardian.
It can:
- Recognize known faces
- Detect unknown visitors
- Send alerts to your phone
- Trigger a buzzer / lock system
- π₯ Real-time face detection & recognition
- π² Instant Telegram alerts with image
- π Optional door lock control
- π‘ Remote monitoring via web dashboard
- π§ Local AI (no heavy cloud dependency)
- Python 3
- OpenCV
- face_recognition library
- Telegram Bot API
- Flask (for dashboard)
System Architecture
Camera β Face Detection β Face Recognition
β
Known / Unknown
β β
Unlock Door Send Alert
β
Telegram NotificationCircuit Connections
sudo apt update && sudo apt upgrade
sudo apt install python3-pip2. Install dependenciespip3 install opencv-python face_recognition flask requests
pip3 install opencv-python face_recognition flask requests
πΈ Dataset PreparationCreate a folder:
dataset/
βββ arpit/
β βββ img1.jpg
β βββ img2.jpgTesting Procedure- Run script
- Show face to camera
Verify:
- Known β Relay triggers
- Unknown β Alert sent
- Face recognition accuracy: ~90β95% (depends on lighting)
- Alert latency: ~2β3 seconds
- Works fully offline except notifications
- Add voice assistant (Amazon Alexa integration)
- Use edge AI accelerator (Google Coral USB Accelerator)
- Add cloud logging dashboard
- Mobile app integration
11 projects β’ 6 followers
Firmware Engineer specializing in embedded systems, MCU programming, and hardware-software integration.








Comments