AI-Based Drone Surveillance System
Real-time computer vision platform with YOLOv8 detection and DeepSORT tracking



Overview
Production-grade surveillance system combining YOLOv8 object detection (50+ mAP50-95), DeepSORT multi-object tracking (95%+ ID persistence), and full-stack analytics platform. Features real-time video processing at 30+ FPS, polygonal geofencing, severity-based alerting, and comprehensive audit logging. Built with Flask REST API (20+ endpoints), React 18 frontend, and JWT role-based access control. Deployed for critical infrastructure monitoring, border security, and event management.
The Problem
Traditional surveillance systems cannot process live drone footage with actionable object detection, tracking, and spatial analysis in real-time. Security operations require immediate threat identification, persistent object tracking across frames, automated geofence breach detection, and comprehensive audit trails. Manual monitoring is labor-intensive, error-prone, and cannot scale to multi-camera deployments. Existing solutions lack customizable alerting, historical analytics, and secure multi-user access controls necessary for enterprise security operations.
The Solution
Built a production-grade computer vision platform integrating YOLOv8 for real-time object detection with DeepSORT algorithm for multi-object tracking achieving 95%+ ID persistence. Architected Flask REST API backend with 20+ endpoints handling video stream ingestion, processing orchestration, and data persistence via SQLite with optimized indexing. Implemented JWT authentication with role-based access control (admin, operator, viewer roles) and comprehensive audit logging. Developed React 18 + Vite frontend with Tailwind CSS dark theme featuring live MJPEG streaming with bounding box overlays, interactive Leaflet maps for polygonal geofencing, and real-time analytics dashboards with Chart.js visualizations. Engineered multi-threaded video processing pipeline with frame skipping optimization for CPU mode, resolution scaling, and lazy model initialization. Integrated severity-based alerting system with configurable thresholds, time-series analytics, PDF report generation, and CSV/JSON export capabilities. Deployed with Gunicorn WSGI server in cloud-ready configuration (Render/Heroku) with environment-based secrets management.
Key Features
Technology Stack
Computer Vision
Backend
Frontend
Database & Storage
Streaming & Processing
Deployment
Key Outcomes & Impact
- 1Achieved 50+ mAP50-95 object detection accuracy with custom-trained YOLOv8 model and 95%+ multi-object tracking ID persistence using DeepSORT algorithm
- 2Delivered real-time video processing at 30+ FPS with GPU acceleration and optimized CPU fallback mode through adaptive frame skipping and resolution scaling
- 3Implemented production-grade REST API with 20+ endpoints, JWT authentication, role-based access control, and comprehensive audit logging for enterprise security operations
- 4Built interactive React 18 dashboard with live MJPEG streaming, bounding box overlays, Leaflet-based polygonal geofencing, and real-time analytics visualizations
- 5Enabled automated threat detection with severity-based alerting, configurable thresholds, and instant notifications for geofence breach and suspicious activity patterns
- 6Generated PDF/CSV reports with time-series analytics, heatmap visualizations, and historical trend analysis for security audits and operational review