
Suraksha AI
Real-Time Threat DetectionA YOLOv11 model fine-tuned to spot weapons like firearms, knives and grenades in a live camera feed, streamed through a small Flask app.
- when
- Mar 2024 to Jan 2025
- stack
- Python · YOLOv11 · OpenCV · Flask · Roboflow · Firebase
- links
- code ↗
highlights
- Curated a custom threat-detection dataset from Roboflow and Kaggle sources with augmentation for robustness, used to fine-tune YOLOv11 across 6 weapon classes.
- Developed the Flask backend for real-time inference on live video streams at 30 FPS, with Firebase alerts.
What it is
Suraksha AI is an AI surveillance system for home security. It watches a live camera feed and flags dangerous objects as they appear, drawing a labelled box around each one.
How it works
A YOLOv11 model is fine-tuned on a custom dataset of dangerous objects, put together from Roboflow and Kaggle sources and augmented, with six weapon classes.
A small Flask app opens the webcam with OpenCV, runs every frame through the model, draws the boxes and class names, and streams the annotated frames to the browser at 30 FPS. Alerts go out through Firebase.
It started as the code for a research paper, Enhancing Home Security: An Analysis of AI Surveillance Systems Using YOLO, which is still a work in progress.
Stack
- Python, Ultralytics YOLOv11
- OpenCV, Flask
- Roboflow for the dataset, Firebase for alerts