Accurate and Efficient Two-Stage Gun Detection in Videos

Badhan Chandra Das a,b , M. Hadi Amini a,b, , and Yanzhao Wu a, · 2025

Read Accurate and Efficient Two-Stage Gun Detection in Videos by Badhan Chandra Das a,b , M. Hadi Amini a,b, , and Yanzhao Wu a, (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-06317.txt.

Introduction

Badhan Chandra Das, M. Hadi Amini, and Yanzhao Wu built in 2025 a two-stage way to spot guns in video. Guns are small, change shape by angle, and hide in busy scenes, and labeled gun video is scarce. The team first tested a shelf of known video and detection methods and found them wanting on real gun footage. Their fix splits the job in two.

Stage one trains a model on boosted still images to flag clips that hold a gun. Stage two runs a detector only on flagged clips to box the gun's spot in each frame. Tests showed clear gains in accuracy and speed over the shelf methods. The team also maps the hard spots left for this field.

Catalog record

CREATORBadhan Chandra Das a,b , M. Hadi Amini a,b, , and Yanzhao Wu a,
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE42 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-06317

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Accurate and Efficient Two-Stage Gun Detection in Videos Badhan Chandra Das a,b , M. Hadi Amini a,b, , and Yanzhao Wu a, Abstract Object detection in videos plays a crucial role in advancing applications such as public safety and anomaly detection. Existing methods have explored different techniques, including CNN, deep learning, and Transformers, for object detection and video classification. However, detecting tiny objects, e.g., guns, in videos remains challenging due to their small scale and varying appearances in complex scenes. Moreover, existing video analysis models for classification or detection often perform poorly in real-world gun detection scenarios due to limited labeled video datasets for training. Thus, developing efficient methods for effectively capturing tiny object features and designing models capable of accurate gun detection in real-world videos is imperative. To address these challenges, we make three original contributions in this paper. First, we conduct an empirical study of several existing video classification and object detection methods to identify guns in videos. Our extensive analysis shows that these methods may not accurately detect guns in videos. Second, we propose a novel two-stage gun detection method. In stage 1, we train an image-augmented model to effectively classify “Gun” videos. To make the detection more precise and efficient, stage 2 employs an object detection model to locate the exact region of the gun within video frames for videos classified as “Gun” by stage 1. Third, our experimental results demonstrate that the proposed domain-specific method achieves significant performance improvements and enhances efficiency compared with existing techniques. We also discuss challenges and future research directions in gun detection tasks in computer vision. Journal: Nuclear Physics B The traditional surveillance system primarily depends on human operators to analyze CCTV footage to detect such violence, which might lead to human error Goldmeier (2023) . Moreover, several other issues, e.g., boredom and biased profiling Surette (2005) , may deteriorate the effectiveness of this conventional system. In the real-world, gun detection in videos has been a highly critical task in the computer vision domain due to several factors, e.g., low video quality, small scale of gun objects, varying lighting conditions, similarity to other objects Leszczuk et al. (2024) , and lack of labeled video datasets to train the models effectively. Despite significant efforts, existing methods often struggle to achieve high detection accuracy, robustness, and generalize the performance in the real-world environment. The limitations of existing methods highlight the need for a more robust, accurate, and efficient solution to address the shortcomings of existing techniques in detecting guns in video footage, particularly in dynamic and challenging environments. Previous studies have explored various Artificial Intelligence (AI)-driven approaches to address this challenge. Most of the existing video analysis models (e.g., Tran et al. (2018) ; Tong et al. (2022) ; Kondratyuk et al. (2021) ; Arnab et al. (2021) ; Fan et al. (2021) ) are intended for video action recognition and have been evaluated on benchmark action recognition datasets, which may not be able to perform effective gun detection. Detection models, such as CNN Bhatti et al. (2021) , R-CNN Olmos et al. (2018) , faster R-CNN Alaqil et al. (2020) , and different versions of YOLO Warsi et al. (2019) ; Khin and Htaik (2024) are widely utilized for this task. Despite these advances, current methods may not identify guns accurately, particularly in scenarios involving low-quality video footage and unpredictable real-world conditions. Through a comprehensive empirical analysis of existing video action recognition solutions for the gun detection task, we have identified critical challenges and limitations. To address those problems, we propose a novel technique tailored towards efficient gun detection in videos. The key contributions of this work are as follows. 1. We empirically evaluated several state-of-the-art video action recognition models, including 3D CNN Tran et al. (2018) , pre-trained video models Kondratyuk et al. (2021) , Transformer-based models Tong et al. (2022) , hybrid architectures Xia et al. (2020) , and Video FocalNet Wasim et al. (2023) , for detecting guns in videos. Our analysis reveals that these models, despite their effectiveness in action recognition, fail to achieve high performance in gun detection. 2. We propose a two-stage gun detection method for videos. First, our method combines an image-augmented video classifier, which extracts gun spatial features from video frames, with a sequence model to handle temporal correspondence. Second, to enhance efficiency and accuracy, we incorporate an object detection model that locates the exact region of the gun within video frames for the videos classified as "Gun". 3. Our analysis investigates multiple application scenarios, including real-world contexts, and highlights the necessity of effective AI-driven methods for detecting guns in videos. Through empirical results, we illustrate that our proposed technique outperforms state-of-the-art methods, yielding significant improvements in both performance and efficiency for gun detection in videos. 4. Additionally, we highlight several key challenges and limitations of state-of-the-art gun detection techniques and discuss potential future research directions. 1 Motivation Shooting and gun violence have caused numerous fatalities and injuries almost every year in the last decade. In 2018 alone, there were more than 27 incidents of gun violence in the United States FBI (2018) . Apart from this, several other factors make detection more challenging. 1.1 Challenges of Human Monitored Surveillance Systems The efficacy of conventional surveillance systems is highly dependent on the human operator to monitor CCTV footage and respond to unusual events, such as gun violence. However, manually analyzing these videos may lead to human errors, specifically at late hours, and can cause delayed responses. Recently, several high-profile incidents of gun violence have occurred, despite the presence of CCTV surveillance and human monitoring, resulting in devastating consequences BBC (2016) . 1.2 Critical Aspects of Gun Detection Models in Videos The primary challenge lies in extracting spatial features of such a tiny object (i.e., a gun) from videos. Furthermore, several other factors make detection even more challenging, including variability in gun size and shape, poor video quality, occlusion, obstruction, and the presence of similar objects held at unusual angles. These factors can significantly degrade model performance Leszczuk et al. (2024) , leading to reduced accuracy, increased false positives, and challenges in feature extraction Aqqa (2019) . 1.3 Lack of Domain-specific Datasets and Models Existing approaches, such as 3D-CNN Hara et al. (2017) ; Karpathy et al. (2014) , MoViNets Kondratyuk et al. (2021) , VideoMAE Tong et al. (2022) , VideoFocalNets Wasim et al. (2023) , were primarily focused on action recognition, e.g., walking, playing, and jumping in videos. To evaluate these models, benchmark action recognition datasets or various sports classification datasets were used, e.g., the UCF101 action recognition dataset Soomro (2012) , kinetics human action video dataset Kay et al. (2017) , and Sports-1M Karpathy et al. (2014) . Therefore, there is a significant scarcity of comprehensive and labeled gun violence recognition and detection datasets within the literature. Consequently, a substantial research gap persists in developing a highly effective and efficient gun detection model, highlighting the need for further investigation in this critical area. To combat the above challenges, we perform an empirical study to evaluate the performance of several state-of-the-art video classification methods to detect guns in videos on a synthetic gun action recognition dataset Ruiz Santaquiteria et al. (2024) and

Read the complete text