Logo Lanfrica

heshamayman/Violence-Detection

Domain:

peace and security

Record type:

software
Creator:
hes
Host:
It is a mobile application for detecting acts of violence in live streams and uploaded videos. This initiative aimed to assist government institutions, schools, and parents in Egypt in detecting violence promptly and taking necessary measures to address the issue effectively. Using flutter, dart, python, colab, deep learning. # Violence Detection Mobile App ## Overview This project is a mobile application for detecting acts of violence in live streams and uploaded videos. It aims to help government institutions, schools, and parents in Egypt identify violent behavior early and take appropriate action. The system combines deep learning models with a mobile-friendly deployment to enable fast and efficient violence detection, even on low-end devices. ## Tech Stack - **Mobile:** Flutter, Dart - **Backend:** Python, FastAPI - **Deep Learning:** TensorFlow - **Development & Training:** Google Colab ## Key Features - Detects violent activities in live video streams and uploaded videos - Mobile application with simple and user-friendly interface - Backend API for model inference and communication - Optimized for real-time and time-sensitive applications ## Model & Approach - Implemented SepConvLSTM, a compact and efficient alternative to ConvLSTM, enabling effective spatiotemporal feature learning with fewer parameters - Trained and evaluated models using the RWF-2000 surveillance dataset - Experimented with multiple architectures: - SepConvLSTM - 3D CNN (3DCNN) - C3D for action recognition - Transformer encoders with multi-head self-attention for sequential video data The SepConvLSTM model achieved strong performance while remaining computationally efficient, making it suitable for real-world deployment. ## Data Analysis & Experiments - Analyzed and categorized violence samples from the RWF-2000 dataset - Extracted feature vectors using a trained 3DCNN - Applied dimensionality reduction techniques: - t-SNE - UMAP - Performed clustering using: - K-Means - DBSCAN The clustering results did not align clearly with predefined violence categories, highlighting the complexity of real-world violent behavior. ## Use Case - Early detection of violence in schools and public institutions - Supporting authorities and parents in taking preventive actions - Real-time monitori …