EconPapers    
Economics at your fingertips  
 

Deep Learning-based Weapon Detection using Yolov8

Alysha Farhan,Muhammad Aftab Shafi,Marwa Gul1,Sara Fayyaz,Kifayat Ullah Bangash,Bilal Ur Rehman*, Humayun Shahid,Muhammad Kashif ()
Additional contact information
Alysha Farhan,Muhammad Aftab Shafi,Marwa Gul1,Sara Fayyaz,Kifayat Ullah Bangash,Bilal Ur Rehman*, Humayun Shahid,Muhammad Kashif: Department of Electrical Engineering,Faculty of Electrical and Computer Engineering, University of Engineering & Technology,Peshawar,Pakistan.Department of Telecommunication Engineering,University of Engineering & Technology, Taxila, Pakistan.

International Journal of Innovations in Science & Technology, 2025, vol. 7, issue 2, 1269-1280

Abstract: 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 (mAP@0.5) of 0.852. and mAP@0.5: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 mAP@0.5 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.

Keywords: Weapon detection; Deep Learning; Yolov8; Object Detection; Computer Vision (search for similar items in EconPapers)
Date: 2025
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
https://journal.50sea.com/index.php/IJIST/article/view/1425/1960 (application/pdf)
https://journal.50sea.com/index.php/IJIST/article/view/1425 (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:abq:ijist1:v:7:y:2025:i:2:p:1269-1280

Access Statistics for this article

International Journal of Innovations in Science & Technology is currently edited by Prof. Dr. Syed Amer Mahmood

More articles in International Journal of Innovations in Science & Technology from 50sea
Bibliographic data for series maintained by Iqra Nazeer ().

 
Page updated 2026-01-31
Handle: RePEc:abq:ijist1:v:7:y:2025:i:2:p:1269-1280