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.
Cite
CITATION STYLE
Farhan, A., Muhammad Aftab Shafi, M. A. S., Gul, M., Fayyaz, S., Bangash, K. U., Ur Rehman, B., … Khan, M. K. (2025). Deep Learning-based Weapon Detection using Yolov8. International Journal of Innovations in Science and Technology, 1269–1280. https://doi.org/10.33411/ijist/20257212691280
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.