Abstract
This paper presents a novel approach to real-time firearm detection using advanced YOLO models and a custom dataset derived from the Grand Theft Auto V (GTA V) video game. Our work encompasses three primary contributions: the creation of a unique dataset., the development of an effective detection model, and the implementation of a desktop application for real-time alerting. Firstly, we constructed a comprehensive dataset from GTA V to address the limitations of existing datasets, which often lacked modern scenarios and variety in firearm presentation. This dataset includes 2,300 images categorized by distance, firearm type, lighting conditions, and simulated security camera effects. The images underwent augmentation to reduce model overfitting and improve diversity. Our detection model leverages the YOLO architecture, with extensive experiments comparing YOLOv7, YOLOv8, and YOLOv10. YOLOv8 achieved the highest mean Average Precision (mAP50-95) of 0.70485, significantly outperforming YOLOv7 and YOLOv10. YOLOv7 and YOLOv8 were fine-tuned using weights from pre-trained models and adjusted hyperparameters to optimize performance. Additionally, we developed a desktop application to interface with security camera feeds. The application processes images to detect firearms and notifies operators with both auditory and visual alerts. It records incidents and provides tools for real-time crime detection, enhancing security measures. Our results in real-world simulated situations demonstrate the effectiveness of using a custom video game dataset and state-of-the-art YOLO models for accurate firearm detection in real-time applications. Future work will explore further refinements in detection accuracy and application robustness in diverse real-world environments.
| Original language | English |
|---|---|
| Title of host publication | Enterprise Information Systems - 26th International Conference, ICEIS 2024, Revised Selected Papers |
| Editors | Slimane Hammoudi, Alexander Brodsky, Joaquim Filipe, Michal Smialek |
| Publisher | Springer Science and Business Media Deutschland GmbH |
| Pages | 195-215 |
| Number of pages | 21 |
| ISBN (Print) | 9783032085696 |
| DOIs | |
| State | Published - 2026 |
| Externally published | Yes |
| Event | 26th International Conference on Enterprise Information Systems, ICEIS 2024 - Angers, France Duration: 28 Apr 2024 → 30 Apr 2024 |
Publication series
| Name | Lecture Notes in Business Information Processing |
|---|---|
| Volume | 566 LNBIP |
| ISSN (Print) | 1865-1348 |
| ISSN (Electronic) | 1865-1356 |
Conference
| Conference | 26th International Conference on Enterprise Information Systems, ICEIS 2024 |
|---|---|
| Country/Territory | France |
| City | Angers |
| Period | 28/04/24 → 30/04/24 |
UN SDGs
This output contributes to the following UN Sustainable Development Goals (SDGs)
-
SDG 16 Peace, Justice and Strong Institutions
Keywords
- Artificial vision
- Criminal activities
- Custom pistol video-game dataset
- Machine learning
- Real time detection
- Video surveillance systems
- YOLOV7
- YOLOv10
- YOLOv8
Fingerprint
Dive into the research topics of 'Real-Time Handgun Detection Using YOLO and a Custom Videogame Dataset'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver