Skip to content

Latest commit

Β 

History

History
64 lines (47 loc) Β· 1.85 KB

File metadata and controls

64 lines (47 loc) Β· 1.85 KB

STAMPede Detection System

πŸš€ Quick Start

# Install dependencies
pip install -r requirements.txt

# Start the system
python start_enhanced_system.py

πŸ“‹ System Requirements

  • Python 3.8+
  • NVIDIA GPU with CUDA support (recommended)
  • 8GB+ RAM
  • Webcam or video files for testing

🎯 Features

  • Real-time Detection: YOLOv8 Large model with GPU acceleration
  • Professional Interface: Clean web dashboard with live metrics
  • Advanced Analytics: Multi-factor risk assessment and crowd flow analysis
  • Simple Visualization: Clear dots instead of cluttered bounding boxes
  • Smart Alerts: Conservative thresholds prevent false alarms

πŸ“ Project Structure

person-detection/
β”œβ”€β”€ web_server.py              # Main web application
β”œβ”€β”€ stampede.py                # Core detection algorithm  
β”œβ”€β”€ start_enhanced_system.py   # System startup script
β”œβ”€β”€ train.py                   # Model training script
β”œβ”€β”€ templates/
β”‚   └── index.html            # Web interface
β”œβ”€β”€ requirements.txt           # Dependencies
└── FINAL_PROJECT_DOCUMENTATION.md  # Complete documentation

πŸ”§ Configuration

The system automatically detects and uses GPU acceleration if available. Key parameters:

  • Confidence: 0.15 (optimized for dense crowds)
  • Image Size: 1280px (high resolution)
  • Grid Resolution: 32x24 (fine analysis)
  • Risk Thresholds: Conservative to prevent false alarms

πŸ“– Documentation

See FINAL_PROJECT_DOCUMENTATION.md for complete technical details, academic Q&A, and implementation specifics.

πŸŽ“ Academic Use

This project demonstrates:

  • Computer vision applications
  • Real-time processing systems
  • GPU acceleration techniques
  • Web application development
  • Risk assessment algorithms

Perfect for computer science, engineering, and AI/ML courses.