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.