Deep Learning-based Weapon Detection using Yolov8
Deep Learning (DL), a subset of Machine Learning (ML), has demonstrated remarkable success in image recognition and object detection tasks. This study presents a deep learning-based approach for offline weapon detection using the YOLOv8m architecture. A custom YOLO-formatted dataset was developed, comprising over 10,000 annotated images spanning two weapon categories: guns (all types of firearms) and knives (all types). The model achieved a Mean Average Precision ([email protected]) of 0.852. and [email protected]:0.95 of 0.622, with precision and recall scores of 0.89 and 0.80, respectively. The class-wise evaluation revealed strong detection across both weapons, with [email protected] of 0.871 for knives and 0.831 for guns. Despite occasional false positives and class confusion, the system shows promise for offline weapon detection tasks.
Authors
- Kifayat Ullah Bangash
- Farhan Akram (ORCID: https://orcid.org/0000-0003-4109-2645)
- Muhammad Kashif Khan (ORCID: https://orcid.org/0000-0002-8301-6790)
- Humayun Shahid (ORCID: https://orcid.org/0000-0003-4456-5524)
- Muhammad Shafi (ORCID: https://orcid.org/0000-0002-6667-576X)
- M. Shahzeb Khan Gul (ORCID: https://orcid.org/0000-0002-2679-9733)
- Bilal Ur Rehman
- Sara Fayyaz
Institutions
- University of Engineering and Technology Taxila (PK)
- University of Engineering and Technology Peshawar (PK)
Publication Details
- Journal
- International Journal of Innovations in Science and Technology
- Published
- 2025-06-30
- DOI
- https://doi.org/10.33411/ijist/20257212691280
- Citations
- 1
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 2.48