An open API service indexing awesome lists of open source software.

https://github.com/mmali3287/smartdoorbell

IoT-enabled smart video doorbell using AI face recognition, low-latency real-time streaming, MQTT communication and instant mobile notifications for secure access control.
https://github.com/mmali3287/smartdoorbell

cplusplus esp32 facerecognition firebase iot kotlin materialdesign ml motiondetection mqtt opencv pushnotifications python raspberrypi realtimevideostreaming security

Last synced: about 2 months ago
JSON representation

IoT-enabled smart video doorbell using AI face recognition, low-latency real-time streaming, MQTT communication and instant mobile notifications for secure access control.

Awesome Lists containing this project

README

          

# 🚪 Smart Video Doorbell

[![Tech Stack](https://img.shields.io/badge/Tech%20Stack-Kotlin%20%7C%20Python%20%7C%20C%2B%2B-blue)](#️-tech-stack)
[![AI/ML](https://img.shields.io/badge/AI%2FML-Face%20Recognition-green)]()
[![IoT](https://img.shields.io/badge/IoT-ESP32%20%7C%20Raspberry%20Pi-orange)](#️-tech-stack)
[![Cloud](https://img.shields.io/badge/Cloud-Firebase-yellow)](#️-tech-stack)
![Recognition Accuracy](https://img.shields.io/badge/Recognition%20Accuracy-95%25-brightgreen)

A cutting-edge IoT security solution that revolutionizes home access control through AI-powered face recognition, real-time video streaming, and smart notifications.

## ✨ Key Features

- 🎥 Real-time video streaming with <500ms latency
- 🤖 AI-powered face recognition (95% accuracy)
- 🔐 Multi-factor authentication
- 📱 Modern Android app with Material Design
- ⚡ Instant push notifications
- 🎯 Motion detection with AI processing
- 🔄 MQTT-based real-time communication
- 🛡️ End-to-end security

## 🏗️ Architecture

```mermaid
graph TB
A[Mobile App] -->|HTTP/MQTT| B[Raspberry Pi Server]
B -->|Video Stream| A
B -->|Face Recognition| B
B -->|MQTT| C[ESP32 Controller]
C -->|GPIO| D[Door Lock]
C -->|GPIO| E[Doorbell Button]
C -->|GPIO| F[Motion Sensor]
B -->|FCM| G[Firebase]
G -->|Push Notifications| A
```

## 🛠️ Tech Stack

### Mobile Application

- **Language**: Kotlin
- **Framework**: Android Jetpack
- **UI**: Material Design 3
- **Network**: Retrofit, MQTT
- **Streaming**: MJPEG viewer

### Backend Server

- **Language**: Python
- **ML**: face_recognition, OpenCV
- **Camera**: PiCamera2
- **Messaging**: Firebase Admin SDK
- **Protocol**: MQTT, HTTP

### IoT Hardware

- **Platform**: ESP32
- **Language**: C++/Arduino
- **Protocols**: MQTT, WiFi
- **Sensors**: Camera, Motion, GPIO

## 📊 Performance Metrics

| Metric | Value | Impact |
| ------------------------- | ------ | -------------------- |
| Face Recognition Accuracy | 95% | Enhanced security |
| Video Stream Latency | <500ms | Real-time monitoring |
| Push Notification Delay | <2s | Immediate alerts |
| System Uptime | 99.9% | High reliability |
| Battery Life | 72h | Extended operation |

## 🚀 Quick Start

1. Clone the repository

```bash
git clone https://github.com/MMALI3287/SmartDoorBell.git
```

2. Set up hardware components

- Connect ESP32 to door lock mechanism
- Set up Raspberry Pi with camera module
- Configure motion sensors

3. Configure Firebase

```bash
# Install dependencies
pip install firebase-admin face_recognition opencv-python paho-mqtt

# Set up Firebase credentials
export GOOGLE_APPLICATION_CREDENTIALS="path/to/credentials.json"
```

4. Build and run Android app

```bash
cd android
./gradlew assembleDebug
```

## 🎯 Results & Impact

- **Security**: Enhanced home security with AI-powered access control
- **Convenience**: Remote monitoring and management via mobile app
- **Reliability**: 99.9% system uptime with failsafe mechanisms
- **Innovation**: Cutting-edge integration of IoT, AI, and mobile technologies

## 🌟 Future Development

- Two-way audio communication
- Cloud recording and playback
- Multi-camera support
- Smart home platform integration
- iOS application
- Commercial deployment features

## 🤝 Contributing

Contributions are welcome! Please read our [Contributing Guide](CONTRIBUTING) for details on our code of conduct and the process for submitting pull requests.

## 📝 License

This project is licensed under the [MIT License](LICENSE)

---


Made with ❤️ for a safer and smarter home