Real-Time Violence Detection in Smart Cities Using Lightweight Spatiotemporal Deep Learning Models
The rapid development of smart-city infrastructure and the complexity of urban environments increase the need for automated systems that detect violence in surveillance footage. This paper presents a deep-learning architecture for detecting violence and weapon-related activity in CCTV footage using the Smart-City CCTV Violence Detection (SCVD) dataset. MobileNetV2 extracts spatial features from video frames through TimeDistributed layers, and a stacked Long Short-Term Memory (LSTM) network models temporal dependencies. The system processes 15-frame sequences at a resolution of 128 × 128 pixels. Batch normalization and dropout are used to improve generalization and limit overfitting, while a sigmoid output produces binary classifications. On the SCVD evaluation, the model achieved 99.58% accuracy and a binary cross-entropy loss of 0.0139. The Normal class achieved precision, recall, and F1-score values of 0.99; the Violence class metrics were reported as 1.00 after rounding. These results indicate the potential of compact spatiotemporal models for reliable surveillance and deployment on edge devices such as smart cameras and embedded systems.
Volume & Issue
Vol. Volume 9 / Iss. Issue 2