Skip to main content
QUICK REVIEW

[Paper Review] CCTV-Gun: Benchmarking Handgun Detection in CCTV Images

Srikar Yellapragada, Zhenghong Li|arXiv (Cornell University)|Mar 19, 2023
Advanced Optical Sensing TechnologiesPhysics and Astronomy4 citations
TL;DR

This paper introduces CCTV-Gun, a benchmark for handgun detection in real-world CCTV images, featuring detailed annotations of handguns and their holders across three datasets (MGD, USRT, UCF). It proposes a cross-dataset evaluation protocol and evaluates state-of-the-art detectors, revealing that models fine-tuned on COCO pretraining outperform domain-specific pretraining on challenging low-resolution, occluded datasets like UCF.

ABSTRACT

Gun violence is a critical security problem, and it is imperative for the computer vision community to develop effective gun detection algorithms for real-world scenarios, particularly in Closed Circuit Television (CCTV) surveillance data. Despite significant progress in visual object detection, detecting guns in real-world CCTV images remains a challenging and under-explored task. Firearms, especially handguns, are typically very small in size, non-salient in appearance, and often severely occluded or indistinguishable from other small objects. Additionally, the lack of principled benchmarks and difficulty collecting relevant datasets further hinder algorithmic development. In this paper, we present a meticulously crafted and annotated benchmark, called extbf{CCTV-Gun}, which addresses the challenges of detecting handguns in real-world CCTV images. Our contribution is three-fold. Firstly, we carefully select and analyze real-world CCTV images from three datasets, manually annotate handguns and their holders, and assign each image with relevant challenge factors such as blur and occlusion. Secondly, we propose a new cross-dataset evaluation protocol in addition to the standard intra-dataset protocol, which is vital for gun detection in practical settings. Finally, we comprehensively evaluate both classical and state-of-the-art object detection algorithms, providing an in-depth analysis of their generalizing abilities. The benchmark will facilitate further research and development on this topic and ultimately enhance security. Code, annotations, and trained models are available at https://github.com/srikarym/CCTV-Gun.

Motivation & Objective

  • Address the lack of principled benchmarks for handgun detection in real-world CCTV imagery, where guns are small, occluded, and low-resolution.
  • Develop a comprehensive benchmark with fine-grained annotations of handguns, holders, and challenge factors (e.g., blur, occlusion) across three real-world datasets.
  • Propose a novel cross-dataset evaluation protocol to assess model generalization beyond standard intra-dataset testing.
  • Evaluate classical and state-of-the-art object detectors on the benchmark to analyze their robustness and performance under real-world challenges.
  • Provide code, annotations, and trained models to enable reproducibility and accelerate research in gun detection for public safety.

Proposed method

  • Curated and analyzed real-world CCTV images from three datasets: MGD (enacted scenes), USRT (real-time gun detection), and UCF (action recognition with crime scenes).
  • Manually annotated bounding boxes for persons, handguns, and handgun-holder pairs, with additional labels for challenge factors such as occlusion, blur, and similar objects.
  • Designed a dual evaluation protocol: intra-dataset (standard train/val/test split) and cross-dataset (train on two, test on the third) to assess generalization.
  • Fine-tuned models pre-trained on COCO and on gun-specific datasets (MGD+USRT) to evaluate whether domain-specific pretraining improves performance on unseen datasets.
  • Evaluated multiple state-of-the-art object detectors (e.g., YOLOv5, RetinaNet, Swin-T, ConvNeXt-T) under both standard and cross-dataset settings.
  • Annotated the test split with three challenge attributes (occlusion, blur, similar objects) to analyze model robustness under specific visual degradation.

Experimental results

Research questions

  • RQ1How do state-of-the-art object detectors perform on real-world CCTV images with small, occluded, and low-resolution handguns?
  • RQ2Does cross-dataset evaluation reveal significant differences in model generalization compared to standard intra-dataset evaluation?
  • RQ3Can models pre-trained on gun-specific datasets (MGD+USRT) outperform COCO-pretrained models when tested on diverse, real-world datasets like UCF?
  • RQ4How do specific challenge factors—occlusion, blur, and similar objects—affect detection performance across different models?
  • RQ5Which model architecture demonstrates the most robust performance under real-world visual degradation and small object conditions?

Key findings

  • Models trained on MGD+USRT performed poorly on UCF in cross-dataset evaluation, indicating limited generalization to low-resolution, real crime scene images.
  • Models trained on USRT+UCF achieved high performance on MGD, suggesting that clear, high-resolution images allow better transfer learning to simpler detection tasks.
  • Fine-tuning on COCO-pretrained models outperformed domain-specific pretraining on UCF, especially when the target dataset had high occlusion and low resolution.
  • ConvNeXt-T achieved the highest average precision across 4 out of 6 challenge categories (occlusion, blur, similar objects), demonstrating superior robustness.
  • The performance gap between models was most pronounced on UCF, where low-resolution and heavy occlusion significantly reduced detection accuracy.
  • Challenge-specific evaluation revealed that models with high intra-dataset AP scores were consistently more robust to occlusion, blur, and similar objects.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.