Gun Source and Muzzle Head Detection

Zhong Zhou, Isak Czeresnia Etinger, Florian Metze, Alexander G. Hauptmann, Alexander Waibel

Identifying the source of gunfire in real-world video footage is a critical task for law enforcement and humanitarian organizations. However, it is fraught with technical difficulties. Firearms are often small, moving, and captured in low-resolution, chaotic environments. Traditional object detection models frequently fail to identify the gun barrel directly. This paper presents a novel "sandwich" approach that leverages more detectable proxies—the shooter and the gun smoke—to triangulate the exact location of the muzzle head.

Methodology: The "Sandwich" Approach

The core innovation lies in bypassing direct detection of the tiny muzzle. Instead, the system identifies two larger, more distinct entities:

  1. Shooter Detection: Utilizing Mask R-CNN (Detectron), the system identifies humans in the frame. Humans are significantly larger and easier to track than firearms.
  2. Gun Smoke Detection: Using FlowNet 2.0, the system analyzes optical flow to detect the "cloud" of expanding gas. Even when smoke is visually subtle, its velocity creates a high-contrast signal in the flow field.
Triangulation of the muzzle head between the detected shooter and the gun smoke cloud.

By assuming the muzzle head lies on a straight line between the shooter and the center of the smoke cloud, the system can pinpoint the source of the shot. This process is triggered by audio temporal localization, which uses MFCC features and SVM classifiers to identify the specific 3-second window containing the gunshot. To handle noisy data, the authors employ Localized Self-Paced Reranking (LSPaR), a curriculum learning technique that prioritizes "clean" samples during training.

Data and Evaluation

The researchers tested their approach on diverse datasets, including 52.5 hours of footage from the conflict in Ukraine, gun range soundtracks, and urban noise recordings. A high-stakes test set of 15 segments with visible gunshots provided the ground truth for evaluation.

Examples of human detection using Mask R-CNN in complex, real-world environments.

Results and Discussion

The system was evaluated on its ability to detect the individual components of the "sandwich":

  • Gun Cloud (Smoke) Detection: 69.6%
  • Shooter Detection: 30.4%
  • Muzzle Head Detection: 21.7%

While these numbers may seem modest compared to standard computer vision benchmarks, they represent a significant advancement in the context of low-quality, real-world combat footage where manual analysis is often impossible. A primary challenge identified was the "Lying Flat" problem: standard human detectors struggle with shooters in prone or crouching positions, as training data typically emphasizes standing or sitting poses.

Conclusion

This research demonstrates that proxy-based geometric triangulation is a viable strategy for detecting small, high-velocity events in low-resolution video. Future work will focus on improving human detection in non-standard poses, refining geometric precision through vector analysis, and implementing camera motion compensation to handle shaky, handheld footage.

Summary updated

BibTeX
@inproceedings{zhou2020gun,
  author = {Zhong Zhou and Isak Czeresnia Etinger and Florian Metze and Alexander G. Hauptmann and Alexander Waibel},
  title = {{Gun Source and Muzzle Head Detection}},
  booktitle = {IMAWM},
  year = {2020},
  url = {https://openreview.net/forum?id=M2YndtwDsy},
}
Figure