A Raspberry Pi–powered real-time monitoring system that detects the presence of a baby in a locked car using an AI-powered camera model. If a baby is detected, the system sends an instant alert via Telegram.
- Goal: Prevent life-threatening scenarios by alerting parents if a baby is detected in a locked car.
- Technology: Raspberry Pi, USB camera, YOLOv11 model, Telegram Bot integration.
- Detection Flow:
- Lamp ON = car is unlocked.
- Once the lock button is pressed, the system activates the camera and model.
- If a baby is detected, a Telegram alert is sent to the parent.
- 🧠 Raspberry Pi – central controller.
- 📷 USB Camera – for capturing real-time video.
- 💡 LED Lamp – indicates whether the car is locked or unlocked.
- 🔘 Button – simulates the car locking mechanism.
- Python – programming language used throughout the project.
- OpenCV – handles video streaming and frame processing.
- PyTorch + YOLOv11 (Ultralytics) – for object detection.
- RPi.GPIO – controls the Raspberry Pi GPIO pins.
- Label Studio – used for annotating training images.
- Telegram Bot API – used to send alerts when a baby is detected.
- We collected 500 images of babies from various sources.
- Training is handled via
Train_YOLO_Models.ipynb
. - YOLOv11 from Ultralytics was trained on our custom dataset.
- The trained model is exported and moved to the Raspberry Pi for deployment.
- Telegram bot created with BotFather.
- Alerts sent via Telegram Bot API using Python.