Introduction
Handgun detection in real-world surveillance is a critical yet notoriously difficult task. While general object detection has seen massive leaps in performance, detecting weapons in Closed Circuit Television (CCTV) remains an under-explored challenge. Most existing gun datasets rely on high-resolution stock photos or "mock" scenarios with actors, which fail to capture the messy reality of actual crime footage.
In real-world crime scenes, conditions are significantly worse than in laboratory settings. Handguns often occupy only a few pixels in a standard 320x240 frame, and a shooter’s hand frequently covers most of the weapon, leaving only a slender barrel visible. Furthermore, small, dark objects like cell phones or wallets are easily confused with handguns in low-light, blurry footage. This paper introduces CCTV-Gun, a meticulously annotated benchmark and a novel cross-dataset evaluation protocol designed to bridge this "generalization gap."
The CCTV-Gun Benchmark
The CCTV-Gun benchmark is composed of three distinct subsets, ranging from controlled environments to high-stakes real-world footage:
- Monash Gun Dataset (MGD): High-resolution (512x512) images of enacted scenes.
- US Real-time Gun Dataset (USRT): High-resolution (1920x1080) mock attack scenes.
- UCF-Crime: The "gold standard" for difficulty. These are real-world crime recordings at low resolution (320x240) with significant blur and occlusion.
By curating 7,767 images from these sources, the authors provide a consistent, high-quality manual annotation set that allows for rigorous testing across different visual domains.
Methodology and Rich Annotations
The authors tackle the limitations of previous research through a three-pronged approach. First, they provide Rich Annotations: beyond just bounding boxes for guns, they annotated the handgun-holder (the person) and the handgun-holder pair. This allows for future research into Human-Object Interaction (HOI) to improve detection by using the person's posture and context as a cue.
Second, they implemented Challenge-Factor Labeling. Each test image is tagged with specific attributes such as Blur, Occlusion, and Similar Objects. This granular labeling allows researchers to diagnose exactly why a model fails in specific scenarios.
Finally, the authors introduced Cross-Dataset Evaluation. Instead of standard intra-dataset testing (training and testing on the same distribution), they test a model's ability to generalize by training on "mock" data and testing on real-world crime footage from the UCF subset.
Key Results and Insights
The experimental results highlight a massive performance disparity between simulated and real-world data. On the easiest dataset (MGD), modern architectures like the Swin-Transformer achieved a high score of 91.7 AP. However, when those same models were tested on real UCF crime footage without fine-tuning, performance plummeted to as low as 3.7 AP. Even with training on MGD+USRT, the best model (Deformable DETR) only managed 11.7 AP on the UCF subset.
Several key insights emerged from this benchmarking:
- Context is a Lifeline: In many UCF images, the gun itself is nearly invisible. Detecting the person and their interaction with the object is crucial for reliable detection.
- Transformer Supremacy: Modern architectures like Swin-Transformer and ConvNeXt generally outperformed classical CNNs (like Faster R-CNN), particularly in handling the varied scales and textures of the CCTV-Gun benchmark.
- The "Mock" Data Trap: High performance on high-resolution mock datasets does not translate to real-world reliability. Models must be specifically evaluated against the low-resolution, high-occlusion conditions of actual CCTV.
Conclusion and Future Work
The CCTV-Gun benchmark reveals that current object detection models are not yet ready for reliable real-world handgun detection in surveillance. While the provided annotations for handgun-holder pairs offer a path forward via Human-Object Interaction (HOI) modeling, the domain gap between mock and real data remains a significant hurdle. Future work should focus on leveraging temporal information from video streams and developing more robust HOI-specific models to overcome the inherent visual ambiguities of CCTV footage.
Summary updated