This project is a Flask-based web application for detecting
suspicious activities in videos using deep learning models.
It provides a simple web interface where users can upload a video
and choose a detection model to analyze events like:
- 🚗 Accident Detection
- 🛒 Shoplifting Detection
- 🔫 Weapon Detection
- 🌐 Web interface built with Flask\
- 🎥 Upload video and perform real-time activity detection\
- ⚡ Multiple detection models (Accident, Shoplifting, Weapon)\
- 📊 Results are displayed with processed video frames\
- 🧩 Modular design (easy to add more models in the future)
- Frontend: HTML, CSS (Flask Templates)\
- Backend: Python, Flask\
- Deep Learning Models: Pretrained Suspicious Activity Detection models\
- Libraries: OpenCV, TensorFlow/PyTorch (based on models), Numpy
finalproject/
│── scripts/
│ ├── app.py # Main Flask app
│ ├── detect_flask.py # Video frame generator
│ ├── detect_multi.py # Multi-activity detection script
│ ├── detect_single.py # Single-activity detection script
│ ├── suspicious_activity.py# Core model functions
│
│── templates/
│ ├── index.html # Upload & model selection page
│ ├── result.html # Detection results page
│
│── static/
│ └── uploads/ # Uploaded videos
│
│── results/ # Output videos
│
│── testing.mp4 # Sample input video
│── output.mp4 # Sample output video
git clone https://github.com/yourusername/suspicious-activity-detection.git
cd suspicious-activity-detectionpython -m venv venv
source venv/bin/activate # On Mac/Linux
venv\Scripts�ctivate # On Windowspip install -r requirements.txtcd scripts
python app.pyGo to:
👉 http://127.0.0.1:5000/
📹 [Watch Demo Video]
- Add real-time camera stream detection\
- Extend models for more suspicious activities (fights, robbery, etc.)\
- Improve UI/UX design for better visualization
- Your Name -- Project Developer
This project is licensed under the MIT License -- feel free to use and modify.

